Get audio output mode
JSON Response:
{"hardware":"2","source":"0","audiocast":"0"}
Description:
Field Description
hardware Hardware Interface output mode:
1: AUDIO_OUTPUT_SPDIF_MODE
2: AUDIO_OUTPUT_AUX_MODE
3: AUDIO_OUTPUT_COAX_MODE
source BT source output mode:
0: disable
1: active
audiocast Audio cast output mode:
0: disable
1: active
Responses
Successful response
Set audio output mode
Field Description
Hardware Interface output mode:
1: AUDIO_OUTPUT_SPDIF_MODE
2: AUDIO_OUTPUT_AUX_MODE
3: AUDIO_OUTPUT_COAX_MODE
Response is 'OK'
Parameters
Path Parameters
Hardware Interface output mode:
1: AUDIO_OUTPUT_SPDIF_MODE
2: AUDIO_OUTPUT_AUX_MODE
3: AUDIO_OUTPUT_COAX_MODE
123Responses
Successful response
Get SPDIF sample rate switch latency
Example: https://10.10.10.254/httpapi.asp?command=getSpdifOutSwitchDelayMs
Observations:
- This value only makes sense if the output interface is SPDIF (optical out).
- Value can be retrieved even if output is not SPDIF
Responses
Successful response
Set SPDIF sample rate switch latency
Example: https://10.10.10.254/httpapi.asp?command=setSpdifOutSwitchDelayMs:800
Observations:
- Delay is in milliseconds
- Value can be set even if output is not SPDIF
- Delay is upper bound to 3000 milliseconds
Parameters
Path Parameters
The delay in milliseconds
Responses
Successful response
Get left/right channel balance
Set left/right channel balance
Example: https://10.10.10.254/httpapi.asp?command=setChannelBalance:0
Observations:
- The value must be a number ranging from -1.0 (fully panned left) to 1.0 (fully panned right).
Parameters
Path Parameters
Balance from -1.0 (left) to 1.0 (right)
0Responses
Successful response