|
-
Apr 3rd, 2005, 04:11 PM
#1
Thread Starter
Hyperactive Member
sound
how can i put non beep sound in my program
It's not just Good, It's Good enough!
Spelling Eludes Me
-
Apr 3rd, 2005, 04:14 PM
#2
-
Apr 3rd, 2005, 04:17 PM
#3
Thread Starter
Hyperactive Member
Re: sound
i want to make it so that when i shoot a machine gun, i can hear a machine gun sound which i already have saved on my computer
It's not just Good, It's Good enough!
Spelling Eludes Me
-
Apr 3rd, 2005, 04:23 PM
#4
-
Apr 3rd, 2005, 04:52 PM
#5
Re: sound
If you want to play only one sound without any mixing of two or more sounds, then the sndPlaySound API will be sufficient enough.
However, if you want to play more than one sound at the same time or play music with sounds going on at the same time, use DirectX's DirectSound for the wav's and DirectShow for the mp3's. You can even do 3D directional sound too. 
You can find the DirectSound stuff here:
http://externalweb.exhedra.com/Direc...TUT_DX8_DA.asp
and the DirectShow stuff here:
http://externalweb.exhedra.com/Direc...TUT_DX8_DS.asp
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|