# ed audio-devices priority

> ed audio-devices priority in the Edith ed command line reference. ed audio-devices

- Canonical URL: https://getedith.pro/docs/cli/audio-devices/priority
- Updated: 2026-12-02

[`ed audio-devices`](https://getedith.pro/docs/cli/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.

```
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. |

```
$ ed audio-devices priority "Synthetic Headphones" "Synthetic Speakers"
1. Synthetic Headphones
2. Synthetic Speakers
```

## Where to go next

- [`ed audio-devices use`](https://getedith.pro/docs/cli/audio-devices/use)
- [All `ed audio-devices` commands](https://getedith.pro/docs/cli/audio-devices)
- [All `ed` commands](https://getedith.pro/docs/cli)

## Get Edith

Edith is a native Mac app for macOS 14 or later on Apple silicon with 100+ extensions, the `ed` command line and an MCP server. $35 once for one Mac, plus $7 for each additional Mac, with no subscription and a 30-day refund.

- [Buy Edith](https://getedith.pro/pricing): $35 once for one Mac, plus $7 for each additional Mac
- [Download Edith](https://getedith.pro/download): the installer, or Homebrew
