Re: [AD] get_volume() |
[ Thread Index | Date Index | More lists.liballeg.org/allegro-developers Archives ]
Evert Glebbeek wrote:
I could do the get_xxx functions and event the al_get_driver_info() function duringthe next week (I hope). I think it would be great to have this stuff in allegro 4.2 - so I'm not sure if I should useI think, we should just add a function like this: AL_DRIVER_INFO *al_get_driver_info(driver), where driver can be: AL_SYSTEM_DRIVER AL_GFX_DRIVER AL_DIGI_DRIVER AL_JOYSTICK_DRIVER AL_TIMER_DRIVER AL_MIDI_DRIVER and so on.. And struct AL_DRIVER_INFO { AL_ID id; char const *name; char const *description; possibly more info? } That way, we need no separate is_gfx_driver_installed and get_gfx_driver_id functions, which, when done for all drivers, would clutter the API quite a bit.
the al_ prefix? /Lenny
Mail converted by MHonArc 2.6.19+ | http://listengine.tuxfamily.org/ |