go-miniflac <https://github.com/cowork-ai/go-miniflac> is a Go binding for the miniflac <https://github.com/jprjr/miniflac> C library. The following is the miniflac description from its author, @jprjr <https://github.com/jprjr>.
> A single-file C library for decoding FLAC streams. Does not use any C library functions, does not allocate any memory. go-miniflac has a very simple interface <https://github.com/cowork-ai/go-miniflac?tab=readme-ov-file#interface>, one function and one struct, and has zero external dependencies. However, Cgo must be enabled to compile this package. One example <https://github.com/cowork-ai/go-miniflac?tab=readme-ov-file#examples> is provided: converting a FLAC file to a WAV file using go-audio/wav <https://github.com/go-audio/wav>. Additionally, a Dockerfile example <https://github.com/cowork-ai/go-miniflac/blob/main/Dockerfile> is available that demonstrates how to use `golang:1.25-bookworm` and `gcr.io/distroless/base-debian12` to run go-miniflac with Cgo enabled. Check out the GitHub repository at https://github.com/cowork-ai/go-miniflac for more details. * FLAC <https://xiph.org/flac/> stands for Free Lossless Audio Codec, an audio format similar to MP3, but lossless, meaning that audio is compressed in FLAC without any loss in quality. -- You received this message because you are subscribed to the Google Groups "golang-nuts" group. To unsubscribe from this group and stop receiving emails from it, send an email to golang-nuts+unsubscr...@googlegroups.com. To view this discussion visit https://groups.google.com/d/msgid/golang-nuts/7957eccd-7a70-4961-a3c0-bcd807f8b3b3n%40googlegroups.com.