Displaying 1 result from an estimated 1 matches for "speex_encoder_init_new".
2006 Dec 29
0
using speex in C#
...ll in our voice application written with
C#. In order to use Speex correctly firstly I advice to you examination
speexenc and speexdec projects.
I have used unsafe code and fixed statements in C#. I have added following
method to library and I used that instead of speex_encoder_init simply.
void *speex_encoder_init_new(int modeID)
{
const SpeexMode *mode;
mode = speex_lib_get_mode(modeID);
return mode->enc_init(mode);
}
Maybe following codes that I have been using in a class can help you.
/* structs */
public struct SpeexBits
{
char *chars; /* "raw" data */
int nbBits; /* Total number of b...