search for: pcodecbuffer

Displaying 3 results from an estimated 3 matches for "pcodecbuffer".

2009 Sep 02
3
voice sound like robot voice :)
...UFFER_SIZE; byte *voicemem = (byte*)pMemoryMng->Alloc(voicememsize); memset( voicemem, 0, voicememsize ); // raw voice input buffer pCodecRawBuffer = voicemem; pCodecRawBufferCur = pCodecRawBuffer; // voicemem += Cvoicecodecrawbuffersize; // input/output voice buffer pCodecBuffer = voicemem; } TVoiceCodec::~TVoiceCodec() { if ( pCodecEncoderState ) { speex_preprocess_state_destroy( pPreprocessorState ); speex_encoder_destroy( pCodecEncoderState ); speex_bits_destroy( &codecBits ); pCodecEncoderState = NULL; } if ( pCodecDecoderStat...
2009 Sep 03
1
Speex-dev Digest, Vol 64, Issue 2
...icemem, 0, voicememsize ); > > > > // raw voice input buffer > > pCodecRawBuffer = voicemem; > > pCodecRawBufferCur = pCodecRawBuffer; > > // > > voicemem += Cvoicecodecrawbuffersize; > > > > // input/output voice buffer > > pCodecBuffer = voicemem; > > } > > > > > > TVoiceCodec::~TVoiceCodec() > > { > > if ( pCodecEncoderState ) > > { > > speex_preprocess_state_destroy( pPreprocessorState ); > > speex_encoder_destroy( pCodecEncoderState ); > > spee...
2009 Sep 03
0
voice sound like robot voice :)
...g->Alloc(voicememsize); > memset( voicemem, 0, voicememsize ); > > // raw voice input buffer > pCodecRawBuffer = voicemem; > pCodecRawBufferCur = pCodecRawBuffer; > // > voicemem += Cvoicecodecrawbuffersize; > > // input/output voice buffer > pCodecBuffer = voicemem; > } > > > TVoiceCodec::~TVoiceCodec() > { > if ( pCodecEncoderState ) > { > speex_preprocess_state_destroy( pPreprocessorState ); > speex_encoder_destroy( pCodecEncoderState ); > speex_bits_destroy( &codecBits ); > pCode...