Re: [AD] set_volume() is evil

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


> Has there been any progress on this? Sorry to bug you guys, but the
> altering of the global volume is the main thing that my players are
> complaining about as they have set their levels how they like them and find
> it very frustrating to have the game change them.

We agreed on the principle. Now it's up to someone to implement it... (I am 
personally a bit busy with the stable branch, the Big-Five and the 
allegrowww module to touch the unstable branch for the time being).

> The main problem is that when you quit the game, the global volume doesn't
> get restored to how it was before the game started. For example, I set my
> MIDI slider in Windows Volume Control to about 1/3. I run my allegro game,
> and it changes the volume to the game volume. Then, when I exit the game,
> the global MIDI volume stays at the level the game set, rather than going
> back to 1/3 as it was before the game was launched.
> Would it be easy to make remove_sound() do this?

Yes, probably very easy. We already do so for the DirectSound driver.

-- 
Eric Botcazou



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