6. Programmer's Reference
6.8. Audio-related Commands
DIFFERENCE: The following commands refer to the AP-series only.
The port numbering is a required parameter in most cases. See the details in the Audio Port Numbering
section. #audio
6.8.1.
Command and Response
ç
æ
Parameters
Parameter description Parameter values
The currently applied audio input
selection method.
0: unknown
1: HDMI
2: analog
3: auto1
4: auto2
▪ auto1: the analog audio input port is selected when a plug is connected.
▪ auto2: the selection follows the video input setting:
–
transmitted.
–
INFO: auto2 mode is available in VINX-210AP-HDMI-ENC device only.
Example
ç
æ
6.8.2. Setting the Audio Input Selection Mode
Command and Response
ç
æ
Parameters
See the previous section.
Example
ç
æ
6.8.3.
Command and Response
ç <in>.SignalPresent
æ <in>
Parameters
If the parameter is 0 or false, then signal is not present at the port. If the value is 1 or true,
then signal is present at the input.
INFO: In the case of analog audio ports the value of the parameter is 1 when a plug is connected.
Example
ç
æ
6.8.4.
6.8.4.1.
Command and Response #analogaudio #volume
ç <port>.AnalogVolumedB
æ <port><value>
Parameters
The response <value> is in dB.
Example
ç
æ
6.8.4.2. Setting the Volume (Exact Value)
Command and Response
ç <port><value>
æ <port><value>
Parameters
The <value>
Example
ç
æ
INFO: Changing the value of above property will also change the AnalogVolume property accordingly.