Hi Jesper,
Thanks for reaching out. The links page on the FLAC website needs some
pruning. I'm afraid there are a lot of dead links there. I can include
your effort here as a library wrapper though:
https://github.com/ietf-wg-cellar/flac-specification/wiki/Implementations
Anyway, nice to see that libFLAC can be used for Java. As far as I am
aware, libFLAC was only available for Java through Exoplayer, and I'm
not sure whether that works outside of an Android environment. There
is a native FLAC encoder and decoder implementation though:
https://github.com/nayuki/FLAC-library-Java That might not be as
feature complete as libFLAC though, I haven't tried.
Kind regards, Martijn van Beurden
Op wo 12 apr 2023 om 08:35 schreef Jesper Larsson (njlarsson)
<njlarsson at avadeaux.net>:>
> Hello, I joined because this list is the preferred method of communication
according to web site, and I would like to tell you about something I've
been working with that perhaps you would like to include among the links on the
FLAC web site?
>
> Since 2014, I have a system that runs as a service on a computer connected
to my stereo to play FLAC files, exposing a web interface for playback control.
I created it for my personal use, but have lately made it more streamlined and
configurable to make possible for others to use.
>
> The system includes a FLAC decoding and playing program of my own, because
the player utilities I could find did not live up to my standards (the main
problem being that they didn't cache data from the next track until the
current one had stopped playing, which created annoying gaps between tracks,
especially when playing from a disk that was NFS mounted over wifi). I wrote
this in Java, first using jFLAC for FLAC decoding, but a couple of years ago I
switched to using the actual libFLAC to get the full power of it, invoking it
through JNI (the Java native interface), meaning that I had to put a little bit
of C code as a bridge between Java and libFLAC.
>
> I put a blog post about FLAC decoding in Java on my website, and a few
months ago I noticed that most of the visitors on the site came because they had
searched for that topic. I thought that maybe I should make it easier for people
who want to do this, so when I did some refactoring recently I made a separate
package for just the FLAC decoding, with the Java interface improved, and put it
into its own tarball with simplified instructions.
>
> If you are interested, the website is https://klipspringer.avadeaux.net/
and the page specifically about the FLAC decoding package is
https://klipspringer.avadeaux.net/guide/flac-decoding/
>
> J.
>
>
> _______________________________________________
> flac-dev mailing list
> flac-dev at xiph.org
> http://lists.xiph.org/mailman/listinfo/flac-dev