mirror of
https://github.com/python/cpython.git
synced 2025-08-30 21:48:47 +00:00
Regenerated from new (3.1) universal headers
This commit is contained in:
parent
36659fef2a
commit
4e126636a2
11 changed files with 496 additions and 64 deletions
|
@ -2,6 +2,7 @@
|
|||
|
||||
def FOUR_CHAR_CODE(x): return x
|
||||
soundListRsrc = FOUR_CHAR_CODE('snd ')
|
||||
kSimpleBeepID = 1
|
||||
rate22050hz = 0x56220000
|
||||
rate22khz = 0x56EE8BA3
|
||||
rate11khz = 0x2B7745D1
|
||||
|
@ -12,9 +13,8 @@ sampledSynth = 5
|
|||
MACE3snthID = 11
|
||||
MACE6snthID = 13
|
||||
kMiddleC = 60
|
||||
kSimpleBeepID = 1
|
||||
kFullVolume = 0x0100
|
||||
kNoVolume = 0
|
||||
kFullVolume = 0x0100
|
||||
stdQLength = 128
|
||||
dataOffsetFlag = 0x8000
|
||||
kUseOptionalOutputDevice = -1
|
||||
|
@ -64,6 +64,8 @@ volumeCmd = 46
|
|||
getVolumeCmd = 47
|
||||
clockComponentCmd = 50
|
||||
getClockComponentCmd = 51
|
||||
scheduledSoundCmd = 52
|
||||
linkSoundComponentsCmd = 53
|
||||
waveTableCmd = 60
|
||||
phaseCmd = 61
|
||||
soundCmd = 80
|
||||
|
@ -116,9 +118,10 @@ siCompressionAvailable = FOUR_CHAR_CODE('cmav')
|
|||
siCompressionFactor = FOUR_CHAR_CODE('cmfa')
|
||||
siCompressionHeader = FOUR_CHAR_CODE('cmhd')
|
||||
siCompressionNames = FOUR_CHAR_CODE('cnam')
|
||||
siCompressionParams = FOUR_CHAR_CODE('cmpp')
|
||||
siCompressionParams = FOUR_CHAR_CODE('evaw')
|
||||
siCompressionType = FOUR_CHAR_CODE('comp')
|
||||
siContinuous = FOUR_CHAR_CODE('cont')
|
||||
siDecompressionParams = FOUR_CHAR_CODE('wave')
|
||||
siDeviceBufferInfo = FOUR_CHAR_CODE('dbin')
|
||||
siDeviceConnected = FOUR_CHAR_CODE('dcon')
|
||||
siDeviceIcon = FOUR_CHAR_CODE('icon')
|
||||
|
@ -147,6 +150,8 @@ siMonitorAvailable = FOUR_CHAR_CODE('mnav')
|
|||
siMonitorSource = FOUR_CHAR_CODE('mons')
|
||||
siNumberChannels = FOUR_CHAR_CODE('chan')
|
||||
siOptionsDialog = FOUR_CHAR_CODE('optd')
|
||||
siOSTypeInputSource = FOUR_CHAR_CODE('inpt')
|
||||
siOSTypeInputAvailable = FOUR_CHAR_CODE('inav')
|
||||
siPlayThruOnOff = FOUR_CHAR_CODE('plth')
|
||||
siPostMixerSoundComponent = FOUR_CHAR_CODE('psmx')
|
||||
siPreMixerSoundComponent = FOUR_CHAR_CODE('prmx')
|
||||
|
@ -161,6 +166,7 @@ siSetupCDAudio = FOUR_CHAR_CODE('sucd')
|
|||
siSetupModemAudio = FOUR_CHAR_CODE('sumd')
|
||||
siSlopeAndIntercept = FOUR_CHAR_CODE('flap')
|
||||
siSoundClock = FOUR_CHAR_CODE('sclk')
|
||||
siUseThisSoundClock = FOUR_CHAR_CODE('sclc')
|
||||
siSpeakerMute = FOUR_CHAR_CODE('smut')
|
||||
siSpeakerVolume = FOUR_CHAR_CODE('svol')
|
||||
siSSpCPULoadLimit = FOUR_CHAR_CODE('3dll')
|
||||
|
@ -177,6 +183,18 @@ siCloseDriver = FOUR_CHAR_CODE('clos')
|
|||
siInitializeDriver = FOUR_CHAR_CODE('init')
|
||||
siPauseRecording = FOUR_CHAR_CODE('paus')
|
||||
siUserInterruptProc = FOUR_CHAR_CODE('user')
|
||||
kNoSource = FOUR_CHAR_CODE('none')
|
||||
kCDSource = FOUR_CHAR_CODE('cd ')
|
||||
kExtMicSource = FOUR_CHAR_CODE('emic')
|
||||
kRCAInSource = FOUR_CHAR_CODE('irca')
|
||||
kTVFMTunerSource = FOUR_CHAR_CODE('tvfm')
|
||||
kDAVInSource = FOUR_CHAR_CODE('idav')
|
||||
kIntMicSource = FOUR_CHAR_CODE('imic')
|
||||
kMediaBaySource = FOUR_CHAR_CODE('mbay')
|
||||
kModemSource = FOUR_CHAR_CODE('modm')
|
||||
kPCCardSource = FOUR_CHAR_CODE('pcm ')
|
||||
kZoomVideoSource = FOUR_CHAR_CODE('zvpc')
|
||||
kDVDSource = FOUR_CHAR_CODE('dvda')
|
||||
kNoSoundComponentType = FOUR_CHAR_CODE('****')
|
||||
kSoundComponentType = FOUR_CHAR_CODE('sift')
|
||||
kSoundComponentPPCType = FOUR_CHAR_CODE('nift')
|
||||
|
@ -187,6 +205,8 @@ kSndSourceSubType = FOUR_CHAR_CODE('sour')
|
|||
kMixerType = FOUR_CHAR_CODE('mixr')
|
||||
kMixer8SubType = FOUR_CHAR_CODE('mixb')
|
||||
kMixer16SubType = FOUR_CHAR_CODE('mixw')
|
||||
kSoundInputDeviceType = FOUR_CHAR_CODE('sinp')
|
||||
kWaveInSubType = FOUR_CHAR_CODE('wavi')
|
||||
kSoundOutputDeviceType = FOUR_CHAR_CODE('sdev')
|
||||
kClassicSubType = FOUR_CHAR_CODE('clas')
|
||||
kASCSubType = FOUR_CHAR_CODE('asc ')
|
||||
|
@ -197,12 +217,27 @@ kSingerSubType = FOUR_CHAR_CODE('sing')
|
|||
kSinger2SubType = FOUR_CHAR_CODE('sng2')
|
||||
kWhitSubType = FOUR_CHAR_CODE('whit')
|
||||
kSoundBlasterSubType = FOUR_CHAR_CODE('sbls')
|
||||
kWaveOutSubType = FOUR_CHAR_CODE('wavo')
|
||||
kDirectSoundSubType = FOUR_CHAR_CODE('dsnd')
|
||||
kUNIXsdevSubType = FOUR_CHAR_CODE('un1x')
|
||||
kSoundCompressor = FOUR_CHAR_CODE('scom')
|
||||
kSoundDecompressor = FOUR_CHAR_CODE('sdec')
|
||||
kAudioComponentType = FOUR_CHAR_CODE('adio')
|
||||
kAwacsPhoneSubType = FOUR_CHAR_CODE('hphn')
|
||||
kAudioVisionSpeakerSubType = FOUR_CHAR_CODE('telc')
|
||||
kAudioVisionHeadphoneSubType = FOUR_CHAR_CODE('telh')
|
||||
kPhilipsFaderSubType = FOUR_CHAR_CODE('tvav')
|
||||
kSGSToneSubType = FOUR_CHAR_CODE('sgs0')
|
||||
kSoundEffectsType = FOUR_CHAR_CODE('snfx')
|
||||
kSSpLocalizationSubType = FOUR_CHAR_CODE('snd3')
|
||||
kSoundNotCompressed = FOUR_CHAR_CODE('NONE')
|
||||
kOffsetBinary = FOUR_CHAR_CODE('raw ')
|
||||
k8BitOffsetBinaryFormat = FOUR_CHAR_CODE('raw ')
|
||||
k16BitBigEndianFormat = FOUR_CHAR_CODE('twos')
|
||||
k16BitLittleEndianFormat = FOUR_CHAR_CODE('sowt')
|
||||
kFloat32Format = FOUR_CHAR_CODE('fl32')
|
||||
kFloat64Format = FOUR_CHAR_CODE('fl64')
|
||||
k24BitFormat = FOUR_CHAR_CODE('in24')
|
||||
k32BitFormat = FOUR_CHAR_CODE('in32')
|
||||
kMACE3Compression = FOUR_CHAR_CODE('MAC3')
|
||||
kMACE6Compression = FOUR_CHAR_CODE('MAC6')
|
||||
kCDXA4Compression = FOUR_CHAR_CODE('cdx4')
|
||||
|
@ -210,15 +245,24 @@ kCDXA2Compression = FOUR_CHAR_CODE('cdx2')
|
|||
kIMACompression = FOUR_CHAR_CODE('ima4')
|
||||
kULawCompression = FOUR_CHAR_CODE('ulaw')
|
||||
kALawCompression = FOUR_CHAR_CODE('alaw')
|
||||
kLittleEndianFormat = FOUR_CHAR_CODE('sowt')
|
||||
kFloat32Format = FOUR_CHAR_CODE('fl32')
|
||||
kFloat64Format = FOUR_CHAR_CODE('fl64')
|
||||
kTwosComplement = FOUR_CHAR_CODE('twos')
|
||||
kMicrosoftADPCMFormat = 0x6D730002
|
||||
kDVIIntelIMAFormat = 0x6D730011
|
||||
kDVAudioFormat = FOUR_CHAR_CODE('dvca')
|
||||
kOffsetBinary = k8BitOffsetBinaryFormat
|
||||
kTwosComplement = k16BitBigEndianFormat
|
||||
kLittleEndianFormat = k16BitLittleEndianFormat
|
||||
k16BitNativeEndianFormat = k16BitLittleEndianFormat
|
||||
k16BitNonNativeEndianFormat = k16BitBigEndianFormat
|
||||
k16BitNativeEndianFormat = k16BitBigEndianFormat
|
||||
k16BitNonNativeEndianFormat = k16BitLittleEndianFormat
|
||||
kInputMask = 0x000000FF
|
||||
kOutputMask = 0x0000FF00
|
||||
kOutputShift = 8
|
||||
kActionMask = 0x00FF0000
|
||||
kSoundComponentBits = 0x00FFFFFF
|
||||
kAudioFormatAtomType = FOUR_CHAR_CODE('frma')
|
||||
kAudioEndianAtomType = FOUR_CHAR_CODE('enda')
|
||||
kAudioTerminatorAtomType = 0
|
||||
kAVDisplayHeadphoneRemove = 0
|
||||
kAVDisplayHeadphoneInsert = 1
|
||||
kAVDisplayPlainTalkRemove = 2
|
||||
|
@ -237,29 +281,40 @@ siDeviceNotConnected = 0
|
|||
siDontKnowIfConnected = -1
|
||||
siReadPermission = 0
|
||||
siWritePermission = 1
|
||||
kSoundComponentInitOutputDeviceSelect = 1
|
||||
kSoundComponentSetSourceSelect = 2
|
||||
kSoundComponentGetSourceSelect = 3
|
||||
kSoundComponentGetSourceDataSelect = 4
|
||||
kSoundComponentSetOutputSelect = 5
|
||||
kScheduledSoundDoScheduled = 1 << 0
|
||||
kScheduledSoundDoCallBack = 1 << 1
|
||||
kSoundComponentInitOutputDeviceSelect = 0x0001
|
||||
kSoundComponentSetSourceSelect = 0x0002
|
||||
kSoundComponentGetSourceSelect = 0x0003
|
||||
kSoundComponentGetSourceDataSelect = 0x0004
|
||||
kSoundComponentSetOutputSelect = 0x0005
|
||||
kSoundComponentAddSourceSelect = 0x0101
|
||||
kSoundComponentRemoveSourceSelect = 0x0102
|
||||
kSoundComponentGetInfoSelect = 0x0103
|
||||
kSoundComponentSetInfoSelect = 0x0104
|
||||
kSoundComponentStartSourceSelect = 0x0105
|
||||
kSoundComponentStopSourceSelect = 0x0106
|
||||
kSoundComponentPauseSourceSelect = 0x0107
|
||||
kSoundComponentPlaySourceBufferSelect = 0x0108
|
||||
kAudioGetVolumeSelect = 0x0000
|
||||
kAudioSetVolumeSelect = 0x0001
|
||||
kAudioGetMuteSelect = 0x0002
|
||||
kAudioSetMuteSelect = 0x0003
|
||||
kAudioSetToDefaultsSelect = 0x0004
|
||||
kAudioGetInfoSelect = 0x0005
|
||||
kAudioGetBassSelect = 0x0006
|
||||
kAudioSetBassSelect = 0x0007
|
||||
kAudioGetTrebleSelect = 0x0008
|
||||
kAudioSetTrebleSelect = 0x0009
|
||||
kAudioGetOutputDeviceSelect = 0x000A
|
||||
kAudioMuteOnEventSelect = 0x0081
|
||||
kDelegatedSoundComponentSelectors = 0x0100
|
||||
kSoundComponentAddSourceSelect = kDelegatedSoundComponentSelectors + 1
|
||||
kSoundComponentRemoveSourceSelect = kDelegatedSoundComponentSelectors + 2
|
||||
kSoundComponentGetInfoSelect = kDelegatedSoundComponentSelectors + 3
|
||||
kSoundComponentSetInfoSelect = kDelegatedSoundComponentSelectors + 4
|
||||
kSoundComponentStartSourceSelect = kDelegatedSoundComponentSelectors + 5
|
||||
kSoundComponentStopSourceSelect = kDelegatedSoundComponentSelectors + 6
|
||||
kSoundComponentPauseSourceSelect = kDelegatedSoundComponentSelectors + 7
|
||||
kSoundComponentPlaySourceBufferSelect = kDelegatedSoundComponentSelectors + 8
|
||||
kAudioGetVolumeSelect = 0
|
||||
kAudioSetVolumeSelect = 1
|
||||
kAudioGetMuteSelect = 2
|
||||
kAudioSetMuteSelect = 3
|
||||
kAudioSetToDefaultsSelect = 4
|
||||
kAudioGetInfoSelect = 5
|
||||
kAudioGetBassSelect = 6
|
||||
kAudioSetBassSelect = 7
|
||||
kAudioGetTrebleSelect = 8
|
||||
kAudioSetTrebleSelect = 9
|
||||
kAudioGetOutputDeviceSelect = 10
|
||||
kAudioMuteOnEventSelect = 129
|
||||
kSndInputReadAsyncSelect = 0x0001
|
||||
kSndInputReadSyncSelect = 0x0002
|
||||
kSndInputPauseRecordingSelect = 0x0003
|
||||
kSndInputResumeRecordingSelect = 0x0004
|
||||
kSndInputStopRecordingSelect = 0x0005
|
||||
kSndInputGetStatusSelect = 0x0006
|
||||
kSndInputGetDeviceInfoSelect = 0x0007
|
||||
kSndInputSetDeviceInfoSelect = 0x0008
|
||||
kSndInputInitHardwareSelect = 0x0009
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue