I've added flac in my copy of buildroot and would appreciate if this new package could be included upstream.
Created attachment 57 [details] tar archive with files added in package/multimedia/flac
Created attachment 59 [details] patch to enable the gstreamer flac plug-in
Created attachment 61 [details] libsndfile does not seem to like the current version of flac, so disable flac support in libsndfile
Thanks, I'm looking into it now. Please provide a bit more details about flac-1.2.1-bitreader-optimizations.patch - Where does it come from? Is it submitted / accepted upstream? What is the impact of (not) including it?
Perhaps just omit it for now. It was an attempt to fix a problem that later turned out to be a problem in the toolchain. I will run some benchmarks when I find time for it and if the patch turns out to be a significant improvement, I will open another bug report for it.
Thanks, applied libflac and gstreamer patches. I've updated libsndfile so it builds with libflac instead of your workaround.