> For a complete index of all SignalWire documentation pages, fetch https://signalwire.com/docs/llms.txt

# selectAudioOutputDevice

> Sets the preferred audio output device.

```ts
selectAudioOutputDevice(device): void
```

Sets the preferred audio output device.

## **Parameters**

Device to select. Pass `null` to clear the current selection. See [`MediaDeviceInfo`](https://developer.mozilla.org/en-US/docs/Web/API/MediaDeviceInfo).

## **Returns**

`void`

## **Examples**

```ts
client.selectAudioOutputDevice(device);
```

## **See**

* [`audioOutputDevices$`](/docs/browser-sdk/v4/reference/signalwire/audio-output-devices\$) — list of available speakers.
* [`selectedAudioOutputDevice$`](/docs/browser-sdk/v4/reference/signalwire/selected-audio-output-device\$) — reactive state.
* Routing via `setSinkId` requires browser support (Chromium yes, Firefox no).