search for: encbuffer

Displaying 6 results from an estimated 6 matches for "encbuffer".

2007 Nov 04
3
WaveIn/WaveOut and Speex
...: Encode(char* inBuffer, DWORD bufferLength) ... float* input = new float[frameSize]; ZeroMemory(input, frameSize); ... for( ) { input[..] = inBuffer[..]; } ... speex_encode(enc_state, input, &bits); int bytesWritten = speex_bits_nbytes(&bits); speex_bits_write(&bits, encBuffer, bytesWritten); Then, my decoding routine accepts the char buffer that was encoded with Speex: Decode(char* encBuffer, DWORD bufferLength) ... float* output = new float[frameSize]; ... speex_bits_read_from(&bits, encBuffer + offset, bytesToRead); speex_decode(dec_state, &...
2007 Nov 04
2
WaveIn/WaveOut and Speex
...t; ZeroMemory(input, frameSize); > > ... > > for( ) > > { > > input[..] = inBuffer[..]; > > } > > ... > > speex_encode(enc_state, input, &bits); > > int bytesWritten = speex_bits_nbytes(&bits); > > speex_bits_write(&bits, encBuffer, bytesWritten); > > > > > > > > Then, my decoding routine accepts the char buffer that was encoded with > Speex: > > > > Decode(char* encBuffer, DWORD bufferLength) > > ... > > float* output = new float[frameSize]; > > ... &g...
2007 Nov 04
0
WaveIn/WaveOut and Speex
...t; ZeroMemory(input, frameSize); > > ... > > for( ) > > { > > input[..] = inBuffer[..]; > > } > > ... > > speex_encode(enc_state, input, &bits); > > int bytesWritten = speex_bits_nbytes(&bits); > > speex_bits_write(&bits, encBuffer, bytesWritten); > > > > > > > > Then, my decoding routine accepts the char buffer that was encoded with > Speex: > > > > Decode(char* encBuffer, DWORD bufferLength) > > ... > > float* output = new float[frameSize]; > > ... &g...
2007 Nov 04
0
WaveIn/WaveOut and Speex
...t; for( ) >> >> { >> >> input[..] = inBuffer[..]; >> >> } >> >> ... >> >> speex_encode(enc_state, input, &bits); >> >> int bytesWritten = speex_bits_nbytes(&bits); >> >> speex_bits_write(&bits, encBuffer, bytesWritten); >> >> >> >> >> >> >> >> Then, my decoding routine accepts the char buffer that was encoded >> with Speex: >> >> >> >> Decode(char* encBuffer, DWORD bufferLength) >> >> ... >>...
2007 Nov 05
0
Fw: RE: WaveIn/WaveOut and Speex
...t; for( ) >> >> { >> >> input[..] = inBuffer[..]; >> >> } >> >> ... >> >> speex_encode(enc_state, input, &bits); >> >> int bytesWritten = speex_bits_nbytes(&bits); >> >> speex_bits_write(&bits, encBuffer, bytesWritten); >> >> >> >> >> >> >> >> Then, my decoding routine accepts the char buffer that was encoded >> with Speex: >> >> >> >> Decode(char* encBuffer, DWORD bufferLength) >> >> ... >>...
2007 Nov 05
2
WaveIn/WaveOut and Speex
...t; for( ) >> >> { >> >> input[..] = inBuffer[..]; >> >> } >> >> ... >> >> speex_encode(enc_state, input, &bits); >> >> int bytesWritten = speex_bits_nbytes(&bits); >> >> speex_bits_write(&bits, encBuffer, bytesWritten); >> >> >> >> >> >> >> >> Then, my decoding routine accepts the char buffer that was encoded >> with Speex: >> >> >> >> Decode(char* encBuffer, DWORD bufferLength) >> >> ... >>...