Skip to content
Edith

Docs

Command reference

ed audio-devices priority

ed audio-devices

Prints the output priority order, or the microphone order with --input. Given devices, it replaces the order, highest first. Devices that are not connected stay in the order by the name they had last.

While audioDevicesAutoSwitchOutput (or audioDevicesAutoSwitchInput) is on, the highest connected device in the order is used whenever a device connects or disconnects, and right away when the order changes. Choosing another device by hand keeps until the next connect or disconnect.

Output
ed audio-devices priority [<device>...] [--input] [--json]
Argument or option Type / values Default What it does
<device>... ids or names none The new order. Without devices the order is printed.
--input flag off Use the microphone order.
--json flag off Emit the status object on stdout.
Output
$ ed audio-devices priority "Synthetic Headphones" "Synthetic Speakers"1. Synthetic Headphones2. Synthetic Speakers