MCI - multiple samples at once

This is a discussion on MCI - multiple samples at once within the Windows Programming forums, part of the Platform Specific Boards category; I think it is possible, but using MCI command strings, how can you play more than one sample at a ...

  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, 04: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, 06:42 PM
  4. Linker errors - Multiple Source files
    By nkhambal in forum C Programming
    Replies: 3
    Last Post: 04-24-2005, 03:41 AM
  5. Replies: 1
    Last Post: 05-01-2003, 03:52 PM

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21