Go bindings for decoding and encoding FLAC audio with libFLAC. Fork of https://github.com/cocoonlife/goflac
Go to file
Mark Pitchless 6225341041 Pointer map for callbacks, make go1.6 happy
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.
2016-02-09 17:23:55 +00:00
testdata Rename data to testdata 2015-05-12 16:54:10 +01:00
callbacks.c Rename cfuncs.go to callbacks.c 2015-10-15 17:53:51 +01:00
libflac.go Pointer map for callbacks, make go1.6 happy 2016-02-09 17:23:55 +00:00
libflac_test.go Rename data to testdata 2015-05-12 16:54:10 +01:00
LICENSE Initial commit 2015-03-05 11:09:17 +00:00
README.md Initial commit 2015-03-05 11:09:17 +00:00

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.