Re: [AD] set_volume_per_voice() maximum volume

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


> Why would it distort?
>
> Volume = 255
>
> Pan:              0   64   128   192   255
> ------------------------------------------
> Right Channel     0  128   255   255   255
> Left  Channel   255  255   255   128     0
>

I think it really is
 Volume = 255

 Pan:              0   64   128   192   255
 ------------------------------------------
 Right Channel     0  128   255   383   512
 Left  Channel   512  383   255   128     0
total both:         512  512   512   512  512

But in anyway, for games that dont usually use more than one sample at once
(like adventure games) it has been a pitty till now to be able to hear that
sample
only at half it's volume (not to mention DirectSound mixer mixes it at full
volume)



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