Re: [AD] set_volume_per_voice() maximum volume

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


Ben Davis wrote:

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


I didn't like the idea of a single panned sample distorting...


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 might have gotten the right and left channels reversed)
	

--
- Robert J Ohannessian
"Microsoft code is probably O(n^20)" (my CS prof)
http://pages.infinit.net/voidstar/



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