[AD] set_volume() is evil

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


Hi

It's been a while since I last brought this up, so it's time to complain 
again :)

set_volume() should not set the global volume on multitasking OSs. It should 
set a volume local to the application. The global mixer volumes (as in 
Windows Volume Control) should only ever be changed when the user directly 
requests it; otherwise Allegro progs tend to max them out and break the 
user's speakers.

Last time I brought this up, I was told that set_volume() is doing what the 
docs says so there isn't a problem. Sooo, why don't we change the docs? ;)

And don't break the API by renaming the function either ;D

Ben



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