0

Hi I'm trying to play a WAV file. I have used the following code...

PlaySound("C\Sounds\GAME_OVER.WAV",NULL,SND_ASYNCH);

I get the following

Error	7	error C2065: 'SND_ASYNCH' : undeclared identifier	c:\Users\Chris\Desktop\Pacman\v1.0\Pacman\Pacman.cpp	65

I have also tried...

PlaySound (TEX("\\SOUNDS\\GAME_OVER.WAV"), NULL, SND_SYNC | SND_NODEFAULT);

With this i get no sound or windows default sound

Please help :)

Edited by El3et: n/a

2
Contributors
1
Reply
2
Views
6 Years
Discussion Span
Last Post by helsing1989
-2

That is a very bad problem, let me tell this to my friends and maybe they have the answer and I tell you later, thanks for sharing.

This question has already been answered. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.