java-stream-player
java-stream-player copied to clipboard
🌌Java Advanced Audio Controller Library (WAV, AU, AIFF, MP3, OGG VORBIS, FLAC, MONKEY's AUDIO and SPEEX audio formats )
Plus fixed a spelling error. The cycle is removed by - Make use of StreamPlayerInterface instead of StreamPlayer in StreamPlayerEvent - Stop sending the source as a part of the...
# Description A static creation method is moved from an interface to a new factory class, in order to break a dependency cycle. **What kind of change does this PR...
# Description The method was used in a unit test, as a means to test the StreamPlayer.seekTo() method, but it never worked. The StreamPlayer.getPositionByte() didn't seem to work. There are...
I have just tried a little, but it seems that seekSeconds doesn't work if the audio file is a flac file. https://github.com/goxr3plus/java-stream-player/blob/634c9912c38437285faf5644b4046bb5546db597/src/main/java/com/goxr3plus/streamplayer/stream/StreamPlayer.java#L715-L727 Part of the problem is in TimeTool.durationInMilliseconds_Part2(), where...
What is the purpose of Status.OPENING? It seems to be written to status, but never read. https://github.com/goxr3plus/java-stream-player/blob/7caf2f34fafd1504f25c9910750e841469f66a07/src/main/java/com/goxr3plus/streamplayer/stream/StreamPlayer.java#L333-L335 There seem to be three values in Status that are never used; neither...
If multiple audio files are opened and played, they play one after each other, but it freezes the program where actions like .stop(), etc can't be used, which is a...
# Description Related to #55 Re-assignment of audioInputStream removed by changing audioInputStream = AudioSystem.getAudioInputStream(targetFormat, audioInputStream); to assignment of a new variable. Variable name changes: Initial audioInputStream changed to encodedAudioInputStream audioInputStream...
I don't think it's needed. The player runs fine without it. The call() method of StreamPlayerEventLauncher gets called anyway. See also #49 .
https://github.com/goxr3plus/java-stream-player/blob/6a00a79f32bf324f7d6232182d93745da64bee0b/src/main/java/com/goxr3plus/streamplayer/stream/StreamPlayer.java#L1250-L1257 I can't see that this method has any side effect, desired or not. It copies an array passed to it, into a local variable, and when the method goes...