summaryrefslogtreecommitdiffstats
path: root/Lib/test/test_ossaudiodev.py
Commit message (Collapse)AuthorAgeFilesLines
* On those systems lacking the AFMT_S16_NE symbol, the test was failingAndrew MacIntyre2003-07-021-1/+1
| | | | | | | because it was still looking in the ossaudiodev module namespace for this symbol. As the symbol has already been rebound as a global, use that instead.
* Factor endian-ness check out of play_sound_file(), and fixGreg Ward2003-06-031-7/+12
| | | | | test_setparameters() to use it -- don't assume AFMT_S16_NE is always defined!
* Renamed test_errors() to test_setparameters() and completely rewrote itGreg Ward2003-05-291-30/+54
| | | | | | | to test the new setparameters() interface. Modified play_sound_file() to print the elapsed time taken to play the test sample (to the nearest 0.1 sec).
* Order and number of arguments to setparameters() has changed.Greg Ward2003-05-291-24/+23
| | | | Rename 'a' (the audio device) to 'dsp' everywhere.
* - The audio driver tests (test_ossaudiodev.py andGuido van Rossum2003-02-141-0/+3
| | | | | | | test_linuxaudiodev.py) are no longer run by default. This is because they don't always work, depending on your hardware and software. To run these tests, you must use an invocation like ./python Lib/test/regrtest.py -u audio test_ossaudiodev
* - be explicit: audio data files should be opened in binary modeFred Drake2003-01-081-2/+2
| | | | | - ossaudiodev.open() raises IOError, not ossaudiodev.error, for cases which get mapped to TestSkipped
* Aesthetic tweakery: factor read_sound_file() out of play_sound_file().Greg Ward2002-12-101-5/+9
|
* Initial revision is rev 1.8 of test_linuxaudiodev.py, withGreg Ward2002-12-101-0/+89
the obvious s/linuxaudiodev/ossaudiodev/ change made.