Skip to content

umjammer/vavi-sound-flac

ย 
ย 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

84 Commits
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

Release Java CI CodeQL Java Parent

vavi-sound-flac

FLAC logoCC BY 3.0 and revised BSD

Pure Java FLAC decoder (Java Sound SPI) powered by JustFlac

Install

References

Usage

    AudioInputStream ais = AudioSystem.getAudioInputStream(Paths.get(flac).toFile());
    Clip clip = AudioSystem.getClip();
    clip.open(AudioSystem.getAudioInputStream(new AudioFormat(44100, 16, 2, true, false), ais));
    clip.loop(Clip.LOOP_CONTINUOUSLY);

TODO

  • rename project into vavi-sound-flac

Original

Welcome to JustFLAC

What the heck?

It isn't a fish, it's just a fork of the popular jFLAC decoder.

Install

https://jitpack.io/#drogatkin/JustFLAC

Why fork jFLAC?

jFLAC hasn't been updated in a long time and does not support certain formats like 24-bit/192kHz. The decoder also has a few minor bugs. So this project adds support for a new format extension and fixes some bugs.

JustFLAC is already used in MediaChest and Music-Barrel (Java programs) giving life to audiophile quality formats previously supported only by Foobar and DeaDBeeF (C programs).

Where to find the FLAC standard?

Follow the link.