Lines Matching full:change_status
4040 ESR_ReturnCode change_status;
4046 change_status = ESR_SessionGetLCHAR ( L("cmdline.modelfiles8"), model_filenames, &filename_length );
4048 if ( change_status == ESR_SUCCESS )
4051 change_status = ESR_SessionGetLCHAR ( L("cmdline.lda8"), lda_filename, &filename_length );
4054 if ( change_status == ESR_SUCCESS )
4056 change_status = ESR_SessionSetSize_t ( "CREC.Frontend.samplerate", 8000 );
4057 if ( change_status == ESR_SUCCESS )
4059 change_status = ESR_SessionSetInt ( "CREC.Frontend.highcut", 4000 );
4061 if ( change_status == ESR_SUCCESS )
4063 change_status = ESR_SessionSetLCHAR ( L("cmdline.modelfiles"), model_filenames );
4065 if ( change_status == ESR_SUCCESS )
4066 change_status = ESR_SessionSetLCHAR ( L("cmdline.lda"), lda_filename );
4079 return ( change_status );
4086 ESR_ReturnCode change_status;
4092 change_status = ESR_SessionGetLCHAR ( L("cmdline.modelfiles11"), model_filenames, &filename_length );
4094 if ( change_status == ESR_SUCCESS )
4097 change_status = ESR_SessionGetLCHAR ( L("cmdline.lda11"), lda_filename, &filename_length );
4100 if ( change_status == ESR_SUCCESS )
4102 change_status = ESR_SessionSetSize_t ( "CREC.Frontend.samplerate", sample_rate );
4104 if ( change_status == ESR_SUCCESS )
4106 change_status = ESR_SessionSetInt ( "CREC.Frontend.highcut", 5500 );
4108 if ( change_status == ESR_SUCCESS )
4110 change_status = ESR_SessionSetLCHAR ( L("cmdline.modelfiles"), model_filenames );
4112 if ( change_status == ESR_SUCCESS )
4113 change_status = ESR_SessionSetLCHAR ( L("cmdline.lda"), lda_filename );
4126 return ( change_status );
4133 ESR_ReturnCode change_status;
4136 change_status = SR_Recognizer_Change_Sample_Rate_Session_Params_8K ( );
4138 change_status = SR_Recognizer_Change_Sample_Rate_Session_Params_11K_to_22K ( new_sample_rate );
4140 return ( change_status );
4147 ESR_ReturnCode change_status;
4152 change_status = SR_Recognizer_Validate_Sample_Rate ( new_sample_rate );
4154 if ( change_status == ESR_SUCCESS )
4156 change_status = SR_Recognizer_Sample_Rate_Needs_Change ( new_sample_rate, &rate_needs_changing );
4158 if ( change_status == ESR_SUCCESS )
4162 change_status = SR_Recognizer_Change_Sample_Rate_Session_Params ( new_sample_rate );
4164 if ( change_status == ESR_SUCCESS )
4167 change_status = SR_RecognizerUnsetupImpl( recognizer );
4169 if ( change_status == ESR_SUCCESS )
4176 change_status = SR_RecognizerGetFrontendLegacyParametersImpl ( frontendParams );
4178 if ( change_status == ESR_SUCCESS )
4185 change_status = SR_Recognizer_Reset_Buffers ( impl );
4187 if ( change_status == ESR_SUCCESS )
4189 change_status = SR_RecognizerSetupImpl( recognizer );
4191 if ( change_status == ESR_SUCCESS )
4192 change_status = SR_AcousticStateReset ( recognizer );
4204 change_status = ESR_OUT_OF_MEMORY;
4211 return ( change_status );