Staging
v0.5.1
https://github.com/python/cpython
Revision e2b7c4dea38568ac7fa1576167fb1b32bf9cdf3f authored by Jeremy Hylton on 06 October 2000, 19:39:55 UTC, committed by Jeremy Hylton on 06 October 2000, 19:39:55 UTC
    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
1 parent d88d0a1
History
Tip revision: e2b7c4dea38568ac7fa1576167fb1b32bf9cdf3f authored by Jeremy Hylton on 06 October 2000, 19:39:55 UTC
test_linuxaudio:
Tip revision: e2b7c4d
File Mode Size
example_nt
os2vacpp
src
utils
vc15_lib
vc15_w31
wat_dos
wat_os2
WinMain.c -rw-r--r-- 484 bytes
_winreg.c -rw-r--r-- 41.9 KB
config.c -rw-r--r-- 2.6 KB
config.h -rw-r--r-- 19.9 KB
dl_nt.c -rw-r--r-- 906 bytes
dllbase_nt.txt -rw-r--r-- 2.2 KB
frozen_dllmain.c -rw-r--r-- 3.6 KB
getpathp.c -rw-r--r-- 14.0 KB
import_nt.c -rw-r--r-- 2.4 KB
make8x3.py -rw-r--r-- 2.2 KB
makesrc.exe -rw-r--r-- 25.0 KB
msvcrtmodule.c -rwxr-xr-x 4.2 KB
py.ico -rw-r--r-- 766 bytes
pyc.ico -rw-r--r-- 766 bytes
pycon.ico -rw-r--r-- 766 bytes
pyth_w31.def -rw-r--r-- 128 bytes
python.mk -rw-r--r-- 234 bytes
python.wpj -rw-r--r-- 412 bytes
python_exe.rc -rw-r--r-- 49 bytes
python_nt.rc -rw-r--r-- 1.4 KB
readme.txt -rw-r--r-- 5.5 KB
testpy.py -rw-r--r-- 850 bytes
w9xpopen.c -rw-r--r-- 1.7 KB
winsound.c -rw-r--r-- 4.4 KB

readme.txt

back to top