diff options
author | Jacob Meuser <jakemsr@cvs.openbsd.org> | 2007-07-18 18:34:33 +0000 |
---|---|---|
committer | Jacob Meuser <jakemsr@cvs.openbsd.org> | 2007-07-18 18:34:33 +0000 |
commit | ae50470e6b1b394f8723beaa9a529da47199d5b3 (patch) | |
tree | 52797965d2ede26bff40454e51c405c17dbc7d78 /games/hack/def.objclass.h | |
parent | f96f4359e5d16d4ee820e670335e29bb9a2180d5 (diff) |
move the processing of the pause attribute to the end of audiosetinfo(),
to allow buffer sizes and pointer to the buffer to be set to reasonable
values for the sample size of the data to be read/written.
fixes kernel corruption seen with azalia and probably other drivers
that are using something other than 8kHz monaural mulaw as the default
encoding when doing 'dd if=/dev/audio of=foo' as the first audio
operation after boot.
problem reported by deanna@
Diffstat (limited to 'games/hack/def.objclass.h')
0 files changed, 0 insertions, 0 deletions