Displaying 2 results from an estimated 2 matches for "speex_get_release_level".
2004 Aug 06
0
Re: does installed lib support _int()s ?
....1b17 would be: 0x00010161
2.2.35 would be: 0x000202A3
Then you can define compile-time MACROS for
#define SPEEX_GET_FULL_VERSION (speex_lib_version())
#define SPEEX_GET_MAJOR_MINOR_VERSION (speex_lib_version() >> 24)
#define SPEEX_GET_MAJOR_VERSION (speex_lib_version() >> 16)
#define SPEEX_GET_RELEASE_LEVEL (speex_lib_version() & 0xFFUL)
#define SPEEX_GET_FULL_MINOR_VERSION (speex_lib_version() & 0xffffUL)
#define SPEEX_GET_MINOR_VERSION ((speex_lib_version() >> 8) & 0xFFUL)
2) A *RUNTIME* call into the library which returns the text-version string
of the library in use.
peex_lib_v...
2004 Aug 06
4
Re: does installed lib support _int()s ?
Hi,
Right now, I'm thinking of adding a speex_lib_ctl() call that would
support SPEEX_GET_VERSION (and return a string) or
SPEEX_GET_MAJOR_VERSION and SPEEX_GET_MINOR_VERSION (and return ints).
I'm open to other suggestions though. If there's anything you'd like to
see in the API for 1.2, say it now. ...and no, I won't add a
speex_do_all_the_work_for_me() call :)