mirror of
https://github.com/python/cpython.git
synced 2025-08-31 05:58:33 +00:00
Regenerated now that bgen can handle a few more constructs in constant definitions.
This commit is contained in:
parent
d16b5abc07
commit
1836dbe22d
21 changed files with 174 additions and 26 deletions
|
@ -1,8 +1,10 @@
|
|||
# Generated from 'SWDev:Codewarrior Pro 5:Metrowerks CodeWarrior:MacOS Support:Universal:Interfaces:CIncludes:Sound.h'
|
||||
# Generated from 'flap:CodeWarrior Pro 5:Metrowerks CodeWarrior:MacOS Support:Universal:Interfaces:CIncludes:Sound.h'
|
||||
|
||||
def FOUR_CHAR_CODE(x): return x
|
||||
soundListRsrc = FOUR_CHAR_CODE('snd ')
|
||||
kSimpleBeepID = 1
|
||||
# rate48khz = (long)0xBB800000
|
||||
# rate44khz = (long)0xAC440000
|
||||
rate22050hz = 0x56220000
|
||||
rate22khz = 0x56EE8BA3
|
||||
rate11khz = 0x2B7745D1
|
||||
|
@ -34,6 +36,8 @@ secondSoundFormat = 0x0002
|
|||
dbBufferReady = 0x00000001
|
||||
dbLastBuffer = 0x00000004
|
||||
sysBeepDisable = 0x0000
|
||||
sysBeepEnable = (1 << 0)
|
||||
sysBeepSynchronous = (1 << 1)
|
||||
unitTypeNoSelection = 0xFFFF
|
||||
unitTypeSeconds = 0x0000
|
||||
stdSH = 0x00
|
||||
|
@ -185,6 +189,7 @@ siCloseDriver = FOUR_CHAR_CODE('clos')
|
|||
siInitializeDriver = FOUR_CHAR_CODE('init')
|
||||
siPauseRecording = FOUR_CHAR_CODE('paus')
|
||||
siUserInterruptProc = FOUR_CHAR_CODE('user')
|
||||
# kInvalidSource = (long)0xFFFFFFFF
|
||||
kNoSource = FOUR_CHAR_CODE('none')
|
||||
kCDSource = FOUR_CHAR_CODE('cd ')
|
||||
kExtMicSource = FOUR_CHAR_CODE('emic')
|
||||
|
@ -260,6 +265,32 @@ k16BitNativeEndianFormat = k16BitLittleEndianFormat
|
|||
k16BitNonNativeEndianFormat = k16BitBigEndianFormat
|
||||
k16BitNativeEndianFormat = k16BitBigEndianFormat
|
||||
k16BitNonNativeEndianFormat = k16BitLittleEndianFormat
|
||||
k8BitRawIn = (1 << 0)
|
||||
k8BitTwosIn = (1 << 1)
|
||||
k16BitIn = (1 << 2)
|
||||
kStereoIn = (1 << 3)
|
||||
k8BitRawOut = (1 << 8)
|
||||
k8BitTwosOut = (1 << 9)
|
||||
k16BitOut = (1 << 10)
|
||||
kStereoOut = (1 << 11)
|
||||
kReverse = (1L << 16)
|
||||
kRateConvert = (1L << 17)
|
||||
kCreateSoundSource = (1L << 18)
|
||||
kHighQuality = (1L << 22)
|
||||
kNonRealTime = (1L << 23)
|
||||
kSourcePaused = (1 << 0)
|
||||
kPassThrough = (1L << 16)
|
||||
kNoSoundComponentChain = (1L << 17)
|
||||
kNoMixing = (1 << 0)
|
||||
kNoSampleRateConversion = (1 << 1)
|
||||
kNoSampleSizeConversion = (1 << 2)
|
||||
kNoSampleFormatConversion = (1 << 3)
|
||||
kNoChannelConversion = (1 << 4)
|
||||
kNoDecompression = (1 << 5)
|
||||
kNoVolumeConversion = (1 << 6)
|
||||
kNoRealtimeProcessing = (1 << 7)
|
||||
kScheduledSource = (1 << 8)
|
||||
kBestQuality = (1 << 0)
|
||||
kInputMask = 0x000000FF
|
||||
kOutputMask = 0x0000FF00
|
||||
kOutputShift = 8
|
||||
|
@ -277,6 +308,9 @@ audioLeftChannel = 1
|
|||
audioRightChannel = 2
|
||||
audioUnmuted = 0
|
||||
audioMuted = 1
|
||||
audioDoesMono = (1L << 0)
|
||||
audioDoesStereo = (1L << 1)
|
||||
audioDoesIndependentChannels = (1L << 2)
|
||||
siCDQuality = FOUR_CHAR_CODE('cd ')
|
||||
siBestQuality = FOUR_CHAR_CODE('best')
|
||||
siBetterQuality = FOUR_CHAR_CODE('betr')
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue