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
section.
#audio
6.8.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.
– WhenVGAisselectedasthevideosource,theanalogaudioistransmitted.
INFO:
auto2 mode is available in VINX-210AP-HDMI-ENC device only.
Example
ç GET/MEDIA/AUDIO.ioSelect
æ pw/MEDIA/AUDIO.ioSelect=1
6.8.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
Appliedfirmwarepackage:v2.0.2b4 | LDCsoftware:v2.5.2b3
VINX-1x0-HDMIExtenders–User'sManual
6.8.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
6.8.4. Analog Audio Input/Output Signal Level Settings
6.8.4.1. Querying the Volume (Exact Value)
Command and Response
#analogaudio #volume
ç 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
6.8.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>isindBandtheacceptedvaluesarebetween-44and0.
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.
64
Need help?
Do you have a question about the VINX-120-HDMI-ENC and is the answer not in the manual?
Questions and answers