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

# selectAudioOutputDevice

> Selects the audio output device.

```ts
selectAudioOutputDevice(device, options?): void
```

Selects the audio output device. Optionally saves as a preference.

## **Parameters**

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

Selection options, including whether to persist the choice. See [`SelectDeviceOptions`](/docs/browser-sdk/v4/reference/interfaces/select-device-options).

## **Returns**

`void`

## **Examples**

```ts
selfParticipant.selectAudioOutputDevice(device, options);
```