search for: mdecoder

Displaying 5 results from an estimated 5 matches for "mdecoder".

Did you mean: decoder
2005 Jan 05
4
Encoding and decoding problem in speex 1.0.4
Hi, I am using the speex 1.0.4 library from Windows. I have posted my problem before but didn't get a solution. I am doing an VOIP project in which i am recording sound and streaming it to the peer. I wanted to encode and decode wav files that brought me to this site. I am recording sound in the following format:- m_WaveFormatEx.wFormatTag = WAVE_FORMAT_PCM;
2004 Sep 12
2
Speex encoding/decoding producing garbled audio
I'm getting garbled playback with decoded fragments and I'm hoping someone here can point me in the right direction to correcting the problem. Essentially I'm capturing audio from the microphone. I stream it over the net, but for testing purposes with this API I'm just grabbing the whole chunk and encoding / decoding it right away and then updating the sound buffer for
2005 Jan 11
0
Decoding producing garbled sound
Hi, I am back. Thanks everybody for their suggestions. Finally I could get something out of the decoder that makes sense. But the problem is it is highly noisy and the voice is not very clear. Normally without using the codec I get good audible sound through the Microphone. I'm using Speex version 1.1.6. I've also used 1.0.4 beforehand and experienced the same problem with it. 1.
2012 Jul 11
1
Decoding a continues stream
...the reader will send new data. Hence I want to decode until the stream is empty, but I will add new data to the stream once it is empty. *void **MyFlacCoder::**decode(char *data, int bytes) { mBuffer = input; mBufferBytes = bytes; FLAC__stream_decoder_process_until_end_of_stream(mDecoder); } * My read callback looks as follows: * FLAC__StreamDecoderReadStatus flacReadDecode(const FLAC__StreamDecoder *decoder, FLAC__byte buffer[], size_t *bytes, void *client) { MyFlacCoder *coder = (MyFlacCoder*) client; int size =min(*bytes, coder->mBufferBytes); if(size <= 0)...
2004 Sep 14
0
Speex encoding/decoding producing garbled audio
Whoops, left this message in my outbox. I managed to fix the problem. Apparently I was only copying 160 bytes (Frame Size) back into the audio stream when I should have been copying 320 (chars <-> shorts confused me there). Hence why I could hear myself yet it was distorted. Half the wav was missing =) To answer some of the other questions here, for any insight into what I'm doing: