Copyright © 2006 - 2008 MultiMedia Soft 
Return to Table of contents  
 
 
SetInputDeviceChannelDefault method 
 
Remarks 
 
Sets the new default channel for the given input device. 
The friendly name of each input channel can be obtained using the GetInputDeviceChannelDesc method. 
 
 
Syntax 
 
[Visual Basic] 
Public Function SetInputDeviceChannelDefault
nInputDevice  as Int16, 
nInputChannel as Int16 
 
[C#] 
public enumErrorCodes SetInputDeviceChannelDefault
Int16 nInputDevice, 
Int16 nInputChannel  
);
 
[C++] 
public: enumErrorCodes SetInputDeviceChannelDefault
Int16  nInputDevice, 
Int16  nInputChannel  
);
 
 
Parameter
Description
 
 
nInputDevice
Number representing the zero-based index of the input device
nInputChannel
Number representing the zero-based index of the new default input channel (Microphone, Stereo Mix, Line-In, etc.)
 
 
 
Return value 
 
Value
Meaning
 
 
Negative value
An error occurred, check the LastError property value in order to see the error code meaning
enumErrorCodes.ERR_NOERROR (0)
The method call was successful.
 
 
 
 
 
 
 
 
 
 
 
 
 
 
Copyright © 2006 - 2008 MultiMedia Soft 
Return to Table of contents