---
title: soTextDoneCallBack
framework: Application Services
role: symbol
role_heading: Enumeration Case
platforms: [macOS 10.0+]
path: applicationservices/1552228-speech-channel_information_constants/sotextdonecallback
---

# soTextDoneCallBack

## Declaration

```occ
soTextDoneCallBack = 'tdcb'
```

## Discussion

Set the callback function to be called whenthe Speech Synthesis Manager has finished processing speech beinggenerated on the speech channel. The `speechInfo` parameteris a pointer to an application-defined text-done callback function,whose syntax is described in [SpeechTextDoneProcPtr](../speechtextdoneprocptr.md). Passing `NULL` in `speechInfo` disablesthe text-done callback function.

This selector works with the `SetSpeechInfo` function.
