View Issue Details
|ID||Project||Category||View Status||Date Submitted||Last Update|
|0023441||Runner||[All Projects] Functions||Public||2016-08-30 14:21||2021-08-06 16:30|
|Reporter||Georgy Kolotov||Assigned To||CoreTech|
|Priority||Medium||Severity||C - General||Reproducibility||<25%|
|Target Version||Fixed in Version|
|Summary||0023441: Functions: audio_is_playing does not return correct value for .mp3 files|
|Description||If a .mp3 sound is played using audio_play_sound the line 'while (audio_is_playing(sound))' will result in an infinite loop.|
If the same code is used but the .mp3 is changes for a .wav, the code runs without entering an infinite loop.
|Steps To Reproduce||Run the attached .gmz|
Wait until the initial sound has played
Click on the Wav button
Notice that the audio plays, the button moves and the audio plays a second time.
Notice that the compile window changes from "Still playing # 2" to "Done Playing # 2" (show_debug_message)
Click on the MP3 button
Notice that the audio plays but the button doesn't move
Notice that the compile window messages do not change from "Still playing # 2"
|Additional Information||Original helpdesk ticket: http://help.yoyogames.com/tickets/110543|
|1.4 Found In||1.4.1757|
|2.x Runtime Found In|
|2.x Runtime Verified In|
110543.gmz (302,668 bytes)
||Something odd is going on here... but I think it is something to do with the old action_sound function and how the sound is starting|
Have moved to the current bug database now, as still happens in v2.3.3.