Project

General

Profile

Submit #2804 » sound.patch

yellowrabbit2010, 03/12/2015 09:57 PM

View differences:

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);
(1-1/4)