Jean-Marc Valin
2004-Aug-06 15:02 UTC
[speex-dev] Re: does installed lib support _int()s ?
> Runtime methods would be nice too, for prebuilts to be able to determine > what they can call and whatnot.Note that the original thing I proposed (speex_lib_ctl and SPEEX_LIB_GET_VERSION, ...) is a run-time method. Note however that you'd still have to dlopen the library since can't just do: if (call_is_allowed) speex_encode_int(...); because then it won't link. --- >8 ---- List archives: http://www.xiph.org/archives/ Ogg project homepage: http://www.xiph.org/ogg/ To unsubscribe from this list, send a message to 'speex-dev-request@xiph.org' containing only the word 'unsubscribe' in the body. No subject is needed. Unsubscribe messages sent to the list will be ignored/filtered.
Malcolm Baldridge
2004-Aug-06 15:02 UTC
[speex-dev] Re: does installed lib support _int()s ?
> Sounds reasonable. You could also overload the existing speex_*_ctl() > calls to take SPEEX_GET_LIB_VERSION, SPEEX_GET_LIB_MAJOR_VERSION, etc. > > What people are really asking for here is a way to determine at for > conditional compilation (i.e. at configure time) what calls are > available.Runtime methods would be nice too, for prebuilts to be able to determine what they can call and whatnot. =MB--- >8 ---- List archives: http://www.xiph.org/archives/ Ogg project homepage: http://www.xiph.org/ogg/ To unsubscribe from this list, send a message to 'speex-dev-request@xiph.org' containing only the word 'unsubscribe' in the body. No subject is needed. Unsubscribe messages sent to the list will be ignored/filtered.
Malcolm Baldridge
2004-Aug-06 15:02 UTC
[speex-dev] Re: does installed lib support _int()s ?
> Note however that you'd still have to dlopen the library since can't > just do: if (call_is_allowed) > speex_encode_int(...); > > because then it won't link.Yeah, I understand that. I wonder if there's a way to "weak-link" against libraries on Linux/GNU-ld-so? The idea is that a symbol lookup/relocation isn't performed until the call is actually MADE, rather than merely referenced. Anyhow, that's a different problem with a different mailing list. :) =MB <p><p>--- >8 ---- List archives: http://www.xiph.org/archives/ Ogg project homepage: http://www.xiph.org/ogg/ To unsubscribe from this list, send a message to 'speex-dev-request@xiph.org' containing only the word 'unsubscribe' in the body. No subject is needed. Unsubscribe messages sent to the list will be ignored/filtered.