search for: samplebuff

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

Did you mean: sample_buf
2004 Aug 06
1
openh323 conflict; can speex_encode take short?
openh323 speexcodec.cxx has: BOOL SpeexCodec::EncodeFrame(BYTE * buffer, unsigned & length) { // convert PCM to float float floatData[SAMPLES_PER_FRAME]; PINDEX i; for (i = 0; i < SAMPLES_PER_FRAME; i++) floatData[i] = sampleBuffer[i]; // encode PCM data in sampleBuffer to buffer speex_bits_reset(bits); speex_encode(coder_state, floatData, bits); ................................. which does not compile on gcc-3.3.3: peexcodec.cxx: In member function `virtual BOOL SpeexCodec::EncodeFrame(BYTE*, unsigned int&...
2013 Feb 12
0
Speexdec says: 'This doesn't look like a Speex file' (am I missing headers?)
...rtp or something else) and how should I add it? Could you guide me in right direction, please? --- To give you fuller picture, I'll attach single audio input buffer along with piece of the code to encode bytes from such buffers frame-by-frame: a) Audio input buffer (abridged a bit): CMSampleBuffer 0x6ead20 retainCount: 1 allocator: 0x33bdf213 invalid = NO ... formatDescription = <CMAudioFormatDescription 0x6e84b0 [0x3f7cd650]> { mediaType:'soun' mediaSubType:'lpcm' mediaSpecific: { ASBD: { mSampleRate: 44...
2013 Feb 12
0
Speexdec says: 'This doesn't look like a Speex file' (am I missing headers?).
...rtp or something else) and how should I add it? Could you guide me in right direction, please? --- To give you fuller picture, I'll attach single audio input buffer along with piece of the code to encode bytes from such buffers frame-by-frame: a) Audio input buffer (abridged a bit): CMSampleBuffer 0x6ead20 retainCount: 1 allocator: 0x33bdf213 invalid = NO ... formatDescription = <CMAudioFormatDescription 0x6e84b0 [0x3f7cd650]> { mediaType:'soun' mediaSubType:'lpcm' mediaSpecific: { ASBD: { mSampleRate:...
2013 Feb 12
0
Speexdec says: 'This doesn't look like a Speex file' (am I missing headers?).
...rtp or something else) and how should I add it? Could you guide me in right direction, please? --- To give you fuller picture, I'll attach single audio input buffer along with piece of the code to encode bytes from such buffers frame-by-frame: a) Audio input buffer (abridged a bit): CMSampleBuffer 0x6ead20 retainCount: 1 allocator: 0x33bdf213 invalid = NO ... formatDescription = <CMAudioFormatDescription 0x6e84b0 [0x3f7cd650]> { mediaType:'soun' mediaSubType:'lpcm' mediaSpecific: { ASBD: { mSampleRate: 44...
2013 Feb 12
0
Speexdec says: 'This doesn't look like a Speex file' (am I missing headers?)
...rtp or something else) and how should I add it? Could you guide me in right direction, please? --- To give you fuller picture, I'll attach single audio input buffer along with piece of the code to encode bytes from such buffers frame-by-frame: a) Audio input buffer (abridged a bit): CMSampleBuffer 0x6ead20 retainCount: 1 allocator: 0x33bdf213 invalid = NO ... formatDescription = <CMAudioFormatDescription 0x6e84b0 [0x3f7cd650]> { mediaType:'soun' mediaSubType:'lpcm' mediaSpecific: { ASBD: { mSampleRate:...