CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 4 of 4
  1. #1
    Join Date
    Apr 1999
    Posts
    6

    Playing snd file

    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?


  2. #2
    Join Date
    May 1999
    Posts
    7

    Re: Playing snd file

    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


  3. #3
    Join Date
    Apr 1999
    Posts
    6

    Re: Playing snd file

    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.


  4. #4
    Join Date
    May 1999
    Posts
    7

    Re: Playing snd file

    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


Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured