Skip to main content

AV Switch — av_switch v1

Anything that routes signal: an HDMI matrix, a distribution amp, a video switcher. The crosspoint capabilities below are what the pathfinder uses to derive internal edges from each input to each output.

A receiver is not this — it is receiver, which switches and has volume and a room association. Use this for devices that only move signal.

Capabilities

Declared in the driver manifest under [[proxy]] capabilities. Anything not declared takes the default below.

CapabilityTypeDefaultMeaning
audio_consumer_countu320Audio inputs
audio_provider_countu320Audio outputs
can_switch_separatelyboolfalseAudio and video may be routed to different destinations
is_matrixboolfalseAny input can reach any output. If false, outputs mirror one selected input.
requires_separate_switchingboolfalseThey MUST be routed separately; the pathfinder solves two paths
supports_disconnectbooltrueAn output can be switched off rather than always carrying something
switch_delay_msu320Settle time after a crosspoint change
video_consumer_countu320
video_provider_countu320

Commands

disconnect_output

Only present when supports_disconnect is declared true.

ParameterTypeNotes
outputu32

off

No parameters.

on

No parameters.

pulse_input

Cycle inputs — for switches with no discrete selection

No parameters.

set_input

Route an input to the default/only output

ParameterTypeNotes
inputu32Signal connection id

set_output_input

Only present when is_matrix is declared true.

Route input to output. The matrix command.

ParameterTypeNotes
inputu32
outputu32

Notifications

online_changed

ParameterTypeNotes
onlinebool

power_changed

ParameterTypeNotes
onbool

route_changed

One crosspoint changed. Emitted once per affected output.

ParameterTypeNotes
inputu32
outputu32

State

Last-known values core keeps for a binding of this proxy.

KeyTypeMeaning
onbool
onlinebool