diff options
author | Alexandre Ratchov <ratchov@cvs.openbsd.org> | 2008-05-28 07:36:24 +0000 |
---|---|---|
committer | Alexandre Ratchov <ratchov@cvs.openbsd.org> | 2008-05-28 07:36:24 +0000 |
commit | deb0a4be82f1e2a1111ebf91be33050466864ed4 (patch) | |
tree | e09a344430c7361862fabe4e85d16fd6e8e37897 /etc/etc.sgi | |
parent | c542d89ee273cfdf04e73425647f95b5c354c9ac (diff) |
if aucat is resumed (after suspend), kernel buffers are empty, thus write()
syscall succedes and consumes aucat buffers until kernel buffers are full.
If aucat buffers are smaller than kernel ones, they will underrun, and aucat
will terminate, since underruns are not handled yet.
This changes is an improvement until SIGCONT handler is implemented. The
correct approach is to add a handler for SIGCONT to: call dev_stop(), reset
all buffers, bring play and record in sync, fill play buffers and call
dev_start().
ok jakemsr
Diffstat (limited to 'etc/etc.sgi')
0 files changed, 0 insertions, 0 deletions