Skip to content

bug in the mark of TAudioFileReader #83

@Kizzzy

Description

@Kizzzy

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions