(VoiceTalk Module)
Description: This function runs in the VoiceTalk thread and returns a list of devices available on a SAPI text-to-speech stream.
Returns: Array
Usage: Script
Format: VoiceTalkStream\GetDevices()
Where: VoiceTalkStream { stream } { required } { no default }
A speech stream returned from VoiceTalk.
Comments: This function will immediately return a 1-dimensional list of output device names available for the text-to-speech stream. The strings in this array are suitable to pass as devices to the VoiceTalk\Configure module.
Example:
sHandle = \VoiceTalk();
If Valid(sHandle) && ! getDevices;
[
getDevices = 1;
sDevices = sHandle\GetDevices();
]
This will return an array of all available text-to-speech output devices in the array sDevices.
See Also:
Configure | GetVoices | Reset | ShowLexicon | Speak | VoiceTalk