Re: [AD] Allegro's mixer, update |
[ Thread Index |
Date Index
| More lists.liballeg.org/allegro-developers Archives
]
On Wed, 2004-04-14 at 00:27, Ben Davis wrote:
> 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?).
>
Well, char *str="[sound]quality=2"; override_config_data(str);
install_sound(..); always worked. There's no way currently to change it
after install_sound though - but would fit into KCat's new functions, I
think.
--
Elias Pschernig <elias@xxxxxxxxxx>