Command reference
ed audio-devices status
Lists every output and input, which one is in use, favorites, priority and
per-app routes. It reads only. Bare ed audio-devices runs the same command, and
ls and list are aliases.
ed audio-devices status [--json]| Option | Type / values | Default | What it does |
|---|---|---|---|
--json |
flag | off | Emit the full status object on stdout. |
$ ed audio-devicesKIND NAME TRANSPORT STATE FAVORITE PRIORITYoutput Synthetic Speakers Built-in in use favorite #2output Synthetic Headphones Bluetooth favorite #1input Synthetic Microphone USB in useAPP OUTPUT STATEMusic Synthetic Headphones routedA route's state is routed, waiting for sound (the app is not playing),
same as system output, device not connected (the app follows the system
output until it returns) or audio access needed.
--json returns outputs and inputs (each with uid, name, transport,
selected, favorite, priority, and volume, muted or level for the
device in use), defaultOutput, defaultInput, favorites, outputPriority,
inputPriority (each entry with uid, name and connected), routes,
apps (apps making sound that can be routed), mediaKeys (off, listening
or needsAccessibility) and settings.