search for: sc_encod

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

Did you mean: sb_encode
2010 Apr 13
1
Another newbie question on encoding
...ituation: SAMPLE RATE.....: 8000 BITS PER SAMPLE.: 16 CHANNELS........: 1 DATA TYPE.......: float And I need to encode a buffer of 640 PCM float frames, the following Encode method is correct? Thanks in advance for the help! Daniele. class CSpeexCodec { public: enum ESpeexCodecType { SC_ENCODER, SC_DECODER }; enum ESpeexCodecMode { SC_NARROWBAND, // 8 kHz SC_WIDEBAND, // 16 kHz SC_ULTRAWIDEBAND // 32 kHz }; CSpeexCodec(); ~CSpeexCodec(); BOOL Init(); UINT Encode( sample_type *inBuff, char **outBuff, UINT BufferFrames ); private: SpeexBit...