Copyright © 2006-2018 MultiMedia Soft

GetInputDeviceChannelType method

Previous pageReturn to chapter overviewNext page

Remarks

 

Tries to obtain the type of a given input channel.

 

 

Syntax

 

[Visual Basic]

control.GetInputDeviceChannelType (

nInputDevice as integer,

nInputChannel as integer

) as enumInputChannelTypes


 

[C++]

short control.GetInputDeviceChannelType (

short nInputDevice,

short 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

 

Return value

 

Value

Meaning

 

 

Negative value

An error occurred, check the LastError property value in order to see the error code meaning

>= 0

Type of channel.

Supported values are the following:

Mnemonic constant

Value

Meaning

INPUT_CHANNEL_TYPE_UNDEF

0

Undefined channel type

INPUT_CHANNEL_TYPE_MIC

1

Microphone

INPUT_CHANNEL_TYPE_LINEIN

2

Line In

INPUT_CHANNEL_TYPE_DIGITAL_INTERFACE

3

Digital interface

INPUT_CHANNEL_TYPE_MIDI_SYNTH

4

MIDI synthesizer

INPUT_CHANNEL_TYPE_ANALOG_AUDIO_CD

5

Analog audio CD

INPUT_CHANNEL_TYPE_PHONE

6

Phone

INPUT_CHANNEL_TYPE_PC_SPEAKER

7

PC Speaker

INPUT_CHANNEL_TYPE_WAVEMIX

8

Wave mixer

INPUT_CHANNEL_TYPE_AUX

9

Auxiliary

INPUT_CHANNEL_TYPE_ANALOG

10

Analog input