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.
In
StreamPlayer#initAudioInputStream, first getaudioInputStreamand second getaudioFileFormatIf the
TAudioFileReader#m_bRereadingisfalse, first getaudioInputStreamwill set themarkof theInputSteamto anon-zerovalue,then second getaudioFileFormatwill throwUnsupportedAudioFileException, because theposof the InputStream has been set to themark.