View Issue Details

IDProjectCategoryView StatusLast Update
0031620RunnerAudioPublic2020-02-13 17:24
ReporterDanAssigned ToMike Rennie 
PriorityMediumSeverityC - GeneralReproducibility100%
Status AssignedResolutionOpen 
Platform-OSWindows 10OS Version1909
Product Version2.2.5 
Target VersionFixed in Version 
Summary0031620: Audio: Differences in audio_sound_set_track_position() behaviours between Windows and HTML5
DescriptionThe attached sample shows there are a couple of differences in audio_sound_set_track_position() behaviours between Windows and HTML5, and neither platform works as documented in the manual.

On Windows, calling audio_sound_set_track_position() before audio_play_sound() will have no effect. However, calling this function immediately after audio_play_sound() works fine.

On HTML5, calling audio_sound_set_track_position() before audio_play_sound() will affect the sound correctly when it is played. However, calling this function after immediately audio_play_sound() will result in two copies of the sound being played - one at the correct offset and one from 0.0.
Steps To Reproduce1. RUn the attached sample on both platforms mentioned above.
2. Click anywhere to start the sound each time.
3. Observe the issues described above / documented in the comments.
Repro: 100%
TagsNo tags attached.
1.4 Found In
2.x Runtime Found In2.2.5.378
2.x Runtime Verified In

Activities

Dan

2020-02-13 09:35

Adminstrator  

bug-html5-audio_sound_set_track_position.yyz (5,104,189 bytes)