search for: samplearray

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

2009 Sep 02
3
voice sound like robot voice :)
...+= speex_bits_write( &codecBits, &bitbuffer[encodedbytes], nb ); } //pLog->Add("buffersize: %d: total left: %d enc buffersize: %d", length, inputBufferArray.Count(), encodedbytes ); return encodedbytes; } uint TVoiceCodec::decode( char *bitbuffer, uint length, byte *samplearray, float gain ) { // return if decoder is not initialized if( !pCodecDecoderState ) return 0; // return if there is not enough data to decode if ( length < encodedFrameBytes ) return 0; int buffersize = length; uint decodedbytes = 0; int pos...
2009 Sep 03
1
Speex-dev Digest, Vol 64, Issue 2
...> > > > //pLog->Add("buffersize: %d: total left: %d enc buffersize: %d", > length, > > inputBufferArray.Count(), encodedbytes ); > > return encodedbytes; > > } > > > > uint TVoiceCodec::decode( char *bitbuffer, uint length, byte > *samplearray, > > float gain ) > > { > > // return if decoder is not initialized > > if( !pCodecDecoderState ) > > return 0; > > > > // return if there is not enough data to decode > > if ( length < encodedFrameBytes ) > > return 0...
2009 Sep 03
0
voice sound like robot voice :)
...&bitbuffer[encodedbytes], nb ); > } > > //pLog->Add("buffersize: %d: total left: %d enc buffersize: %d", length, > inputBufferArray.Count(), encodedbytes ); > return encodedbytes; > } > > uint TVoiceCodec::decode( char *bitbuffer, uint length, byte *samplearray, > float gain ) > { > // return if decoder is not initialized > if( !pCodecDecoderState ) > return 0; > > // return if there is not enough data to decode > if ( length < encodedFrameBytes ) > return 0; > > int buffersize = length;...