next up previous contents
Next: start Up: Properties Previous: sharable   Contents


channel

Description

Integer. Specifies the audio channel of the device. The following table describes the meaning of the property.

Value Description
0 All audio channels
1 Left channel
2 Right channel


Syntax

mci.channel


Example

m = new MCI;
m.deviceType = "mpegvideo";
m.fileName = "c:\\ 01.DAT";
m.x = 0;
m.y = 0;
m.width = 480;
m.height = 320;
m.wait = true;
m.command = "open";
m.channel = 1;
m.wait = false;
m.command = "play";




Copyright ©2000-2010 Shanghai TopCMM Software Technologies. All Rights Reserved.