---
title: soOutputToExtAudioFile
framework: Application Services
role: symbol
role_heading: Enumeration Case
platforms: [macOS 10.6+]
path: applicationservices/1552228-speech-channel_information_constants/sooutputtoextaudiofile
---

# soOutputToExtAudioFile

Pass an [ExtAudioFileRef](../../audiotoolbox/extaudiofileref.md) in the `speechInfo` parameter to write to this file, or `NULL` to generate sound.

## Declaration

```occ
soOutputToExtAudioFile = 'opax'
```

## Discussion

Note that the Speech Synthesis Manager may alter the [kExtAudioFileProperty_ClientDataFormat](../../audiotoolbox/kextaudiofileproperty_clientdataformat.md) and [kExtAudioFileProperty_ClientChannelLayout](../../audiotoolbox/kextaudiofileproperty_clientchannellayout.md) properties of the extended audio file object. The caller is responsible for closing the extended audio file object after the Speech Synthesis Manager is finished with it.

This selector works with the `SetSpeechInfo` function.
