Playing two sounds at the same time.
Im using DirectX 8.0 and want to be able to play more than one sound at the same time. I''ve run into a problem when trying to do this because when i call a function that plays a sound, and call it again, the first sound stops and the second one takes over. How do I overcome this?
Set the dwFlags argument of your call to PlaySegment to
DMUS_SEGF_SECONDARY . Does that help? Or are you using Direct Sound?
-Forcas
"Elvis is alive. He is Barney the purple dinosaur. He is the pied piper that leads our children into the wages of sin and eternal damnation."
DMUS_SEGF_SECONDARY . Does that help? Or are you using Direct Sound?
-Forcas
"Elvis is alive. He is Barney the purple dinosaur. He is the pied piper that leads our children into the wages of sin and eternal damnation."
Sweet. You''re the first person I''ve helped on these message boards. It''s hard to help people, because questions usually get answered a few minutes after they''re posted.
-Forcas
"Elvis is alive. He is Barney the purple dinosaur. He is the pied piper that leads our children into the wages of sin and eternal damnation."
-Forcas
"Elvis is alive. He is Barney the purple dinosaur. He is the pied piper that leads our children into the wages of sin and eternal damnation."
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement