View Issue Details
|ID||Project||Category||View Status||Date Submitted||Last Update|
|0028890||Runner||Audio||Public||2018-02-13 15:07||2018-06-22 10:50|
|Reporter||Sam Cumming||Assigned To||Russell Kay|
|Priority||Low||Severity||C - General||Reproducibility||100%|
|Target Version||2.1.5||Fixed in Version||2.1.5|
|Summary||0028890: Audio: Compressed audio files are detected as playing when game restarts|
|Description||If you use compressed audio in your game and use game_restart() to restart your game, the audio will still be detected as playing, even though it isn't.|
audio_is_playing() will read your sound as playing if it's called right at the start of the game.
Uncompressed audio is not affected by this, only compressed audio shows this behaviour.
See the attached sample, where the audio is set to compressed. The audio will play initially, and should play upon restarting. However, if you press R to restart, the audio will not play as the audio_is_playing() check in Room Start detects that the audio is still playing.
|Steps To Reproduce||1. Open the attached sample.|
2. Open mAnnoyedGrunt, confirm that it is playing Compressed.
3. Run the project on Windows.
4. Listen as the audio plays.
5. Press R.
6. Listen as no audio plays.
7. Set the audio file to play Uncompressed.
8. Repeat 3 - 5.
9. Listen as audio is played as expected.
|Tags||No tags attached.|
|1.4 Found In||1.4.17|
|2.x Runtime Found In||184.108.40.206|
|2.x Runtime Verified In|