Re: [AD] get_volume()

[ Thread Index | Date Index | More lists.liballeg.org/allegro-developers Archives ]


> guilt
> Well, regards this, install_sound() etc do return the values at any
> point of time, so I would remind you that having separate
> is_sound_installed() functions will lead to inconsistency between
> threads and calls. the scope and purpose of these functions must be
> left to the user, and not the library.

Can't follow you here.
Allegro isn't exactly thread save anyway, so why bother?

All the is_xxx_installed() functions would do is to return/check an
internal value (say the driver) and return it.


/Lenny





Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/