5. Programmers' Reference
5.7. Audio-related Commands
DIIIERENCEG!
The following commands refer to the AP-series only.
The port numbering is a required parameter in most cases. See the details in the
section.
5.7.1. Querying the Audio Input Selection Mode
Command and Response
ç GET•/MEDIA/AUDIO.ioSelect
pw•/MEDIA/AUDIO.ioSelect=<sel_mode>
æ
Parameters
Identifier
Parameter description
<sel_mode>
The currently applied audio input
selection method.
auto1: the analog audio input port is selected when a plug is connected.
▪
auto2: the selection follows the video input setting:
▪
– When HDMI is selected as the video source, the audio of the original HDMI stream is
transmitted.
– When VGA is selected as the video source, the analog audio is transmitted.
INFO:
auto2 mode is available in VINX-210AP-HDMI-ENC device only.
Example
ç GET /MEDIA/AUDIO.ioSelect
æ pw /MEDIA/AUDIO.ioSelect=1
5.7.2. Setting the Audio Input Selection Mode
Command and Response
SET•/MEDIA/AUDIO.ioSelect=<sel_mode>
ç
pw•/MEDIA/AUDIO.ioSelect=<sel_mode>
æ
Parameters
See the previous section.
Example
ç SET /MEDIA/AUDIO.ioSelect
æ pw /MEDIA/AUDIO.ioSelect=2
Audio Port Numbering
Parameter values
0: unknown
1: HDMI
2: analog
3: auto1
4: auto2
VINX-1x0-HDMI Extenders – User's Manual
5.7.3. Querying the Audio Signal Presence
Command and Response
ç GET•/MEDIA/AUDIO/<in>.SignalPresent
pr•/MEDIA/AUDIO/<in>.SignalPresent=<signal_present>
æ
Parameters
If the
<signal_present>
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
ç GET /MEDIA/AUDIO/I1.SignalPresent
æ pr /MEDIA/AUDIO/I1.SignalPresent=false
5.7.4. Analog Audio Input/Output Signal Level Settings
5.7.4.1. Querying the Volume (Exact Value)
Command and Response
ç GET•/MEDIA/AUDIO/<port>.AnalogVolumedB
pw•/MEDIA/AUDIO/<port>.AnalogVolumedB=<value>
æ
Parameters
The response
<value>
is in dB.
Example
ç GET /MEDIA/AUDIO/I2.AnalogVolumedB
æ pw /MEDIA/AUDIO/I2.AnalogVolumedB=-20.00
5.7.4.2. Setting the Volume (Exact Value)
Command and Response
SET•/MEDIA/AUDIO/<port>.AnalogVolumedB=<value>
ç
pw•/MEDIA/AUDIO/<port>.AnalogVolumedB=<value>
æ
Parameters
The
<value>
is in dB and the accepted values are between -44 and 0.
Example
ç SET /MEDIA/AUDIO/I2.AnalogVolumedB=-10
æ pw /MEDIA/AUDIO/I2.AnalogVolumedB=-10.00
INFO:
Changing the value of above property will also change the AnalogVolume property accordingly.
45
Need help?
Do you have a question about the VINX-110-HDMI-DEC and is the answer not in the manual?
Questions and answers