java-stream-player
java-stream-player copied to clipboard
bug in the mark of TAudioFileReader
In StreamPlayer#initAudioInputStream, first get audioInputStream and second get audioFileFormat
If the TAudioFileReader#m_bRereading is false, first get audioInputStream will set the mark of the InputSteam to a non-zero value,then second get audioFileFormat will throw UnsupportedAudioFileException, because the pos of the InputStream has been set to the mark.