Displaying 1 result from an estimated 1 matches for "__framesize".
Did you mean:
_framesize
2007 Oct 10
0
encode return 0
...#, everything seems to works right,
when I call the speex_encode_int function it always return 0, any help would
be appreciated.
Here?s the sequence of calls:
//Initialization
_Mode = speex_lib_get_mode(0);
_State = speex_encoder_init(_Mode);
fixed (int* __FrameSize = &_FrameSize, __Complexity = &_Complexity,
__SamplingRate = &_SamplingRate)
{
speex_encoder_ctl(_State, 3 /*SPEEX_GET_FRAME_SIZE*/, __FrameSize);
speex_encoder_ctl(_State, 16 /*SPEEX_SET_COMPLEXITY*/,
__Complexity);
speex_encoder_ctl(_State, 24 /*SPEEX...