diff options
| author | Cameron Grant <cg@FreeBSD.org> | 2000-07-30 19:36:13 +0000 |
|---|---|---|
| committer | Cameron Grant <cg@FreeBSD.org> | 2000-07-30 19:36:13 +0000 |
| commit | e04387c95a202778e4826bdeb2837a4befabc9c6 (patch) | |
| tree | 8ae91e7b964f950d31656b1f63154c1669c2b6a8 /sys/dev | |
| parent | d8e52ef8e07b09f7b03f2ed6bdb955121f307b48 (diff) | |
Notes
Diffstat (limited to 'sys/dev')
| -rw-r--r-- | sys/dev/sound/pcm/dsp.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/sys/dev/sound/pcm/dsp.c b/sys/dev/sound/pcm/dsp.c index 903de31bb0ce..8765860bea98 100644 --- a/sys/dev/sound/pcm/dsp.c +++ b/sys/dev/sound/pcm/dsp.c @@ -141,8 +141,11 @@ dsp_close(snddev_info *d, int chan, int devtype) { pcm_channel *rdch, *wrch; +#if 0 + /* enable this if/when every close() is propagated here */ d->ref[chan]--; if (d->ref[chan]) return 0; +#endif d->flags &= ~SD_F_TRANSIENT; rdch = d->arec[chan]; wrch = d->aplay[chan]; |
