Submit #2804 » sound.patch
sys/dev/sound/pcm/dsp.c | ||
---|---|---|
pcm_chnrelease(rdch);
|
||
}
|
||
} else {
|
||
if (flags & O_NONBLOCK)
|
||
rdch->flags |= CHN_F_NBIO;
|
||
if (flags & O_EXCL)
|
||
rdch->flags |= CHN_F_EXCLUSIVE;
|
||
pcm_chnref(rdch, 1);
|
||
... | ... | |
pcm_chnrelease(wrch);
|
||
}
|
||
} else {
|
||
if (flags & O_NONBLOCK)
|
||
wrch->flags |= CHN_F_NBIO;
|
||
if (flags & O_EXCL)
|
||
wrch->flags |= CHN_F_EXCLUSIVE;
|
||
pcm_chnref(wrch, 1);
|