search for: mfilecount

Displaying 2 results from an estimated 2 matches for "mfilecount".

Did you mean: filecount
2012 Feb 25
0
Speex-with-header-byte and Google ASR
...application, and unfortunately, it does not yet seem to yield data that Google ASR is willing to accept (we get "Bad Data" errors back if we send this data to them). I am permitted by my group to share with you the following body of code: CODE BELOW: SpeexRecorder::SpeexRecorder() { mFileCount = 0; mRecordPacket = 0; mRecordData = NULL; mAudioStreamer = NULL; int sampling_rate = 16000; memset(&bits_, 0, sizeof(bits_)); speex_bits_init(&bits_); encoder_state_ = speex_encoder_init(&speex_wb_mode); speex_encoder_ctl(encoder_state_, SPEEX_GET_FRAME...
2012 Feb 25
0
Speex-with-header-byte and Google ASR
...application, and unfortunately, it does not yet seem to yield data that Google ASR is willing to accept (we get "Bad Data" errors back if we send this data to them). I am permitted by my group to share with you the following body of code: CODE BELOW: SpeexRecorder::SpeexRecorder() { mFileCount = 0; mRecordPacket = 0; mRecordData = NULL; mAudioStreamer = NULL; int sampling_rate = 16000; memset(&bits_, 0, sizeof(bits_)); speex_bits_init(&bits_); encoder_state_ = speex_encoder_init(&speex_wb_mode); speex_encoder_ctl(encoder_state_, SPEEX_GET_FRAME_SIZE, &...