summaryrefslogtreecommitdiff
path: root/Python
diff options
context:
space:
mode:
authorGreg Ward <gward@python.net>2002-11-30 22:56:44 +0000
committerGreg Ward <gward@python.net>2002-11-30 22:56:44 +0000
commit131bce035a5d5f726bf226f5325fed08cc50215c (patch)
treefdfc550db30a66f03a4c4a73fe7c54e9d630aa0c /Python
parent04613a930863486db854ecbdfffdaa27222b1265 (diff)
downloadcpython-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