Fix an inconsistency that crept in while replacing constants

from the new header.

Approved by:	jhb (mentor)
MFC after:	3 days
This commit is contained in:
Pedro F. Giffuni 2012-01-11 21:03:54 +00:00
parent 82d1a3cac3
commit 7523592f91

View File

@ -1079,9 +1079,9 @@ emurchan_trigger(kobj_t obj, void *data, int go)
emu_wrptr(sc, 0, ch->sizereg, sz);
if (ch->num == 0) {
if (sc->audigy) {
val = EMU_ADCCR_LCHANENABLE;
val = EMU_A_ADCCR_LCHANENABLE;
if (AFMT_CHANNEL(ch->fmt) > 1)
val |= EMU_ADCCR_RCHANENABLE;
val |= EMU_A_ADCCR_RCHANENABLE;
val |= audigy_recval(ch->spd);
} else {
val = EMU_ADCCR_LCHANENABLE;