sevengo8378 / as3wavsound

Automatically exported from code.google.com/p/as3wavsound
Other
0 stars 0 forks source link

Playing different audio streams #10

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Load 2 wave audio files and play them. The files should have around 5-10 
seconds, to have time to notice the problem.

What is the expected output? What do you see instead?
I taught that the files will be played one after another, but unfortunately 
they are played asynchronous, and you can hear both of them at the same time.

What version of the product are you using? On what operating system?
0.8

Is it possible somehow to synchronize the files to be played one after another 
??

Original issue reported on code.google.com by medvedis...@gmail.com on 29 Sep 2011 at 6:40

GoogleCodeExporter commented 9 years ago
Why do you expect this behavior? As far as I can tell, Adobe's Sound and 
SoundChannel classes behave the same way. Timing sounds will have to be done by 
yourself. But there is some help there.

A WavSoundChannel, when at the end of playing (inluding all loops), will fire 
an Event.SOUND_COMPLETE event. Listening to that you know when a sound channel 
completed playing a sound.

Original comment by b.bottema on 14 Aug 2012 at 1:43

GoogleCodeExporter commented 9 years ago
Yes, tx, actualy i did in the same way you explained here and it worked. I just 
didn't updated the issue after reported it. 

Original comment by medvedis...@gmail.com on 15 Aug 2012 at 9:49