Receiver — receiver v1
An AVR or integrated amp: switches signal, owns volume, and usually drives a room's speakers.
Capabilities
Declared in the driver manifest under [[proxy]] capabilities. Anything not declared takes the default below.
| Capability | Type | Default | Meaning |
|---|---|---|---|
audio_consumer_count | u32 | 0 | |
audio_provider_count | u32 | 0 | |
has_discrete_input | bool | false | |
has_discrete_mute | bool | false | |
has_discrete_power | bool | false | |
has_discrete_volume | bool | false | |
has_surround_modes | bool | false | |
has_tone_control | bool | false | |
requires_separate_switching | bool | false | |
surround_modes | string[] | [] | |
video_consumer_count | u32 | 0 | |
video_provider_count | u32 | 0 | |
volume_max | u32 | 100 | |
warmup_ms | u32 | 0 | |
zone_count | u32 | 1 | Independent output zones. Each is a separate binding of this proxy. |
Commands
mute_toggle
No parameters.
off
No parameters.
on
No parameters.
power_toggle
No parameters.
set_input
| Parameter | Type | Notes |
|---|---|---|
input | u32 | Signal connection id |
set_mute
Only present when
has_discrete_muteis declared true.
| Parameter | Type | Notes |
|---|---|---|
mute | bool |
set_output_input
Only present when
requires_separate_switchingis declared true.
| Parameter | Type | Notes |
|---|---|---|
input | u32 | |
output | u32 |
set_surround_mode
Only present when
has_surround_modesis declared true.
| Parameter | Type | Notes |
|---|---|---|
mode | string |
set_tone
Only present when
has_tone_controlis declared true.
| Parameter | Type | Notes |
|---|---|---|
bass | i32 -12–12 (optional) | |
treble | i32 -12–12 (optional) |
set_volume
Only present when
has_discrete_volumeis declared true.
| Parameter | Type | Notes |
|---|---|---|
level | u32 0–100 |
volume_down
No parameters.
volume_up
No parameters.
Notifications
input_changed
| Parameter | Type | Notes |
|---|---|---|
input | u32 |
mute_changed
| Parameter | Type | Notes |
|---|---|---|
mute | bool |
online_changed
| Parameter | Type | Notes |
|---|---|---|
online | bool |
power_changed
| Parameter | Type | Notes |
|---|---|---|
on | bool |
surround_mode_changed
Only present when
has_surround_modesis declared true.
| Parameter | Type | Notes |
|---|---|---|
mode | string |
volume_changed
| Parameter | Type | Notes |
|---|---|---|
level | u32 |
State
Last-known values core keeps for a binding of this proxy.
| Key | Type | Meaning |
|---|---|---|
input | u32 | |
mute | bool | |
on | bool | |
online | bool | |
surround | string | |
volume | u32 |