From e7de7487d9f2c8301120a8d7b0764cff65dead8c Mon Sep 17 00:00:00 2001 From: cg Date: Fri, 26 May 2000 21:15:47 +0000 Subject: handle emulated dma reads don't try to get sample size from snd_dbuf --- sys/dev/sound/pci/aureal.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'sys/dev/sound/pci/aureal.c') 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) { -- cgit v1.1