Displaying 2 results from an estimated 2 matches for "maudiostreamer".
2012 Feb 25
0
Speex-with-header-byte and Google ASR
...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, &samples_per_frame_);
int quality = kSpeexEncodingQualit...
2012 Feb 25
0
Speex-with-header-byte and Google ASR
...ata 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, &samples_per_frame_);
int quality = kSpeexEncodingQuality;...