Re: [AD] loadable modules |
[ Thread Index | Date Index | More lists.liballeg.org/allegro-developers Archives ]
Elias Pschernig wrote:
Loadable modulesin A4 were rather simple. Our alsa module is just another .so file which is linked against alsa. Allegro then on startup tries to load it. That's it. What was complicated was the way to locate our module .so files, and all the build options to support building without modules.
Why having modules at all? We use dozen of ALSA functions, and that's the worst case. That could easily fit in a list of functions to load, like we do with OpenGL extensions, but in a cleaner way.
-- Milan Mimica http://sparklet.sf.net
Mail converted by MHonArc 2.6.19+ | http://listengine.tuxfamily.org/ |