Displaying 2 results from an estimated 2 matches for "encbits".
Did you mean:
enc_bits
2007 Apr 11
0
Problem with speex
...e not good sound : Please see my code (Delphi) and say me
please WHat I am do not right.
Or please send me correct compiled DLL and example of correct using
SPEEX_MODEID_WB and SPEEX_MODEID_UWB , denoise, and other effects.
How I can set MONO mode in decode?
My Code:
smpRt:=32000;
n:=10;
encbits: TSpeexBits;
encstate: Pointer;
encframe: integer;
decbits: TSpeexBits;
decstate: Pointer;
decframe: integer;
buffEnc: array of single;
buffDec: array of single;
encstate := speex_encoder_init(speex_lib_get_mode(SPEEX_MODEID_WB));
speex_encoder_ctl(encstate,SPEEX_SET_SAMPL...
2005 Jul 20
1
Speex Windows from 1.1.6 source
...input for decoder, instead of files input.
My Problem is the audio played on the receiving side after decoding
Is only a "hush" or it is pure noise.
Below is my code, that I have used for encoding and decoding.
/************** Encode ******************/
speex_bits_reset(&Encbits);
psInput = (short *)InputBuf;
iIndex = 80;
memset(OutputBuf,0,(200 * sizeof(float)));
/*Copy the 16 bits values to float so Speex can work on them*/
for (i=0;i<iIndex;i++){
/* float */pfEncBuf[i]=/* short */psInput[i];
}
/*Encode the frame*/
spee...