summaryrefslogtreecommitdiffstats
path: root/Objects/unicodeobject.c
diff options
context:
space:
mode:
authorJeremy Hylton <jeremy@alum.mit.edu>2000-10-06 19:39:55 (GMT)
committerJeremy Hylton <jeremy@alum.mit.edu>2000-10-06 19:39:55 (GMT)
commite2b7c4dea38568ac7fa1576167fb1b32bf9cdf3f (patch)
tree146d24da90751e2e738a7628ee5b33bfa1abf47c /Objects/unicodeobject.c
parentd88d0a1d5b40982e4d67d9b5f88c634f3de78207 (diff)
downloadcpython-e2b7c4dea38568ac7fa1576167fb1b32bf9cdf3f.zip
cpython-e2b7c4dea38568ac7fa1576167fb1b32bf9cdf3f.tar.gz
cpython-e2b7c4dea38568ac7fa1576167fb1b32bf9cdf3f.tar.bz2
test_linuxaudio:
read the header from the .au file and do a sanity check pass only the data to the audio device call flush() so that program does not exit until playback is complete call all the other methods to verify that they work minimally call setparameters with a bunch of bugs arguments linuxaudiodev.c: use explicit O_WRONLY and O_RDONLY instead of 1 and 0 add a string name to each of the entries in audio_types[] add AFMT_A_LAW to the list of known formats add x_mode attribute to lad object, stores imode from open call test ioctl return value as == -1, not < 0 in read() method, resize string before return add getptr() method, that calls does ioctl on GETIPTR or GETOPTR depending on x_mode in setparameters() method, do better error checking and raise ValueErrors; also use ioctl calls recommended by Open Sound System Programmer's Guido (www.opensound.com) use PyModule_AddXXX to define names in module
Diffstat (limited to 'Objects/unicodeobject.c')
0 files changed, 0 insertions, 0 deletions