Play Sound (WINDOWS)

Asked

Viewed 509 times

4

How do I play sound in a program developed in the C/C language++? Environment ()

1 answer

4


The function Playsound plays a sound specified by the given file name. take a look at MSDN data for better information -> Playsound MSDN

Example:

PlaySound(TEXT("HYPNOS_BGM\\new_connection.wav"), NULL, SND_SYNC);

Browser other questions tagged

You are not signed in. Login or sign up in order to post.