Displaying 2 results from an estimated 2 matches for "speex_xxxxx_int".
2004 Aug 06
0
does installed lib support _int()s ?
...compile-time, I'd think that an #ifdef would do the trick.
The only way you could do it at RUNTIME is if you perform a dlopen() on the
speex library instead having it shared-linked, since the runtime ld.so will
fail to run your binary if it's linked against an old speex library without
the speex_XXXXX_int() symbols. You'd open the .so file with RTLD_LAZY mode.
Of course, you'll need to figure out where the speex library is within your
program. You'll be linking against libdl rather than libspeex, and
performing a dlopen() and dlsym() for the various entry points.
You could always wa...
2004 Aug 06
2
does installed lib support _int()s ?
Assuming one prefers to use the speex_encode_int() and
speex_decode_int() when available, but fallback to speex_encode()
and speex_decode() if an older version if the lib is installed,
how does one best make the determination?
The only thing I can see to do is call speex_init_header() and look
at the result. Even at compile time it seems one must compile a test
app that outputs that data and then