---
title: soOutputToAudioDevice
framework: applicationservices
role: symbol
role_heading: Global Variable
path: applicationservices/sooutputtoaudiodevice
---

# soOutputToAudioDevice

## Declaration

```swift
var soOutputToAudioDevice: OSType { get }
```

## Discussion

Discussion Pass a pointer to an AudioDeviceID in the speechInfo parameter to play to this file, or 0 to play through the default audio output device. This selector works with the SetSpeechInfo function.
