Thread: multiple sound files .. stuck

  1. #1
    cheekymeeky
    Guest

    Unhappy multiple sound files .. stuck

    i wanna play multiple sound files in a row,so i want that when one ends playing the other automatically start, how do i do this.

    i cant' figure it out, if i say sndPlaySound(...., SND_ASYNC), the previous sound stops in middle and the next starts play,

    and if i say sndPlaySound(..., SND_NOSTOP) it just returns a false, and if i use a loop to wait for TRUE then my program just freezes until the sound finishes so i can't use my program meanwhile.

    can i play them one after another automatically ? many many thankx!

  2. #2
    Pygmy Monkey ErionD's Avatar
    Join Date
    Feb 2002
    Posts
    408
    whats the sndPlaySound() for?
    I've only used PlaySound() and i think that stuff works there

  3. #3
    Unregistered
    Guest
    PlaySound() does the same as sndPlaySound() is just a bit advanced. but my problem is that when i start playing another file the previous one stops. i want that firt it waits for the previous to finish than start the new one.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. header files and multiple files
    By Dedalus in forum C Programming
    Replies: 5
    Last Post: 06-16-2009, 09:21 AM
  2. Replies: 5
    Last Post: 02-25-2008, 06:35 AM
  3. Multiple Cpp Files
    By w4ck0z in forum C++ Programming
    Replies: 5
    Last Post: 11-14-2005, 02:41 PM
  4. copy multiple files to a destination file
    By Bones in forum C++ Programming
    Replies: 2
    Last Post: 10-02-2003, 10:47 AM
  5. anyone know how to upload long sound files into a program?
    By Golden Bunny in forum C++ Programming
    Replies: 18
    Last Post: 04-11-2002, 02:21 PM