diff options
Diffstat (limited to 'Mac/Lib/toolbox/Sound.py')
-rw-r--r-- | Mac/Lib/toolbox/Sound.py | 49 |
1 files changed, 25 insertions, 24 deletions
diff --git a/Mac/Lib/toolbox/Sound.py b/Mac/Lib/toolbox/Sound.py index a65c652..515d024 100644 --- a/Mac/Lib/toolbox/Sound.py +++ b/Mac/Lib/toolbox/Sound.py @@ -1,15 +1,20 @@ -# Generated from 'D:Development:THINK C:Mac #includes:Apple #includes:Sound.h' +# Generated from 'Moes:CW5 GOLD \304:Metrowerks C/C++ \304:Headers \304:Universal Headers 2.0a3 \304:Sound.h' -swMode = -1 -ftMode = 1 -ffMode = 0 -rate22khz = 0x56EE8BA3 -rate11khz = 0x2B7745D1 +soundListRsrc = 'snd ' +rate44khz = 0xAC440000L +rate22050hz = 0x56220000L +rate22khz = 0x56EE8BA3L +rate11khz = 0x2B7745D1L +rate11025hz = 0x2B110000 squareWaveSynth = 1 waveTableSynth = 3 sampledSynth = 5 MACE3snthID = 11 MACE6snthID = 13 +kMiddleC = 60 +kSimpleBeepID = 1 +kFullVolume = 0x0100 +kNoVolume = 0 nullCmd = 0 initCmd = 1 freeCmd = 2 @@ -21,23 +26,18 @@ pauseCmd = 11 resumeCmd = 12 callBackCmd = 13 syncCmd = 14 -emptyCmd = 15 -tickleCmd = 20 -requestNextCmd = 21 -howOftenCmd = 22 -wakeUpCmd = 23 availableCmd = 24 versionCmd = 25 totalLoadCmd = 26 loadCmd = 27 -scaleCmd = 30 -tempoCmd = 31 freqDurationCmd = 40 restCmd = 41 freqCmd = 42 ampCmd = 43 timbreCmd = 44 getAmpCmd = 45 +volumeCmd = 46 +getVolumeCmd = 47 waveTableCmd = 60 phaseCmd = 61 soundCmd = 80 @@ -46,6 +46,8 @@ rateCmd = 82 continueCmd = 83 doubleBufferCmd = 84 getRateCmd = 85 +rateMultiplierCmd = 86 +getRateMultiplierCmd = 87 sizeCmd = 90 convertCmd = 91 stdQLength = 128 @@ -55,10 +57,6 @@ waveInitChannel0 = 0x04 waveInitChannel1 = 0x05 waveInitChannel2 = 0x06 waveInitChannel3 = 0x07 -initPanMask = 0x0003 -initSRateMask = 0x0030 -initStereoMask = 0x00C0 -initCompMask = 0xFF00 initChanLeft = 0x0002 initChanRight = 0x0003 initNoInterp = 0x0004 @@ -67,18 +65,21 @@ initMono = 0x0080 initStereo = 0x00C0 initMACE3 = 0x0300 initMACE6 = 0x0400 -initChan0 = 0x0004 -initChan1 = 0x0005 -initChan2 = 0x0006 -initChan3 = 0x0007 -stdSH = 0x00 -extSH = 0xFF -cmpSH = 0xFE +initPanMask = 0x0003 +initSRateMask = 0x0030 +initStereoMask = 0x00C0 +initCompMask = 0xFF00 +kUseOptionalOutputDevice = -1 notCompressed = 0 +fixedCompression = -1 +variableCompression = -2 twoToOne = 1 eightToThree = 2 threeToOne = 3 sixToOne = 4 +stdSH = 0x00 +extSH = 0xFF +cmpSH = 0xFE outsideCmpSH = 0 insideCmpSH = 1 aceSuccess = 0 |