diff options
author | Jack Jansen <jack.jansen@cwi.nl> | 1995-06-06 13:08:40 (GMT) |
---|---|---|
committer | Jack Jansen <jack.jansen@cwi.nl> | 1995-06-06 13:08:40 (GMT) |
commit | b81cf9d61c71f9b5949b9424cec1f59ac4a426e8 (patch) | |
tree | 2b8fdc1f0dfd48b31a650f5a41864a8dc0b5ea7e /Mac/Modules/snd/sndscan.py | |
parent | ae8a68f40cd56aa952520260970ebd5b9d3fb95c (diff) | |
download | cpython-b81cf9d61c71f9b5949b9424cec1f59ac4a426e8.zip cpython-b81cf9d61c71f9b5949b9424cec1f59ac4a426e8.tar.gz cpython-b81cf9d61c71f9b5949b9424cec1f59ac4a426e8.tar.bz2 |
Trying again to check it in. Changes to:
- Use Universal Headers as input
- Change addpack calls to not depend on Guido's disklayout
- Checkge testprograms to use new names for some functions
Diffstat (limited to 'Mac/Modules/snd/sndscan.py')
-rw-r--r-- | Mac/Modules/snd/sndscan.py | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/Mac/Modules/snd/sndscan.py b/Mac/Modules/snd/sndscan.py index 02c9177..8201b2c 100644 --- a/Mac/Modules/snd/sndscan.py +++ b/Mac/Modules/snd/sndscan.py @@ -2,6 +2,9 @@ # Then import sndsupport (which execs sndgen.py) to generate Sndmodule.c. # (Should learn how to tell the compiler to compile it as well.) +import addpack +addpack.addpack(':Tools:bgen:bgen') + from scantools import Scanner def main(): @@ -36,6 +39,10 @@ class SoundScanner(Scanner): 'StartSound', 'StopSound', 'SoundDone', + # These are soundMgr 3.0 routines that I can't seem to find... + 'GetSoundPreference', + 'SetSoundPreference', + 'GetCompressionInfo', ] @@ -43,6 +50,7 @@ class SoundScanner(Scanner): return [ "GetSoundVol", "SetSoundVol", + "UnsignedFixed", ] def makerepairinstructions(self): @@ -62,6 +70,9 @@ class SoundScanner(Scanner): ([("SMStatusPtr", "*", "InMode")], [("SMStatus", "*", "OutMode")]), + + ([("CompressionInfoPtr", "*", "InMode")], + [("CompressionInfo", "*", "OutMode")]), # For SndPlay's SndListHandle argument ([("Handle", "sndHdl", "InMode")], |