java-stream-player icon indicating copy to clipboard operation
java-stream-player copied to clipboard

bug in the mark of TAudioFileReader

Open Kizzzy opened this issue 4 months ago • 0 comments

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.

Kizzzy avatar Sep 05 '25 15:09 Kizzzy