Click to See Complete Forum and Search --> : Playing snd file


Minsu,Yun
May 12th, 1999, 09:29 PM
I must playing *.snd file.(snd seems to be Mac or Unix sound file format.)
Is it possible by VC++?
What API must I use for that purpose?

hiran
May 18th, 1999, 03:31 PM
If it's a UNIX sound, rename the file to *.au and double-click it. At least my windows is able to play Sun Audio Format.

If it doesn't, maybe you need the Audio Compression Manager. But I have not found out how it works....

Hiran

Minsu,Yun
May 18th, 1999, 06:23 PM
Hiran,
Thanks for your response, but I want to know something more than what you said.
In my windows 98, double clicking *.snd file makes Mediaplayer play that voice file.
I want to know whether there is any API to play snd file or not,
for I must play snd file in my program.

hiran
May 19th, 1999, 12:04 PM
We both have exactly the same problem. Mine is with ADPCM4 sound data I get from a unix host and I don't know how to play it.

What I found out so fas is there is a function called PlaySound, but I'm not sure what formats it can handle.

There also is an Audio Conversion Manager (ACM) which can convert to/from audio formats as listet in the Control Panel/Multimedia applet.

Do you know how to use them?

Hiran