Consultant_Sweden
2006-10-31 12:17:01 UTC
i.
I have a C++ application that uses MCIWnd objects to play media files of
various types. With MCIWNdSendString (or MCISendString) you can controll the
media playback and properties. Since I, in my application, only want the
sound to go to a specific audio channel I've been using the "setaudio left
off" command. This works perfectly for most media file types (mp3, wma, wmv,
avi, mpg, etc) but not with any kind of WAV sound. Any MCIWndSendString
operation made on a MCIWnd object that contains a WAV sound returns a 261 MCI
error, which states:
"The driver cannot recognize the specified command"
Why is this, and what can I do to avoid it?
Best regards, Andy.
I have a C++ application that uses MCIWnd objects to play media files of
various types. With MCIWNdSendString (or MCISendString) you can controll the
media playback and properties. Since I, in my application, only want the
sound to go to a specific audio channel I've been using the "setaudio left
off" command. This works perfectly for most media file types (mp3, wma, wmv,
avi, mpg, etc) but not with any kind of WAV sound. Any MCIWndSendString
operation made on a MCIWnd object that contains a WAV sound returns a 261 MCI
error, which states:
"The driver cannot recognize the specified command"
Why is this, and what can I do to avoid it?
Best regards, Andy.