Advertisement

Playing multiple soundfiles

Started by May 04, 2001 09:40 AM
1 comment, last by Lalle 23 years, 9 months ago
How can you play different soundfiles at the same time? ie. -play continously background music -play a shoot-sound while you play the background music thanks Lalle
It depends on what platform you''re programming on..

Depending on the platform, there may be one or more audio api''s available(like directsound or openal), or you might hit the hardware directly..

How are you playing single sounds?

"Like all good things, it starts with a monkey.."
"Like all good things, it starts with a monkey.."
Advertisement
I''m currently using the win32 PlaySound() function
I''d like to avoid any use of DirectX for now.

If it doesn''t work with PlaySound(), is there any other function or procedure to do this?

This topic is closed to new replies.

Advertisement