Command reference
ed audio-devices use
Switches the output in use, or the microphone with --input. Per-app routes
follow: an app routed to the new output plays there without a tap.
ed audio-devices use <device> [--input] [--json]| Argument or option | Type / values | Default | What it does |
|---|---|---|---|
<device> |
id or name | required | The device to use. |
--input |
flag | off | Switch the microphone instead of the output. |
--json |
flag | off | Emit the status object on stdout. |
$ ed audio-devices use headphonesnow using Synthetic HeadphonesA device that cannot play (or record, with --input) exits 2. A device that is
not connected exits 3.