Searching \ for '[OT] wav-files via the PC sound card' in subject line. ()
Make payments with PayPal - it's fast, free and secure! Help us get a faster server
FAQ page: www.piclist.com/techref/io/audio.htm?key=sound
Search entire site for: 'wav-files via the PC sound card'.

Exact match. Not showing close matches.
PICList Thread
'[OT] wav-files via the PC sound card'
2000\02\07@174506 by Bill Pierce

picon face
<x-flowed>It's pretty easy as long as you know the filename of the wav file. Just call

BOOL PlaySound(
 LPCSTR pszSound,
 HMODULE hmod,
 DWORD fdwSound
);

BOOL result = PlaySound("C:\\TestSound.wav", NULL, SND_FILENAME);


The file format of uncompressed wave files is pretty simple and you can find
the documentation on microsofts site.

Bill


{Quote hidden}

______________________________________________________
Get Your Private, Free Email at http://www.hotmail.com

</x-flowed>

2000\02\07@175723 by Bill Pierce

picon face
<x-flowed>Actually if you call PlaySound with a non-existant sound file it will stop
the currently playing sound.

Bill


{Quote hidden}

______________________________________________________
Get Your Private, Free Email at http://www.hotmail.com

</x-flowed>

More... (looser matching)
- Last day of these posts
- In 2000 , 2001 only
- Today
- New search...