diff options
author | Cameron Grant <cg@FreeBSD.org> | 2000-05-26 21:15:47 +0000 |
---|---|---|
committer | Cameron Grant <cg@FreeBSD.org> | 2000-05-26 21:15:47 +0000 |
commit | 35f9e4a1db370aeba865c9aa1fe62b6c75644015 (patch) | |
tree | aca264c20d2f7764e81081b84afe627f6b99461d /sys/dev/sound/pci/neomagic.c | |
parent | 962a3cbc8370789a284592993b8fad02791d414b (diff) | |
download | src-35f9e4a1db370aeba865c9aa1fe62b6c75644015.tar.gz src-35f9e4a1db370aeba865c9aa1fe62b6c75644015.zip |
handle emulated dma reads
don't try to get sample size from snd_dbuf
Notes
Notes:
svn path=/head/; revision=60958
Diffstat (limited to 'sys/dev/sound/pci/neomagic.c')
-rw-r--r-- | sys/dev/sound/pci/neomagic.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/dev/sound/pci/neomagic.c b/sys/dev/sound/pci/neomagic.c index a5dbaa1c58a4..638ac9683552 100644 --- a/sys/dev/sound/pci/neomagic.c +++ b/sys/dev/sound/pci/neomagic.c @@ -396,7 +396,8 @@ nmchan_trigger(void *data, int go) struct sc_info *sc = ch->parent; int ssz; - if (go == PCMTRIG_EMLDMAWR) return 0; + if (go == PCMTRIG_EMLDMAWR || go == PCMTRIG_EMLDMARD) + return 0; ssz = (ch->fmt & AFMT_16BIT)? 2 : 1; if (ch->fmt & AFMT_STEREO) |