Skip to content
Edith

Docs

Command reference

ed audio-devices use

ed audio-devices

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.

Output
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.
Output
$ ed audio-devices use headphonesnow using Synthetic Headphones

A device that cannot play (or record, with --input) exits 2. A device that is not connected exits 3.

Where to go next