search for: encodedaudio

Displaying 1 result from an estimated 1 matches for "encodedaudio".

Did you mean: encoded_audio
2012 Sep 30
0
Speex (in ios) really poor quality (and robotic) sound
...buffer that will be playback by the specific callback : - (void) processAudio: (AudioBufferList*) bufferList { AudioBuffer sourceBuffer = bufferList->mBuffers[0]; NSLog(@"Origin size: %lu", sourceBuffer.mDataByteSize); int size = 0; char *encodedAudio = encodeSpeex((spx_int16_t*) sourceBuffer.mData, sourceBuffer.mDataByteSize, &size); NSLog(@"Encoded size: %i", size); short* decodedAudio = decodeSpeex(encodedAudio, size, sourceBuffer.mDataByteSize); free(encodedAudio); memcpy(tempBuffer.mData, decod...