[Speex-dev] speex headers and borland c++ builder (bcb)

Martin Roszak MartinRoszak at gmx.de
Fri Oct 22 07:58:55 PDT 2004

I try to include the speex header to a bcb project. Speex headers are the
one. My first problem was to use the lib file with bcb. I solved this issue
restructing the lib file. The second problem is to access the constant
"extern const SpeexMode speex_nb_mode;" through borland's c++ builder.
I could analyze the export table of the libspeex.dll. Unfortunately I could
find an entry for speex_nb_mode.
According to the manual I have to assign the address of this constant:

   /*Create a new encoder state in narrowband mode*/
   state = speex_encoder_init(&speex_nb_mode);

   /*Set the quality to 8 (15 kbps)*/

Could somebody explain how I can access this constant through borland's c++

kindly regards
Martin Roszak

+++ GMX DSL Premiumtarife 3 Monate gratis* + WLAN-Router 0,- EUR* +++
Clevere DSL-Nutzer wechseln jetzt zu GMX: http://www.gmx.net/de/go/dsl

More information about the Speex-dev mailing list