search for: pbuffer2

Displaying 2 results from an estimated 2 matches for "pbuffer2".

Did you mean: pbuffer
2005 Jun 23
1
Speex and DS
.../* decoding */ FILE* fin = fopen("_ee.raw","r"); //get the file char cbitsdec[200]; short out[FRAME_SIZE]; float output[FRAME_SIZE]; dec_state = speex_decoder_init(&speex_nb_mode); speex_bits_init(&bitsdec); char* buffer2 = new char[size]; // the output buffer char* pbuffer2 = buffer2; // pointer to the output buffer while (1) { //Read the size encoded by sampleenc, this part will likely be //different in your application fread(&nbBytesdec, sizeof(int), 1, fin); if (feof(fin)) break; //Read the "packet" encoded by sampleenc fread(cbitsde...
2005 Jun 23
2
Speex and DS
Hello everyone I've a following problem with the speex codec. I'm developing application that is supposed to read sounds from the microphone with DirectSoundCapture. Unfortunately when I want to compress and decompress the sound buffer from DirectSound I only have jitter. Maybe you have some code samples how to compress standard DS buffers: LPDIRECTSOUND8 lpDS = NULL;