Problem Description
audio playback time is not updated when playing the second music with the same audio tag after the first music has already stopped.
Attach a Capx
https://www.mediafire.com/?oks90u0lr040tlo
Description of Capx
The capx has all the events to reproduce this bug.
Press Q to play music 1.
Press W to play music 2.
Press E to play music 3.
All musics are played with tag "music".
Press S to stop tag "music".
Steps to Reproduce Bug
- Press Q to play music 1.
- Now, press S to stop.
- Press W to play music 2.
- You will see that the Audio.PlaybackTime("music") is frozen, when music 2 is playing.
Observed Result
After playing and stopping music 1, Audio.PlaybackTime("music") is frozen when music 2 or 3 is played. However, if we stop and play music 1 again, Audio.PlaybackTime("music") will yield correct result, start counting from 0. Only the first music played can retrieve the playback time from Audio.PlaybackTime("music").
Expected Result
Audio.PlaybackTime("music") should return playback time of the new playing music, given that the previous music has already stopped.
Affected Browsers
Operating System and Service Pack
Win7 64 bits
Construct 2 Version ID
r173