(Page 4 of 5 in this chapter)
Alphabetic Error Summary
The following table alphabetically lists error codes that can be returned by NaturalText functions or their events:
Error
Hex
Description
CTAERR_BAD_ARGUMENT
0x7
At least one of the function arguments contains an invalid value.
CTAERR_BAD_SIZE
0xB
The specified buffer size is not large enough to contain output data.
CTAERR_BOARD_ERROR
0x3
When running
ctaOpenServices
, speech cannot take place because there is a problem on the Diva daughterboard.
CTAERR_EVENT_TIMEOUT
0x2B
When running
ctaOpenServices
, the specified Diva daughterboard is not responding.
CTAERR_FATAL
0x2
There is an internal error in the text-to-speech program
CTAERR_FILE_CREATE_FAILED
0x26
The
ttsPreprocessFile
function cannot create an output file.
CTAERR_FILE_READ_FAILED
0x27
When running
ttsPreprocessFile
, an error occurs while reading the file to be preprocessed.
CTAERR_FILE_OPEN_FAILED
0x25
When running,
ttsLoadUED
or
ttsPreprocessFile
the dictionary file can not be found or cannot not be opened.
CTAERR_FILE_WRITE_FAILED
0x28
When running
ttsPreprocessFile
, an error occurs while passing the preprocessed text back to a file.
CTAERR_INVALID_CTAHD
0x5
When running
ttsGetStatus
or
ctaOpenServices
, the specified CT Access handle is not available.
CTAERR_INVALID_STATE
0xC
The service is not in the expected state to perform the specified action. Either the service is in a state that prevents the action from taking place, or the action is already in progress.
CTAERR_OUT_OF_MEMORY
0x6
Host system memory allocation failed.
CTAERR_SERVICE_NOT_AVAILABLE
0x10000006
The specified service is not open on the indicated context.
TTSERR_SEND_COMMAND_FAILED
0x90011
The command cannot be sent to the Diva daughterboard.
TTSERR_CANT_CONNECT_PCM_OUTPUT
0x9000A
When running
ttsSpeak
, cannot find a PCM channel for the text-to-speech service output.
TTSERR_CANT_DISCONNECT_PCM_OUTPUT
0x90013
When running
ttsSpeak
, speech has completed but the text-to-speech service cannot disconnect from the PCM channel.
TTSERR_CANT_REGISTER_EXTENSION_FUNCTIONS
0x90015
When running
ctaOpenServices
, NaturalText cannot register itself with the ADI service. Consequently, the NaturalText service is unavailable.
TTSERR_CANT_START_DSP_MGR
0x9000E
When running
ctaOpenServices
, the DSP manager used to communicate with the speech synthesizer cannot be started.
TTSERR_CANT_STOP_DSP_MGR
0x9001D
When running
ctaCloseServices
, the service has been closed but the Diva daughterboard is unable to stop the DSP manager.
TTSERR_DUPLICATE_FILENAME
0x9001A
When running
ttsPreprocessFile
, the name specified for the output file is the same as that specified for the input file.
TTSERR_INVALID_PREPROCESSOR_METHOD
0x90018
When running
ttsPreprocessFile
or
ttsPreprocess
, the specified preprocessing method is not valid.
TTSERR_INVALID_UEDHANDLE
0x9000F
When running
ttsLinkUED
or
ttsUnloadUED
, the specified handle does not reference a loaded dictionary.
TTSERR_INVALID_VOICE
0x90007
When running
ctaOpenServices
the specified voice is not valid.
TTSERR_UED_LINKED
0x90010
When running
ttsUnloadUED
, the UED file cannot be unloaded because it is still linked
TTSERR_VSP_OPEN_FAILED
0x90014
When running
ctaOpenServices
, the NaturalText firmware cannot be opened.
(Page 4 of 5 in this chapter)
tech_support@nmss.com
Copyright © 1997, Natural MicroSystems, Inc. All rights reserved.