Thread: MCI - multiple samples at once

  1. #1
    Registered User
    Join Date
    Jul 2002
    Posts
    32

    MCI - multiple samples at once

    I think it is possible, but using MCI command strings, how can you play more than one sample at a time?
    I have searched for quite some time on MSDN and it goes no further than how to play a sample, and does not elaborate on multi samples or mixing samples.

    Any help appreciated, thanks.
    - Tigs

  2. #2
    Code Monkey Davros's Avatar
    Join Date
    Jun 2002
    Posts
    812
    There should be no problem in doing this. When you open an MCI resource, you should be given an id. You can then send commands to ids independently. I have used MCI with commands, rather than command strings, so don't know exactly how you would do with strings.

  3. #3
    Registered User
    Join Date
    Jul 2002
    Posts
    32

    Command strings

    I kinda need to get it to work with command strings, the easiest way to explain it is that the user types in their own command string which is passed to MCI.
    I get MMSYSTEM device in use errors if I try to play more than one sound at once using command strings.
    - Tigs

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Replies: 16
    Last Post: 06-08-2009, 03:03 PM
  2. Problem with some arithmetic!
    By bobthebullet990 in forum C Programming
    Replies: 4
    Last Post: 01-05-2007, 10:04 AM
  3. Phantom redefinition
    By CodeMonkey in forum C++ Programming
    Replies: 6
    Last Post: 06-12-2005, 05:42 PM
  4. Linker errors - Multiple Source files
    By nkhambal in forum C Programming
    Replies: 3
    Last Post: 04-24-2005, 02:41 AM
  5. Replies: 1
    Last Post: 05-01-2003, 02:52 PM