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

# soInputMode

## Declaration

```occ
soInputMode = 'inpt'
```

## Discussion

Get or set the speech channel’s current text-processingmode. The returned value specifies whether the channel is currentlyin text input mode or phoneme input mode. The `speechInfo` parameteris a pointer to a variable of type `OSType`,which specifies a text-processing mode. The constants [modeText](../1552256-speech-channel_modes/modetext.md) and [modePhonemes](../1552256-speech-channel_modes/modephonemes.md) specifythe available text-processing modes.

The `modeText` constantindicates that the speech channel is in text-processing mode. The `modePhonemes` constantindicates that the speech channel is in phoneme-processing mode.When in phoneme-processing mode, a text buffer is interpreted tobe a series of characters representing various phonemes and prosodiccontrols. Some synthesizers might support additional input-processingmodes and define constants for these modes.

When in text-processing mode, you can also specify how characters and numbers should be processed, using [soCharacterMode](socharactermode.md) and [soNumberMode](sonumbermode.md).

This selector works with both the `GetSpeechInfo` and `SetSpeechInfo` functions.
