hello, we start to develop an open source project. This project is a VoIp application with the same features like "Teamspeak" (http://www.goteamspeak.com). Our test application run in peer to peer mode under windows 2000 and above. At the moment we are using the gsm codec (13 kbps bandwidth). Later there will be a port for *unix systems. As aforementioned the project will be released as freeware under the bsd license. We have no commercial intentions in mind. 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. regards, Grigory Fishilevich -- NEU +++ DSL Komplett von GMX +++ http://www.gmx.net/de/go/dsl GMX DSL-Netzanschluss + Tarif zum supergünstigen Komplett-Preis!
On Wed, Nov 03, 2004 at 04:14:19PM +0100, mister.F@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.
> 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.It's not yet released BTW, so you'll need to get the SVN version.> see README.symbian for more details -- sorry, these docs should be > incorporated elsewhere :) > > afaik the old speex_mode_list[] interface will be deprecated.but I will keep maintaining it for 1.0.x, so nothing will break. Jean-Marc