[Speex-dev] libspeex.dll
Conrad Parker
conrad at metadecks.org
Wed Nov 3 19:27:24 PST 2004
On Wed, Nov 03, 2004 at 04:14:19PM +0100, mister.F at gmx.net wrote:
> One developer start to implement the speex codec to this project.
> Unfortunately he has some problems to implement the speex headers.
> According to the manual "speex_encoder_init" expect a pointer of
> "speex_nb_mode". Sadly, this constant is not exported by the windows dll
> (see export table of "libspeex.dll" v1.1.6).
> Just as extern const SpeexMode speex_nb_mode; extern const SpeexMode
> speex_wb_mode; extern const SpeexMode *speex_mode_list[SPEEX_NB_MODES];
> Unfortunately we could not find any further information or other
> implemantations of libspeex to solve our problem.
You need to use:
const SpeexMode * mode;
mode = speex_lib_get_mode (SPEEX_MODEID_NB);
due to some issues with managing the export table for Windows.
see README.symbian for more details -- sorry, these docs should be
incorporated elsewhere :)
afaik the old speex_mode_list[] interface will be deprecated.
Conrad.
More information about the Speex-dev
mailing list