Hi!
Does anyone know, where i can specify a channel of my sound card to
play a mci-video?
I created a class Media, where i have 2 functions that are neccessary
for playing the movie:
1.) public void Open(string sFileName,System.Windows.Forms.PictureBox
videobox)
{
if(this.Status() == "playing")
this.Close();
sCommand = "open \"" + sFileName + "\" type mpegvideo alias
MediaFile style child parent " + videobox.Handle.ToInt32();
mciSendString(sCommand, null, 0, IntPtr.Zero);
sCommand = "put MediaFile window at 0 0 " + videobox.Width + " "
+videobox.Height;
mciSendString(sCommand, null, 0, IntPtr.Zero);
FileIsOpen = true;
}
2.)
public void Play()
{
if(FileIsOpen)
{
sCommand = "play MediaFile";
if (Repeat)
sCommand += " REPEAT";
mciSendString(sCommand, null, 0, IntPtr.Zero);
timer1.Enabled = true;
}
}
But where can i specify the channel for audio output????
As i said i have a sound card with 4 channels, additionally i have the
on board sound.
I want to play the sound on every channel - but how can i do this???