Copyright © 2006 - 2008 MultiMedia Soft 
Return to Table of contents  
 
 
ChangeInputDevice method 
 
Remarks 
 
Changes the default recording input device (set through the initial call to the InitRecorder method) used by the control. 
 
Use the value returned by the GetInputDevicesCount method in order to know how many input devices are currently installed on the system and the GetInputDeviceDesc method in order to retrieve the friendly name of each input device. 
 
 
Syntax 
 
[Visual Basic] 
Public Function ChangeInputDevice
nInputDevice as Int16 
 
[C#] 
public enumErrorCodes ChangeInputDevice
Int16 nInputDevice 
);
 
[C++] 
public: enumErrorCodes ChangeInputDevice
Int16 nInputDevice 
);
 
 
Parameter
Description
 
 
nInputDevice
Number representing the zero-based index of the input device (sound card) that will be used for recording (use 0 for setting the system default output device). The default input channel for the given input device can be changed through a previous call to the SetInputDeviceChannelDefault method. 
 
This parameter is ignored by the Light edition
 
 
Return value 
 
Value
Meaning
 
 
Negative value
An error occurred (see the LastError property for further error details)
enumErrorCodes.ERR_NOERROR (0)
The method call was successful.
 
 
 
 
 
 
 
 
 
 
 
 
 
 
Copyright © 2006 - 2008 MultiMedia Soft 
Return to Table of contents