Displaying 3 results from an estimated 3 matches for "encoder_state_".
2012 Jan 20
1
speex_encode_int performance iphone4 + iOS5
...llent results on iPad2 + iOS5, Mac OS X 10.6 as well as Windows 7. The call to speex_encode_int is takes 0.0065 to complete. Because encoding is so latent the receiver incurs underruns.
Here is my speex setup:
? ? unsigned val = 0;
? ? /**? ? ?* Initialize the encoder in narrow band mode.? ? ?*/? ? encoder_state_ = speex_encoder_init(speex_lib_get_mode(SPEEX_MODEID_NB));?? ? /**? ? ?* A quality of ...? ? ?*/? ? val = 7;? ??? ? /**? ? ?* Set the quality.? ? ?*/? ? speex_encoder_ctl(encoder_state_, SPEEX_SET_QUALITY, &val);? ??? ? /**? ? ?* A complexity of ...? ? ?*/? ? val = 0;? ??? ? /**? ? ?* Set the c...
2012 Feb 25
0
Speex-with-header-byte and Google ASR
...oup 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;
speex_encoder_ctl(encoder_state_, SPEEX_SET_QUALITY, &quality);
int vbr = 1;
speex_encoder_ctl(encoder_state_, SPE...
2012 Feb 25
0
Speex-with-header-byte and Google ASR
...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;
speex_encoder_ctl(encoder_state_, SPEEX_SET_QUALITY, &quality);
int vbr = 1;
speex_encoder_ctl(encoder_state_, SPEEX_SE...