-
-
Notifications
You must be signed in to change notification settings - Fork 77
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
XNA_Song: Detect end-of-stream via the song length, not the decode le…
…ngth. This is important for songs that are _exactly_ X seconds, because the decode length will always be the buffer size, so it would never detect the end of the stream until it decoded exactly 0, which wouldn't trip a buffer submission and therefore FAUDIO_END_OF_STREAM would never get sent.
- Loading branch information
1 parent
0c7ee1c
commit e23e2c5
Showing
1 changed file
with
10 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters