6. Programmer's Reference
6.8.4.3. Setting the Volume (by a Step Value)
Command and Response
ç CALL•/MEDIA/AUDIO/<port>:stepVolumeDb(<value>)
æ mO•/MEDIA/AUDIO/<port>:stepVolumeDb
Parameters
The
<value>
is in dB; positive and negative values are accepted.
Example
ç CALL/MEDIA/AUDIO/I2:stepVolumeDb(-10.5)
æ mO/MEDIA/AUDIO/I2:stepVolumeDb
Explanation
Thevolumeoftheaudiosignalhasbeendecreasedby10.5dB.
INFO:
Calling above method will change the AnalogVolume and AnalogVolumedB properties accordingly.
6.8.4.4. Querying the Volume (in Percentage)
Command and Response
ç GET•/MEDIA/AUDIO/<port>.AnalogVolume
pw•/MEDIA/AUDIO/<port>.AnalogVolume=<vol_per>
æ
Parameters
The value of <vol_per>isdefinedbetween0and100(minandmax).
Example
ç GET/MEDIA/AUDIO/I2.AnalogVolume
æ pw/MEDIA/AUDIO/I2.AnalogVolume=80
6.8.4.5. Setting the Volume (in Percentage)
Command and Response
SET•/MEDIA/AUDIO/<port>.AnalogVolume=<value>
ç
pw•/MEDIA/AUDIO/<port>.AnalogVolume=<value>
æ
Parameters
The <value>isdefinedinpercentage.Theacceptedvaluesarebetween0and100.Higher/lowervalueswill
beroundedup/down.
Example
ç SET/MEDIA/AUDIO/I2.AnalogVolume=50
æ pw/MEDIA/AUDIO/I2.AnalogVolume=50
INFO:
Changing the value of above property will also change the AnalogVolumedB property accordingly.
VINX-1x0-HDMIExtenders–User'sManual
6.8.4.6. Setting the Volume (by a Step Value in Percantage)
Command and Response
ç CALL•/MEDIA/AUDIO/<port>:stepVolumePercent(<value>)
æ mO•/MEDIA/AUDIO/<port>:stepVolumePercent
Parameters
The <value>isdefinedinpercentage.Theacceptedvaluesarebetween0and100.Higher/lowervalueswill
beroundedup/down.Pleasenotethatthestepvalueiscalculatedfrom100%–seetheexamplebelow:
Example
ç GET/MEDIA/AUDIO/I2.AnalogVolume
æ pw/MEDIA/AUDIO/I2.AnalogVolume=80
ç CALL/MEDIA/AUDIO/<port>:stepVolumePercent=-10
æ mO/MEDIA/AUDIO/<port>:stepVolumePercent
æ CHG/MEDIA/AUDIO/O2.AnalogVolume=70
INFO:
6.8.4.7. Querying the Mute State
Command and Response
ç GET•/MEDIA/AUDIO/<port>.AnalogMute
pw•/MEDIA/AUDIO/<port>.AnalogMute=<mute_state>
æ
Parameters
If the
Example
ç GET/MEDIA/AUDIO/I2.AnalogMute
æ pw/MEDIA/AUDIO/I2.AnalogMute=false
6.8.4.8. Setting the Mute State
Command and Response
ç GET•/MEDIA/AUDIO/<port>.AnalogMute
pw•/MEDIA/AUDIO/<port>.AnalogMute=<mute_state>
æ
Parameters
See the previous section.
INFO:
properties accordingly.
Example
ç SET/MEDIA/AUDIO/I2.AnalogVolume=50
æ pw/MEDIA/AUDIO/I2.AnalogVolume=50
Appliedfirmwarepackage:v2.0.2b4 | LDCsoftware:v2.5.2b3
Changing the value of above property will also change the AnalogVolumedB property accordingly.
#mute #unmute
<mute_state>
parameter is 0 or false, then the port is not muted. If the value is 1 or true, port is muted.
Changing the value of above property to 0 or false will also change the AnalogVolume and AnalogVolumedB
65
Need help?
Do you have a question about the VINX-120-HDMI-ENC and is the answer not in the manual?
Questions and answers