summaryrefslogtreecommitdiffstats
path: root/Lib/test/output/test_linuxaudiodev
Commit message (Collapse)AuthorAgeFilesLines
* Convert test_linuxaudiodev to unittest. Fix a wrong finally clause in ↵Georg Brandl2007-08-241-7/+0
| | | | test_ossaudiodev.
* better format names and error messagesKa-Ping Yee2001-01-151-2/+2
|
* Adapt test output to changed error message.Guido van Rossum2000-10-081-1/+1
|
* Correct output.Guido van Rossum2000-10-081-1/+1
|
* test_linuxaudio:Jeremy Hylton2000-10-061-0/+6
| | | | | | | | | | | | | | | | | | | | | | 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
* Added test for linnuxaudiodev module; directly adapted from sunaudiodevFred Drake2000-06-101-0/+1
test. Someone with more Linux audio knowledge should at least take a brief look at it.