Audio output devices

disableoutput {ID}

Turns an output off.

enableoutput {ID}

Turns an output on.

toggleoutput {ID}

Turns an output on or off, depending on the current state.

outputs

Shows information about all outputs.

outputid: 0
outputname: My ALSA Device
outputenabled: 0
OK
            

Return information:

  • outputid: ID of the output. May change between executions

  • outputname: Name of the output. It can be any.

  • outputenabled: Status of the output. 0 if disabled, 1 if enabled.