troubleshooting Question

C DLL problem.... Access Default Data in DLL

Avatar of matrix69
matrix69 asked on
2 Comments1 Solution497 ViewsLast Modified:
Hi... need help....

in the h file this is declared .....

/** Default narrowband mode */
extern const SpeexMode speex_nb_mode;

/** Default wideband mode */
extern const SpeexMode speex_wb_mode;

/** Default "ultra-wideband" mode */
extern const SpeexMode speex_uwb_mode;

#ifdef EPIC_48K
/** 4.8 kbps narrowband mode */
extern const SpeexMode speex_nb_48k_mode;

/** List of all modes available */
extern const SpeexMode *speex_mode_list[SPEEX_NB_MODES];

in the C file its like this....

const SpeexMode speex_nb_mode = {

const SpeexMode * const speex_mode_list[SPEEX_NB_MODES] = {&speex_nb_mode, &speex_wb_mode, &speex_uwb_mode};

Usage for "SpeexNbMode"

encstate := speex_encoder_init(SpeexNbMode);

so how do I access the default data in the DLL? "extern const SpeexMode speex_nb_mode;"
Join the community to see this answer!
Join our exclusive community to see this answer & millions of others.
Unlock 1 Answer and 2 Comments.
Join the Community
Learn from the best

Network and collaborate with thousands of CTOs, CISOs, and IT Pros rooting for you and your success.

Andrew Hancock - VMware vExpert
See if this solution works for you by signing up for a 7 day free trial.
Unlock 1 Answer and 2 Comments.
Try for 7 days

”The time we save is the biggest benefit of E-E to our team. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange.

-Mike Kapnisakis, Warner Bros