diff options
author | cg <cg@FreeBSD.org> | 2000-05-26 21:15:47 +0000 |
---|---|---|
committer | cg <cg@FreeBSD.org> | 2000-05-26 21:15:47 +0000 |
commit | e7de7487d9f2c8301120a8d7b0764cff65dead8c (patch) | |
tree | ef0510b1c060f4f7b7834089dfe7d1fc9ed32632 /sys/dev/sound/pci/aureal.c | |
parent | 8c66999e1dece9580671edf7cd994284f29eacee (diff) | |
download | FreeBSD-src-e7de7487d9f2c8301120a8d7b0764cff65dead8c.zip FreeBSD-src-e7de7487d9f2c8301120a8d7b0764cff65dead8c.tar.gz |
handle emulated dma reads
don't try to get sample size from snd_dbuf
Diffstat (limited to 'sys/dev/sound/pci/aureal.c')
-rw-r--r-- | sys/dev/sound/pci/aureal.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/sys/dev/sound/pci/aureal.c b/sys/dev/sound/pci/aureal.c index c16fffa7..c1e040d 100644 --- a/sys/dev/sound/pci/aureal.c +++ b/sys/dev/sound/pci/aureal.c @@ -350,7 +350,10 @@ auchan_trigger(void *data, int go) { struct au_chinfo *ch = data; struct au_info *au = ch->parent; - if (go == PCMTRIG_EMLDMAWR) return 0; + + if (go == PCMTRIG_EMLDMAWR || go == PCMTRIG_EMLDMARD) + return 0; + if (ch->dir == PCMDIR_PLAY) { au_setadb(au, 0x11, (go)? 1 : 0); if (!go) { |