Go bindings for decoding and encoding FLAC audio with libFLAC. Fork of https://github.com/cocoonlife/goflac
6225341041
Go 1.6 does not allow us to pass go pointers into C that will be stored and¬ used in callbacks and suggests we use a value lookup for pointer callbacks.¬ https://github.com/golang/proposal/blob/master/design/12416-cgo-pointers.md¬ Fixes 'panic: runtime error: cgo argument has Go pointer to Go' in tests. |
||
---|---|---|
testdata | ||
callbacks.c | ||
libflac.go | ||
libflac_test.go | ||
LICENSE | ||
README.md |
Go libFLAC bindings
These bindings allow decoding and encoding of FLAC format audio data from Go using the libFLAC library.
Installation
go get github.com/cocoonlife/goflac
Status
The code has support for decoding and encoding with various parameters however it is only quite lightly tested so it is likely that bugs remain.