The package provides Go bindings for ALAC decoder (Apple version)
go get github.com/AlbanSeurat/galac
Inspired from alac-go there is a sample program to test that ALAC are well played using via portaudio-go. You can download free samples m4a files on hyperion-records.
As there is some cpp file, you have to build first the static library for ALAC and then the go binary
cd alac/codec
make
cd -
go build
galac -f [filename.m4a]
- Automate the build of the library from go
- Remove output buffer as input in Decode function
- Change portaudio binding to remove c-for-go dependency
- Improve main program to not leak and show a progress