cplusplus
.com
TUTORIALS
REFERENCE
ARTICLES
FORUM
C++
Tutorials
Reference
Articles
Forum
Forum
Beginners
Windows Programming
UNIX/Linux Programming
General C++ Programming
Lounge
Jobs
Forum
Windows Programming
play songs in background
play songs in background
Dec 9, 2014 at 6:31am UTC
N10
(10)
i was trying to make a game where i nedd to play a song during the game play
I use playsound() function but each time ,
on each iteration it starts from the beginning of the song.
PlaySound(TEXT(
"C:\\Users\\ANSYS\\Desktop\\Knockouts.wav"
), NULL,SND_ASYNC|SND_FILENAME|SND_LOOP);
this is how my code looks !
can any one fix this problem for me
Dec 28, 2014 at 2:40am UTC
jetz5
(13)
Maybe this might help:
http://stackoverflow.com/questions/8804880/use-playsound-in-c-opengl-to-play-sound-in-background
Topic archived. No new replies allowed.