Very simple question from a newbie...
How do you set up a play sound funtion to play a repeat a wave file without affectig the program. I would like my program to play a sound file called pacman.wav over and over again as the music. It is in a folder called "Data"... Thanks!
sndPlaySound
DirectSound
To the vast majority of mankind, nothing is more agreeable than to escape the need for mental exertion... To most people, nothing is more troublesome than the effort of thinking.
DirectSound
To the vast majority of mankind, nothing is more agreeable than to escape the need for mental exertion... To most people, nothing is more troublesome than the effort of thinking.
To the vast majority of mankind, nothing is more agreeable than to escape the need for mental exertion... To most people, nothing is more troublesome than the effort of thinking.
Thanks, but, I put this in, but now my program is so incredibly slow it won''t even work. Please help!
sndPlaySound("Data/pacman.wav" , SND_LOOP);
sndPlaySound("Data/pacman.wav" , SND_LOOP);
sndPlaySound("Data/pacman.wav" , (SND_LOOP | SND_ASYNC));
if the performance is not adequate then you will look into DirectSound. unfortunately, i will not be able to teach you DirectSound. the link above should provide information as well as searching gamdev.
To the vast majority of mankind, nothing is more agreeable than to escape the need for mental exertion... To most people, nothing is more troublesome than the effort of thinking.
if the performance is not adequate then you will look into DirectSound. unfortunately, i will not be able to teach you DirectSound. the link above should provide information as well as searching gamdev.
To the vast majority of mankind, nothing is more agreeable than to escape the need for mental exertion... To most people, nothing is more troublesome than the effort of thinking.
To the vast majority of mankind, nothing is more agreeable than to escape the need for mental exertion... To most people, nothing is more troublesome than the effort of thinking.
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement
Recommended Tutorials
Advertisement