View Issue Details

IDProjectCategoryView StatusLast Update
0028890RunnerAudioPublic2018-06-22 10:50
ReporterSam CummingAssigned ToRussell Kay 
PriorityLowSeverityC - GeneralReproducibility100%
Status ResolvedResolutionFixed 
Product Version2.1.3 
Target Version2.1.5Fixed in Version2.1.5 
Summary0028890: Audio: Compressed audio files are detected as playing when game restarts
DescriptionIf 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 Reproduce1. 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.
TagsNo tags attached.
1.4 Found In1.4.17
2.x Runtime Found In2.1.3.189
2.x Runtime Verified In

Activities

Russell Kay

2018-05-16 14:34

Manager   ~0059747

Fixed in gitlab