Bug #3286 » dsp.c.patch
sys/dev/sound/pcm/dsp.c | ||
---|---|---|
kn->kn_hook = (caddr_t)rdch;
|
||
bs = rdch->bufsoft;
|
||
ap->a_result = 0;
|
||
} else {
|
||
ap->a_result = -1;
|
||
}
|
||
break;
|
||
case EVFILT_WRITE:
|
||
... | ... | |
kn->kn_hook = (caddr_t)wrch;
|
||
bs = wrch->bufsoft;
|
||
ap->a_result = 0;
|
||
} else {
|
||
ap->a_result = -1;
|
||
}
|
||
break;
|
||
default:
|