Fraunhofer LC3plus Codec for Java
- create libLC3plus.dylib ... https://github.com/bluekitchen/libLC3plus
- maven ... https://jitpack.io/#umjammer/vavi-sound-lc3
- jvm option
-Djna.library.path=/dir/to/dylib
AudioInputStream ais = AudioSystem.getAudioInputStream(Files.newInputStream(Paths.get(lc3)));
Clip clip = AudioSystem.getClip();
clip.open(AudioSystem.getAudioInputStream(new AudioFormat(44100, 16, 2, true, false), ais));
clip.loop(Clip.LOOP_CONTINUOUSLY);
- https://github.com/bluekitchen/libLC3plus
- https://github.com/xiaojsoft/lc3codec.js
- https://github.com/google/liblc3
- https://kamedo2.hatenablog.jp/entry/2022/06/29/022100
- research difference between
NativeLong
andPointerByReference
at method argument- this time
NativeLong
works well andPointerByReference
does not
- this time
- pure java version from google's