Re: [AD] Windows sound config

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


> When I did the same thing in Windows, *using DIGI_DIRECTAMX(0)*, it failed
> to read the config file. The quality was always the same (I believe it was
> using quality = 1).

There is a bug in the 3.9.34 version: the global digital volume can't be
modified (either by set_volume() or through the digi_volume config
variable). Could this have some effect on the quality ?

> In src/mixer.c, the _sound_hq variable is responsible for sound quality.
> In src/win/wdsndmix.c, there's loads of DirectX stuff I don't understand,
> then a call to _mixer_init() from src/mixer.c. _sound_hq is not modified
> anywhere.

AFAIK the variable _sound_hq is actually used only by the src/mixer.c file.

> In src/sound.c, install_sound() calls read_sound_config().
> read_sound_config() uses the standard config functions to read _sound_hq
> from the file.

Quite right.

--
Eric Botcazou
ebotcazou@xxxxxxxxxx



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