diff options
author | Jack Jansen <jack.jansen@cwi.nl> | 2002-12-12 10:31:54 (GMT) |
---|---|---|
committer | Jack Jansen <jack.jansen@cwi.nl> | 2002-12-12 10:31:54 (GMT) |
commit | 6c7e326eaaa2d814e0d299054f78e5bd187489ab (patch) | |
tree | 5343213d9e164e76a47517111dd41b46f7fd4877 /Mac/Modules/snd/sndscan.py | |
parent | 6bf45c67523a8e81963ce645979ac85f4f75ef33 (diff) | |
download | cpython-6c7e326eaaa2d814e0d299054f78e5bd187489ab.zip cpython-6c7e326eaaa2d814e0d299054f78e5bd187489ab.tar.gz cpython-6c7e326eaaa2d814e0d299054f78e5bd187489ab.tar.bz2 |
Getting rid of pre-Carbon (MacOS8) support. All code depending on
TARGET_API_MAC_OS8 (or !TARGET_API_MAC_CARBON) is gone. Also some
TARGET_API_MAC_OSX conditional code is gone, because it is no longer
used on OSX-only Python (only in MacPython-OS9).
Diffstat (limited to 'Mac/Modules/snd/sndscan.py')
-rw-r--r-- | Mac/Modules/snd/sndscan.py | 28 |
1 files changed, 12 insertions, 16 deletions
diff --git a/Mac/Modules/snd/sndscan.py b/Mac/Modules/snd/sndscan.py index fc358a0..a287c73 100644 --- a/Mac/Modules/snd/sndscan.py +++ b/Mac/Modules/snd/sndscan.py @@ -49,25 +49,21 @@ class SoundScanner(Scanner): 'rate48khz', 'rate44khz', 'kInvalidSource', + # OS8 only: + 'MACEVersion', + 'SPBRecordToFile', + 'Exp1to6', + 'Comp6to1', + 'Exp1to3', + 'Comp3to1', + 'SndControl', + 'SndStopFilePlay', + 'SndStartFilePlay', + 'SndPauseFilePlay', + 'SndRecordToFile', ] - def makegreylist(self): - return [ - ('#if !TARGET_API_MAC_CARBON', [ - 'MACEVersion', - 'SPBRecordToFile', - 'Exp1to6', - 'Comp6to1', - 'Exp1to3', - 'Comp3to1', - 'SndControl', - 'SndStopFilePlay', - 'SndStartFilePlay', - 'SndPauseFilePlay', - 'SndRecordToFile', - ])] - def makeblacklisttypes(self): return [ "GetSoundVol", |