Re: [AD] Allegro's mixer, update

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


On Tuesday 13 April 2004 23:04, Chris wrote:
> It's also good to see the interpolation
> mixer didn't get much of an impact despite using some 64-bit math (btw,
> thanks Ben!).

You're welcome :)

For the information of those too lazy to look at the source, what we've done 
compiles with GCC 3.x to a 32*32->32:32 IMUL instruction after which EDX is 
used and EAX is discarded. It might be wise to see what other compilers do 
though.

> Those numbers are pretty encouraging in that the low quality mixer is
> obsolete, though. I'll run the test program myself, but if it holds
> true, I would like to remove the low quality mixer (and change the mono
> mixer to use the same algo as hq1, obviously I wouldn't remove that).

I would suggest leaving it in, since many people relish the retro sound of 
non-interpolating mixers. I would also very much like to be able to control 
the mixing quality without hacking the config file (is that possible yet?).

> a simple fix would be to reserve
> 1 DX voice to play Allegro's mixer on.

I'm guessing that's what the DIGI_DIRECTAMX(n) mixer does.

Ben




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