-
Notifications
You must be signed in to change notification settings - Fork 345
Popping when playing multiple sounds #15
Comments
Same problem experienced by pwightman:
|
I have a hacky fix. I found that the pop occurs when alSourceStop(source) occurs. Pausing the sound does not cause a pop but you must pause the sound before the sound ends naturally and call the play function again to get the sound to the rest. so I have
and when I stop the sound now I call.
This plays the sound from the start and pauses it instantly. When I play the sound again there are no pops. Nick |
Nick, thanks for the info! I’ll leave the issue open until it’s fixed here on GitHub. (Not sure when I’ll have the time yet.) |
Hey Zoel,
I've been trying to go off of your Finch Code to play multiple sounds at the same time. If the first sound is playing a pop occurs when the second sound begins which I think is a result of the sound not being preloaded to a buffer. I found some other source codes for openal around the web but they negate the ease of Finch.
here is how I create and play the sounds
also in Sound.m I tried commenting out the stop.
This eliminates the pop from the sounds if the sound is currently playing.
I hope that kind of makes sense. The pop occurs when a sound goes from a non playing state to a playing state while the other sound is playing.
Any advice would be appreciated. I'm been on this thing for weeks now.
Thanks,
Nick
The text was updated successfully, but these errors were encountered: