Re: [AD] Sound API

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


Ben Davis wrote:
Just out of interest, what volume bug are we talking about here? I was using set_volume_per_voice(0), so it should have played at full volume already; it did for me.

Allegro will never play at full volume without my patch. Remember, the clipping table will clip it to a max of 14-bit output (lest output wraps), and also the internal volume ranges were only 13 or 14-bit too. My patch allows the volume range to be a full 16-bit, and mixes in full 24-bit precision until it's scaled down to whatever the driver wants. It even interpolates 8-bit samples with full 24-bit precision, instead of interpolating fully in 8-bit then scaling up like it does now.

- Kitty Cat




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