diff options
author | Greg Ward <gward@python.net> | 2002-11-30 22:56:44 +0000 |
---|---|---|
committer | Greg Ward <gward@python.net> | 2002-11-30 22:56:44 +0000 |
commit | 131bce035a5d5f726bf226f5325fed08cc50215c (patch) | |
tree | fdfc550db30a66f03a4c4a73fe7c54e9d630aa0c /Python | |
parent | 04613a930863486db854ecbdfffdaa27222b1265 (diff) | |
download | cpython-git-131bce035a5d5f726bf226f5325fed08cc50215c.tar.gz |
* Don't put the device in non-blocking mode at open() time; this makes
it impossible to access blocking mode!
* Rename write() to writeall(), and add a write() method that just
does one write().
* Rearrange/simplify writeall(): in particular, don't supply a timeout
to select(). Let it block forever if it has to.
* Add a bunch of simple ioctl() wrappers: nonblock(), setfmt(),
getfmts(), channels(), speed(), sync(), reset(), post(). These
wrap, respectively, SNDCTL_DSP_NONBLOCK, SNDCTL_DSP_SETFMT,
SNDCTL_DSP_GETFMTS, etc.
* Reduce flush() (which was a wrapper for the SNDCTL_DSP_SYNC ioctl) to
an alias for sync().
* Rearrange the lad_methods list to reflect the order in which the
methods are defined, and add some grouping comments.
Diffstat (limited to 'Python')
0 files changed, 0 insertions, 0 deletions