Re: [AD] set_volume_per_voice() maximum volume

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


I think full volume is the way to go
i always wondered why the max was half volume =)


> > Yes, it is a latency issue, also, a volume issue (if I understand the
> > documentation correctly, Allegro at BEST outputs centered stereo
> > waveforms at half volume)...
>
> I suggested this before, but no one responded:
>
> Does anyone want me to adjust the functionality of set_volume_per_voice()
so
> that centred stereo waveforms can play at full volume?
>
> This would break backward compatibility, but only since WIP 3.9.34.
>
> Alternatively I could do this:
>
> void set_volume_per_voice_ex(int scale);
> #define set_volume_per_voice(scale) set_volume_per_voice_ex(scale + 1)
>
> But that's ugly.
>
> What do you think?
>
> Ben Davis
>
>



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