goxr3plus / goxr3plus/java-stream-player

bug in the mark of TAudioFileReader

Open
#83 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Java
Stars
158
Forks
36
PR merge metrics
No merged PRs in 30d

Description

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`.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.