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 )
reset() is a public method. If it's called when the player is playing, it seems to not return. I cannot really see what is executing when I run the test...
Title summarizes it. Wondering if this project implements some sort of AIFF format decoder.
This looks a bit weird in my eyes https://github.com/goxr3plus/java-stream-player/blob/6a00a79f32bf324f7d6232182d93745da64bee0b/src/main/java/com/goxr3plus/streamplayer/stream/StreamPlayer.java#L506-L507 audioInputStream is a field which is given a value in initAudioInputStream() https://github.com/goxr3plus/java-stream-player/blob/6a00a79f32bf324f7d6232182d93745da64bee0b/src/main/java/com/goxr3plus/streamplayer/stream/StreamPlayer.java#L330-L331 Then it is redefined, i.e., it loses its old...
https://github.com/goxr3plus/java-stream-player/blob/d32a46a1f7d105a2c5350ae5bd04fdc1edd47baa/src/main/java/com/goxr3plus/streamplayer/stream/StreamPlayer.java#L121 This object is never written, but it's read at a few places. I think the intention might have been to assign it to the result of https://github.com/goxr3plus/java-stream-player/blob/d32a46a1f7d105a2c5350ae5bd04fdc1edd47baa/src/main/java/com/goxr3plus/streamplayer/stream/StreamPlayer.java#L577 For usages...
Can you please explain a bit how this works: https://github.com/goxr3plus/java-stream-player/blob/d32a46a1f7d105a2c5350ae5bd04fdc1edd47baa/src/main/java/com/goxr3plus/streamplayer/stream/StreamPlayer.java#L206-L224 From what I understand, there is a StreamPlayerEventLauncher task which holds information about source, player position, a list of listeners...
The cal() method seems to be at the core of StreamPlayer, and it's the one I really want to understand. How often is it called? Can you tell me the...
Here is the project => http://xtrememp.sourceforge.net/ These guys have taken StreamPlayer and boosted it's performance , actually they are not using synchronized locks as we do and they are having...
As it was, the field future was always null, and therefore the method awaitTermination() didn't do anything. So I removed awaitTermination() and the future field. They were not used, therefore...
The description claims that java-stream-player supports ogg, flac, speex and other formats. How does that happen? I have searched for the word flac in the code, but haven't found it....
Here are some things I have thought about, in no particular order. - No public fields. This will improve testability. - More use of dependency injection, less creation of objects...