How to switch Audigy in analog mode (emu10kx from CURRENT)?
Karol Kwiatkowski
karol.kwiat at gmail.com
Fri Mar 16 15:15:27 UTC 2007
[ resending to list, it seems mailman doesn't like signed emails with
attachments ]
Yuriy Tsibizov wrote:
>> One last question - is there an easy way to switch the digital output
>> completely off? I don't mind patching the sources, just I don't know
>> what to look for.
> You can try to change line 2510 of emu10kx.c
> (http://fxr.watson.org/fxr/source/dev/sound/pci/emu10kx.c#L2510)
> to
>
> emumix_set_mode(sc, MODE_ANALOG);
>
> You should get silence on center/sub instead of digital 'noise'.
That works as expected, excellent!
Attached a patch against emu10kx.c form CURRENT:
emu10kx.c,v 1.9 2007/02/23 19:41:16 ariff Exp $
for archives, in case someone else was interested in this workaround.
Thank you for your support,
Karol
--
Karol Kwiatkowski <karol.kwiat at gmail dot com>
OpenPGP 0x06E09309
-------------- next part --------------
--- sys/dev/sound/pci/emu10kx.c.orig Fri Feb 23 20:41:16 2007
+++ sys/dev/sound/pci/emu10kx.c Fri Mar 16 15:38:04 2007
@@ -2507,7 +2507,7 @@
device_printf(sc->dev, "Audigy card initialized in analog mode.\n");
def_mode = MODE_ANALOG;
}
- emumix_set_mode(sc, def_mode);
+ emumix_set_mode(sc, MODE_ANALOG);
if (bootverbose) {
tmp = emu_rd(sc, HCFG, 4);
More information about the freebsd-multimedia
mailing list