pyobjc-framework-CoreMediaIO 12.2__cp315-cp315-macosx_10_15_universal2.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- CoreMediaIO/_CoreMediaIO.cpython-315-darwin.so +0 -0
- CoreMediaIO/__init__.py +80 -0
- CoreMediaIO/_metadata.py +570 -0
- pyobjc_framework_coremediaio-12.2.dist-info/METADATA +68 -0
- pyobjc_framework_coremediaio-12.2.dist-info/RECORD +8 -0
- pyobjc_framework_coremediaio-12.2.dist-info/WHEEL +5 -0
- pyobjc_framework_coremediaio-12.2.dist-info/pyobjc-build-info.txt +3 -0
- pyobjc_framework_coremediaio-12.2.dist-info/top_level.txt +1 -0
|
Binary file
|
CoreMediaIO/__init__.py
ADDED
|
@@ -0,0 +1,80 @@
|
|
|
1
|
+
"""
|
|
2
|
+
Python mapping for the CoreMediaIO framework.
|
|
3
|
+
|
|
4
|
+
This module does not contain docstrings for the wrapped code, check Apple's
|
|
5
|
+
documentation for details on how to use these functions and classes.
|
|
6
|
+
"""
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
def _setup():
|
|
10
|
+
import sys
|
|
11
|
+
|
|
12
|
+
import Foundation
|
|
13
|
+
import objc
|
|
14
|
+
from . import _metadata, _CoreMediaIO
|
|
15
|
+
|
|
16
|
+
dir_func, getattr_func = objc.createFrameworkDirAndGetattr(
|
|
17
|
+
name="CoreMediaIO",
|
|
18
|
+
frameworkIdentifier="com.apple.CoreMediaIO",
|
|
19
|
+
frameworkPath=objc.pathForFramework(
|
|
20
|
+
"/System/Library/Frameworks/CoreMediaIO.framework"
|
|
21
|
+
),
|
|
22
|
+
globals_dict=globals(),
|
|
23
|
+
inline_list=None,
|
|
24
|
+
parents=(
|
|
25
|
+
_CoreMediaIO,
|
|
26
|
+
Foundation,
|
|
27
|
+
),
|
|
28
|
+
metadict=_metadata.__dict__,
|
|
29
|
+
)
|
|
30
|
+
|
|
31
|
+
globals()["__dir__"] = dir_func
|
|
32
|
+
globals()["__getattr__"] = getattr_func
|
|
33
|
+
|
|
34
|
+
for cls, sel in (
|
|
35
|
+
("CMIOExtensionStreamProperties", b"init"),
|
|
36
|
+
("CMIOExtensionStreamProperties", b"new"),
|
|
37
|
+
("CMIOExtensionStream", b"init"),
|
|
38
|
+
("CMIOExtensionStream", b"new"),
|
|
39
|
+
("CMIOExtensionPropertyAttributes", b"init"),
|
|
40
|
+
("CMIOExtensionPropertyAttributes", b"new"),
|
|
41
|
+
("CMIOExtensionPropertyState", b"init"),
|
|
42
|
+
("CMIOExtensionPropertyState", b"new"),
|
|
43
|
+
("CMIOExtensionStreamCustomClockConfiguration", b"init"),
|
|
44
|
+
("CMIOExtensionStreamCustomClockConfiguration", b"new"),
|
|
45
|
+
("CMIOExtensionStreamFormat", b"init"),
|
|
46
|
+
("CMIOExtensionStreamFormat", b"new"),
|
|
47
|
+
("CMIOExtensionScheduledOutput", b"init"),
|
|
48
|
+
("CMIOExtensionScheduledOutput", b"new"),
|
|
49
|
+
("CMIOExtensionClient", b"init"),
|
|
50
|
+
("CMIOExtensionClient", b"new"),
|
|
51
|
+
("CMIOExtensionDeviceProperties", b"init"),
|
|
52
|
+
("CMIOExtensionDeviceProperties", b"new"),
|
|
53
|
+
("CMIOExtensionDevice", b"init"),
|
|
54
|
+
("CMIOExtensionDevice", b"new"),
|
|
55
|
+
("CMIOExtensionProviderProperties", b"init"),
|
|
56
|
+
("CMIOExtensionProviderProperties", b"new"),
|
|
57
|
+
("CMIOExtensionProvider", b"init"),
|
|
58
|
+
("CMIOExtensionProvider", b"new"),
|
|
59
|
+
):
|
|
60
|
+
objc.registerUnavailableMethod(cls, sel)
|
|
61
|
+
|
|
62
|
+
del sys.modules["CoreMediaIO._metadata"]
|
|
63
|
+
|
|
64
|
+
|
|
65
|
+
globals().pop("_setup")()
|
|
66
|
+
|
|
67
|
+
|
|
68
|
+
def CMIOGetNextSequenceNumber(value):
|
|
69
|
+
if value == 0xFFFFFFFFFFFFFFFF:
|
|
70
|
+
return 0
|
|
71
|
+
return value + 1
|
|
72
|
+
|
|
73
|
+
|
|
74
|
+
from . import ( # isort:skip # noqa: E402
|
|
75
|
+
kCMIOSampleBufferDiscontinuityFlag_DurationWasExtended,
|
|
76
|
+
)
|
|
77
|
+
|
|
78
|
+
|
|
79
|
+
def CMIODiscontinuityFlagsHaveHardDiscontinuities(value):
|
|
80
|
+
return (value & kCMIOSampleBufferDiscontinuityFlag_DurationWasExtended) != 0
|
CoreMediaIO/_metadata.py
ADDED
|
@@ -0,0 +1,570 @@
|
|
|
1
|
+
# This file is generated by objective.metadata
|
|
2
|
+
#
|
|
3
|
+
# Last update: Thu May 28 21:32:41 2026
|
|
4
|
+
#
|
|
5
|
+
# flake8: noqa
|
|
6
|
+
|
|
7
|
+
import objc, sys
|
|
8
|
+
from typing import NewType
|
|
9
|
+
|
|
10
|
+
if sys.maxsize > 2**32:
|
|
11
|
+
|
|
12
|
+
def sel32or64(a, b):
|
|
13
|
+
return b
|
|
14
|
+
|
|
15
|
+
else:
|
|
16
|
+
|
|
17
|
+
def sel32or64(a, b):
|
|
18
|
+
return a
|
|
19
|
+
|
|
20
|
+
|
|
21
|
+
if objc.arch == "arm64":
|
|
22
|
+
|
|
23
|
+
def selAorI(a, b):
|
|
24
|
+
return a
|
|
25
|
+
|
|
26
|
+
else:
|
|
27
|
+
|
|
28
|
+
def selAorI(a, b):
|
|
29
|
+
return b
|
|
30
|
+
|
|
31
|
+
|
|
32
|
+
misc = {}
|
|
33
|
+
misc.update(
|
|
34
|
+
{
|
|
35
|
+
"CMIODeviceRS422Command": objc.createStructType(
|
|
36
|
+
"CoreMediaIO.CMIODeviceRS422Command",
|
|
37
|
+
b"{CMIODeviceRS422Command=^CI^CII}",
|
|
38
|
+
[
|
|
39
|
+
"mCommand",
|
|
40
|
+
"mCommandLength",
|
|
41
|
+
"mResponse",
|
|
42
|
+
"mResponseLength",
|
|
43
|
+
"mResponseUsed",
|
|
44
|
+
],
|
|
45
|
+
),
|
|
46
|
+
"CMIODeviceAVCCommand": objc.createStructType(
|
|
47
|
+
"CoreMediaIO.CMIODeviceAVCCommand",
|
|
48
|
+
b"{CMIODeviceAVCCommand=^CI^CII}",
|
|
49
|
+
[
|
|
50
|
+
"mCommand",
|
|
51
|
+
"mCommandLength",
|
|
52
|
+
"mResponse",
|
|
53
|
+
"mResponseLength",
|
|
54
|
+
"mResponseUsed",
|
|
55
|
+
],
|
|
56
|
+
),
|
|
57
|
+
"CMIODeviceSMPTETimeCallback": objc.createStructType(
|
|
58
|
+
"CoreMediaIO.CMIODeviceSMPTETimeCallback",
|
|
59
|
+
b"{CMIODeviceSMPTETimeCallback=^?^v}",
|
|
60
|
+
["mGetSMPTETimeProc", "mRefCon"],
|
|
61
|
+
),
|
|
62
|
+
"CMIOStreamScheduledOutputNotificationProcAndRefCon": objc.createStructType(
|
|
63
|
+
"CoreMediaIO.CMIOStreamScheduledOutputNotificationProcAndRefCon",
|
|
64
|
+
b"{CMIOStreamScheduledOutputNotificationProcAndRefCon=^?^?}",
|
|
65
|
+
["scheduledOutputNotificationProc", "scheduledOutputNotificationRefCon"],
|
|
66
|
+
),
|
|
67
|
+
"CMIOStreamDeck": objc.createStructType(
|
|
68
|
+
"CoreMediaIO.CMIOStreamDeck",
|
|
69
|
+
b"{CMIOStreamDeck=III}",
|
|
70
|
+
["mStatus", "mState", "mState2"],
|
|
71
|
+
),
|
|
72
|
+
"CMIODeviceStreamConfiguration": objc.createStructType(
|
|
73
|
+
"CoreMediaIO.CMIODeviceStreamConfiguration",
|
|
74
|
+
b"{CMIODeviceStreamConfiguration=I^I}",
|
|
75
|
+
["mNumberStreams", "mNumberChannels"],
|
|
76
|
+
),
|
|
77
|
+
"CMIOObjectPropertyAddress": objc.createStructType(
|
|
78
|
+
"CoreMediaIO.CMIOObjectPropertyAddress",
|
|
79
|
+
b"{CMIOObjectPropertyAddress=III}",
|
|
80
|
+
["mSelector", "mScope", "mElement"],
|
|
81
|
+
),
|
|
82
|
+
}
|
|
83
|
+
)
|
|
84
|
+
constants = """$CMIOExtensionInfoDictionaryKey$CMIOExtensionMachServiceNameKey$CMIOExtensionPropertyDeviceCanBeDefaultInputDevice$CMIOExtensionPropertyDeviceCanBeDefaultOutputDevice$CMIOExtensionPropertyDeviceIsSuspended$CMIOExtensionPropertyDeviceLatency$CMIOExtensionPropertyDeviceLinkedCoreAudioDeviceUID$CMIOExtensionPropertyDeviceModel$CMIOExtensionPropertyDeviceTransportType$CMIOExtensionPropertyProviderManufacturer$CMIOExtensionPropertyProviderName$CMIOExtensionPropertyStreamActiveFormatIndex$CMIOExtensionPropertyStreamFrameDuration$CMIOExtensionPropertyStreamLatency$CMIOExtensionPropertyStreamMaxFrameDuration$CMIOExtensionPropertyStreamSinkBufferQueueSize$CMIOExtensionPropertyStreamSinkBufferUnderrunCount$CMIOExtensionPropertyStreamSinkBuffersRequiredForStartup$CMIOExtensionPropertyStreamSinkEndOfData$kCMIOBlockBufferAttachmentKey_CVPixelBufferReference$kCMIOSampleBufferAttachmentKey_CAAudioTimeStamp$kCMIOSampleBufferAttachmentKey_ClientSequenceID$kCMIOSampleBufferAttachmentKey_ClosedCaptionSampleBuffer$kCMIOSampleBufferAttachmentKey_DiscontinuityFlags$kCMIOSampleBufferAttachmentKey_HDV1_PackData$kCMIOSampleBufferAttachmentKey_HDV2_VAUX$kCMIOSampleBufferAttachmentKey_HostTime$kCMIOSampleBufferAttachmentKey_MouseAndKeyboardModifiers$kCMIOSampleBufferAttachmentKey_MuxedSourcePresentationTimeStamp$kCMIOSampleBufferAttachmentKey_NativeSMPTEFrameCount$kCMIOSampleBufferAttachmentKey_NoDataMarker$kCMIOSampleBufferAttachmentKey_NumberOfVideoFramesInBuffer$kCMIOSampleBufferAttachmentKey_NumberOfVideoFramesInGOP$kCMIOSampleBufferAttachmentKey_PixelBufferOverlaidByStaticImage$kCMIOSampleBufferAttachmentKey_PulldownCadenceInfo$kCMIOSampleBufferAttachmentKey_RepeatedBufferContents$kCMIOSampleBufferAttachmentKey_SMPTETime$kCMIOSampleBufferAttachmentKey_SequenceNumber$kCMIOSampleBufferAttachmentKey_SourceAudioFormatDescription$kCMIOSampleBufferAttachment_MouseAndKeyboardModifiersKey_CursorFrameRect$kCMIOSampleBufferAttachment_MouseAndKeyboardModifiersKey_CursorIsDrawnInFramebuffer$kCMIOSampleBufferAttachment_MouseAndKeyboardModifiersKey_CursorIsVisible$kCMIOSampleBufferAttachment_MouseAndKeyboardModifiersKey_CursorPositionX$kCMIOSampleBufferAttachment_MouseAndKeyboardModifiersKey_CursorPositionY$kCMIOSampleBufferAttachment_MouseAndKeyboardModifiersKey_CursorReference$kCMIOSampleBufferAttachment_MouseAndKeyboardModifiersKey_CursorScale$kCMIOSampleBufferAttachment_MouseAndKeyboardModifiersKey_CursorSeed$kCMIOSampleBufferAttachment_MouseAndKeyboardModifiersKey_KeyboardModifiers$kCMIOSampleBufferAttachment_MouseAndKeyboardModifiersKey_KeyboardModifiersEvent$kCMIOSampleBufferAttachment_MouseAndKeyboardModifiersKey_MouseButtonState$"""
|
|
85
|
+
enums = """$CMIOExtensionStreamClockTypeCustom@2$CMIOExtensionStreamClockTypeHostTime@0$CMIOExtensionStreamClockTypeLinkedCoreAudioDeviceUID@1$CMIOExtensionStreamDirectionSink@1$CMIOExtensionStreamDirectionSource@0$CMIOExtensionStreamDiscontinuityFlagNone@0$CMIOExtensionStreamDiscontinuityFlagSampleDropped@64$CMIOExtensionStreamDiscontinuityFlagTime@2$CMIOExtensionStreamDiscontinuityFlagUnknown@1$kCMIOAVCDeviceType_DVCPro100_720p@1685481584$kCMIOAVCDeviceType_DVCPro100_NTSC@1685467502$kCMIOAVCDeviceType_DVCPro100_PAL@1685467504$kCMIOAVCDeviceType_DVCPro50_NTSC@1685468526$kCMIOAVCDeviceType_DVCPro50_PAL@1685468528$kCMIOAVCDeviceType_DVCProHD_1080i50@1685481525$kCMIOAVCDeviceType_DVCProHD_1080i60@1685481526$kCMIOAVCDeviceType_DVCPro_NTSC@1685483630$kCMIOAVCDeviceType_DVCPro_PAL@1685483632$kCMIOAVCDeviceType_DV_NTSC@1685480224$kCMIOAVCDeviceType_DV_PAL@1685480304$kCMIOAVCDeviceType_MPEG2@1836082994$kCMIOAVCDeviceType_Unknown@1970170734$kCMIOBacklightCompensationControlClassID@1651207284$kCMIOBlackLevelControlClassID@1651207286$kCMIOBooleanControlClassID@1953458028$kCMIOBooleanControlPropertyValue@1650685548$kCMIOBrightnessControlClassID@1651665268$kCMIOContrastControlClassID@1668576116$kCMIOControlClassID@1633907820$kCMIOControlPropertyElement@1667591277$kCMIOControlPropertyScope@1668506480$kCMIOControlPropertyVariant@1668702578$kCMIODataDestinationControlClassID@1684370292$kCMIODataSourceControlClassID@1685287523$kCMIODeckShuttlePause@0$kCMIODeckShuttlePlay1x@6$kCMIODeckShuttlePlayFast@7$kCMIODeckShuttlePlayFaster@8$kCMIODeckShuttlePlayFastest@9$kCMIODeckShuttlePlayHighSpeed@10$kCMIODeckShuttlePlayNextFrame@1$kCMIODeckShuttlePlayPreviousFrame@-1$kCMIODeckShuttlePlaySlow1@3$kCMIODeckShuttlePlaySlow2@4$kCMIODeckShuttlePlaySlow3@5$kCMIODeckShuttlePlaySlowest@2$kCMIODeckShuttleReverse1x@-6$kCMIODeckShuttleReverseFast@-7$kCMIODeckShuttleReverseFaster@-8$kCMIODeckShuttleReverseFastest@-9$kCMIODeckShuttleReverseHighSpeed@-10$kCMIODeckShuttleReverseSlow1@-3$kCMIODeckShuttleReverseSlow2@-4$kCMIODeckShuttleReverseSlow3@-5$kCMIODeckShuttleReverseSlowest@-2$kCMIODeckStateFastForward@6$kCMIODeckStateFastRewind@7$kCMIODeckStatePause@2$kCMIODeckStatePlay@1$kCMIODeckStatePlayReverse@5$kCMIODeckStatePlaySlow@3$kCMIODeckStateReverseSlow@4$kCMIODeckStateStop@0$kCMIODeckStatusBusy@1$kCMIODeckStatusLocal@2$kCMIODeckStatusNoDevice@7$kCMIODeckStatusNotThreaded@3$kCMIODeckStatusOpcode@5$kCMIODeckStatusSearchingForDevice@6$kCMIODeckStatusTapeInserted@4$kCMIODeviceAVCSignalMode8mmNTSC@6$kCMIODeviceAVCSignalMode8mmPAL@134$kCMIODeviceAVCSignalModeAudio@32$kCMIODeviceAVCSignalModeDVCPro100_50@240$kCMIODeviceAVCSignalModeDVCPro100_60@112$kCMIODeviceAVCSignalModeDVCPro25_525_60@120$kCMIODeviceAVCSignalModeDVCPro25_625_50@248$kCMIODeviceAVCSignalModeDVCPro50_525_60@116$kCMIODeviceAVCSignalModeDVCPro50_625_50@244$kCMIODeviceAVCSignalModeDVHS@1$kCMIODeviceAVCSignalModeHD1125_60@8$kCMIODeviceAVCSignalModeHD1250_50@136$kCMIODeviceAVCSignalModeHDV1_50@144$kCMIODeviceAVCSignalModeHDV1_60@16$kCMIODeviceAVCSignalModeHDV2_50@154$kCMIODeviceAVCSignalModeHDV2_60@26$kCMIODeviceAVCSignalModeHi8NTSC@14$kCMIODeviceAVCSignalModeHi8PAL@142$kCMIODeviceAVCSignalModeMPEG12Mbps_50@148$kCMIODeviceAVCSignalModeMPEG12Mbps_60@20$kCMIODeviceAVCSignalModeMPEG25Mbps_50@144$kCMIODeviceAVCSignalModeMPEG25Mbps_60@16$kCMIODeviceAVCSignalModeMPEG6Mbps_50@152$kCMIODeviceAVCSignalModeMPEG6Mbps_60@24$kCMIODeviceAVCSignalModeMicroMV12Mbps_50@164$kCMIODeviceAVCSignalModeMicroMV12Mbps_60@36$kCMIODeviceAVCSignalModeMicroMV6Mbps_50@168$kCMIODeviceAVCSignalModeMicroMV6Mbps_60@40$kCMIODeviceAVCSignalModeSD525_60@0$kCMIODeviceAVCSignalModeSD625_50@128$kCMIODeviceAVCSignalModeSDL525_60@4$kCMIODeviceAVCSignalModeSDL625_50@132$kCMIODeviceAVCSignalModeSVHS525_60@13$kCMIODeviceAVCSignalModeSVHS625_50@237$kCMIODeviceAVCSignalModeVHSMESECAM@213$kCMIODeviceAVCSignalModeVHSMPAL@37$kCMIODeviceAVCSignalModeVHSNPAL@181$kCMIODeviceAVCSignalModeVHSNTSC@5$kCMIODeviceAVCSignalModeVHSPAL@165$kCMIODeviceAVCSignalModeVHSSECAM@197$kCMIODeviceClassID@1633969526$kCMIODevicePermissionsError@560492391$kCMIODevicePropertyAVCDeviceSignalMode@1886221165$kCMIODevicePropertyAVCDeviceType@1886216564$kCMIODevicePropertyCanProcessAVCCommand@1886216547$kCMIODevicePropertyCanProcessRS422Command@1916023346$kCMIODevicePropertyCanSwitchFrameRatesWithoutFrameDrops@1718775396$kCMIODevicePropertyClientSyncDiscontinuity@1886217075$kCMIODevicePropertyDeviceCanBeDefaultDevice@1684434036$kCMIODevicePropertyDeviceControl@1886219880$kCMIODevicePropertyDeviceHasChanged@1684629094$kCMIODevicePropertyDeviceHasStreamingError@1936028274$kCMIODevicePropertyDeviceIsAlive@1818850926$kCMIODevicePropertyDeviceIsRunning@1735354734$kCMIODevicePropertyDeviceIsRunningSomewhere@1735356005$kCMIODevicePropertyDeviceMaster@1886219880$kCMIODevicePropertyDeviceUID@1969841184$kCMIODevicePropertyExcludeNonDALAccess@1769500257$kCMIODevicePropertyHogMode@1869180523$kCMIODevicePropertyIIDCCSRData@1668510308$kCMIODevicePropertyIIDCInitialUnitSpace@1769303667$kCMIODevicePropertyLatency@1819569763$kCMIODevicePropertyLinkedAndSyncedCoreAudioDeviceUID@1886155620$kCMIODevicePropertyLinkedCoreAudioDeviceUID@1886156132$kCMIODevicePropertyLocation@1684828003$kCMIODevicePropertyLocationBuiltInDisplay@1$kCMIODevicePropertyLocationExternalDevice@3$kCMIODevicePropertyLocationExternalDisplay@2$kCMIODevicePropertyLocationExternalWirelessDevice@4$kCMIODevicePropertyLocationUnknown@0$kCMIODevicePropertyModelUID@1836411236$kCMIODevicePropertyPlugIn@1886156135$kCMIODevicePropertySMPTETimeCallback@1886221155$kCMIODevicePropertyScopeInput@1768845428$kCMIODevicePropertyScopeOutput@1869968496$kCMIODevicePropertyScopePlayThrough@1886679669$kCMIODevicePropertyStreamConfiguration@1936482681$kCMIODevicePropertyStreams@1937009955$kCMIODevicePropertySuspendedByUser@1935833461$kCMIODevicePropertyTransportType@1953653102$kCMIODevicePropertyVideoDigitizerComponents@1986292071$kCMIODeviceUnknown@0$kCMIODeviceUnsupportedFormatError@560226676$kCMIODirectionControlClassID@1684632165$kCMIOExposureControlClassID@2020635506$kCMIOExposureControlPropertyConvergenceSpeed@1701016432$kCMIOExposureControlPropertyIntegrationTime@1701408372$kCMIOExposureControlPropertyLockThreshold@1701602155$kCMIOExposureControlPropertyMaximumGain@1701667192$kCMIOExposureControlPropertyRegionOfInterest@1701998441$kCMIOExposureControlPropertyStability@1702065273$kCMIOExposureControlPropertyStable@1702065250$kCMIOExposureControlPropertyTarget@1702127476$kCMIOExposureControlPropertyUnlockThreshold@1702194283$kCMIOFeatureControlClassID@1718903668$kCMIOFeatureControlPropertyAbsoluteNative@1717792353$kCMIOFeatureControlPropertyAbsoluteRange@1717789042$kCMIOFeatureControlPropertyAbsoluteUnitName@1717794158$kCMIOFeatureControlPropertyAbsoluteValue@1717789046$kCMIOFeatureControlPropertyAutomaticManual@1717789037$kCMIOFeatureControlPropertyConvertAbsoluteToNative@1717645934$kCMIOFeatureControlPropertyConvertNativeToAbsolute@1718497889$kCMIOFeatureControlPropertyNativeData@1717792356$kCMIOFeatureControlPropertyNativeDataRange@1717789810$kCMIOFeatureControlPropertyNativeRange@1717792370$kCMIOFeatureControlPropertyNativeValue@1717792374$kCMIOFeatureControlPropertyOnOff@1717792623$kCMIOFeatureControlPropertyTune@1717793902$kCMIOFocusControlClassID@1717794163$kCMIOGainControlClassID@1734437230$kCMIOGammaControlClassID@1735224673$kCMIOHardwareBadDeviceError@560227702$kCMIOHardwareBadObjectError@560947818$kCMIOHardwareBadPropertySizeError@561211770$kCMIOHardwareBadStreamError@561214578$kCMIOHardwareIllegalOperationError@1852797029$kCMIOHardwareNoError@0$kCMIOHardwareNotRunningError@1937010544$kCMIOHardwareNotStoppedError@1920298528$kCMIOHardwarePropertyAllowScreenCaptureDevices@2036691744$kCMIOHardwarePropertyAllowWirelessScreenCaptureDevices@2004050788$kCMIOHardwarePropertyDefaultInputDevice@1682533920$kCMIOHardwarePropertyDefaultOutputDevice@1682929012$kCMIOHardwarePropertyDeviceForUID@1685416292$kCMIOHardwarePropertyDevices@1684370979$kCMIOHardwarePropertyIsInitingOrExiting@1768845172$kCMIOHardwarePropertyPlugInForBundleID@1885954665$kCMIOHardwarePropertyProcessIsMain@1835100526$kCMIOHardwarePropertyProcessIsMaster@1835103092$kCMIOHardwarePropertySleepingIsAllowed@1936483696$kCMIOHardwarePropertySuspendedBySystem@1935833459$kCMIOHardwarePropertyUnloadingIsAllowed@1970170980$kCMIOHardwarePropertyUserSessionIsActiveOrHeadless@1970496882$kCMIOHardwareSuspendedBySystemError@1684369017$kCMIOHardwareUnknownPropertyError@2003332927$kCMIOHardwareUnspecifiedError@2003329396$kCMIOHardwareUnsupportedOperationError@1970171760$kCMIOHueControlClassID@1752524064$kCMIOInvalidSequenceNumber@18446744073709551615$kCMIOIrisControlClassID@1769105779$kCMIOJackControlClassID@1784767339$kCMIONoiseReductionControlClassID@1932684914$kCMIOObjectClassID@1634689642$kCMIOObjectClassIDWildcard@707406378$kCMIOObjectPropertyClass@1668047219$kCMIOObjectPropertyCreator@1869638759$kCMIOObjectPropertyElementCategoryName@1818452846$kCMIOObjectPropertyElementMain@0$kCMIOObjectPropertyElementMaster@0$kCMIOObjectPropertyElementName@1818454126$kCMIOObjectPropertyElementNumberName@1818455662$kCMIOObjectPropertyElementWildcard@4294967295$kCMIOObjectPropertyListenerAdded@1818850145$kCMIOObjectPropertyListenerRemoved@1818850162$kCMIOObjectPropertyManufacturer@1819107691$kCMIOObjectPropertyName@1819173229$kCMIOObjectPropertyOwnedObjects@1870098020$kCMIOObjectPropertyOwner@1937007734$kCMIOObjectPropertyScopeGlobal@1735159650$kCMIOObjectPropertyScopeWildcard@707406378$kCMIOObjectPropertySelectorWildcard@707406378$kCMIOObjectSystemObject@1$kCMIOObjectUnknown@0$kCMIOOpticalFilterClassID@1869637236$kCMIOPanControlClassID@1885433376$kCMIOPanTiltAbsoluteControlClassID@1886675298$kCMIOPanTiltRelativeControlClassID@1886679660$kCMIOPlugInClassID@1634757735$kCMIOPlugInPropertyBundleID@1885956452$kCMIOPlugInPropertyIsExtension@1885956453$kCMIOPowerLineFrequencyControlClassID@1886873201$kCMIORollAbsoluteControlClassID@1919904865$kCMIOSampleBufferDiscontinuityFlag_BufferOverrun@128$kCMIOSampleBufferDiscontinuityFlag_ClientSyncDiscontinuity@1024$kCMIOSampleBufferDiscontinuityFlag_CodecSettingsChanged@131072$kCMIOSampleBufferDiscontinuityFlag_DataFormatChanged@8192$kCMIOSampleBufferDiscontinuityFlag_DataWasDropped@64$kCMIOSampleBufferDiscontinuityFlag_DataWasFlushed@32$kCMIOSampleBufferDiscontinuityFlag_DiscontinuityInDTS@256$kCMIOSampleBufferDiscontinuityFlag_DurationWasExtended@32768$kCMIOSampleBufferDiscontinuityFlag_MalformedData@16$kCMIOSampleBufferDiscontinuityFlag_NoDataMarker@4096$kCMIOSampleBufferDiscontinuityFlag_PacketError@4$kCMIOSampleBufferDiscontinuityFlag_RelatedToDiscontinuity@512$kCMIOSampleBufferDiscontinuityFlag_SleepWakeCycle@65536$kCMIOSampleBufferDiscontinuityFlag_StreamDiscontinuity@8$kCMIOSampleBufferDiscontinuityFlag_TimecodeDiscontinuity@2$kCMIOSampleBufferDiscontinuityFlag_TimingReferenceJumped@16384$kCMIOSampleBufferDiscontinuityFlag_TrickPlay@2048$kCMIOSampleBufferDiscontinuityFlag_UnknownDiscontinuity@1$kCMIOSampleBufferNoDataEvent_DeviceDidNotSync@2$kCMIOSampleBufferNoDataEvent_DeviceInWrongMode@3$kCMIOSampleBufferNoDataEvent_NoMedia@1$kCMIOSampleBufferNoDataEvent_ProcessingError@4$kCMIOSampleBufferNoDataEvent_SleepWakeCycle@5$kCMIOSampleBufferNoDataEvent_Unknown@0$kCMIOSampleBufferNoDiscontinuities@0$kCMIOSaturationControlClassID@1935766645$kCMIOSelectorControlClassID@1936483188$kCMIOSelectorControlPropertyAvailableItemNames@1935892846$kCMIOSelectorControlPropertyAvailableItems@1935892841$kCMIOSelectorControlPropertyCurrentItem@1935893353$kCMIOSelectorControlPropertyItemName@1935894894$kCMIOSharpnessControlClassID@1936224880$kCMIOShutterControlClassID@1936225394$kCMIOStreamClassID@1634956402$kCMIOStreamPropertyCanProcessDeckCommand@1885627236$kCMIOStreamPropertyClock@1886217068$kCMIOStreamPropertyDeck@1684366187$kCMIOStreamPropertyDeckCueing@1668638051$kCMIOStreamPropertyDeckDropness@1685221232$kCMIOStreamPropertyDeckFrameNumber@1952673636$kCMIOStreamPropertyDeckLocal@1819239276$kCMIOStreamPropertyDeckThreaded@1953002084$kCMIOStreamPropertyDeviceSyncTimeoutInMSec@1886219826$kCMIOStreamPropertyDirection@1935960434$kCMIOStreamPropertyEndOfData@1886217572$kCMIOStreamPropertyFirstOutputPresentationTimeStamp@1886351476$kCMIOStreamPropertyFormatDescription@1885762592$kCMIOStreamPropertyFormatDescriptions@1885762657$kCMIOStreamPropertyFrameRate@1852207732$kCMIOStreamPropertyFrameRateRanges@1718776423$kCMIOStreamPropertyFrameRates@1852207651$kCMIOStreamPropertyInitialPresentationTimeStampForLinkedAndSyncedAudio@1768975475$kCMIOStreamPropertyLatency@1819569763$kCMIOStreamPropertyMinimumFrameRate@1835430516$kCMIOStreamPropertyNoDataEventCount@1886219827$kCMIOStreamPropertyNoDataTimeoutInMSec@1886219825$kCMIOStreamPropertyOutputBufferQueueSize@1886220145$kCMIOStreamPropertyOutputBufferRepeatCount@1886220146$kCMIOStreamPropertyOutputBufferUnderrunCount@1886220149$kCMIOStreamPropertyOutputBuffersNeededForThrottledPlayback@1835624038$kCMIOStreamPropertyOutputBuffersRequiredForStartup@1886220147$kCMIOStreamPropertyPreferredFormatDescription@1886545508$kCMIOStreamPropertyPreferredFrameRate@1886545522$kCMIOStreamPropertyScheduledOutputNotificationProc@1936682608$kCMIOStreamPropertyStartingChannel@1935894638$kCMIOStreamPropertyStillImage@1937010023$kCMIOStreamPropertyStillImageFormatDescriptions@1937008244$kCMIOStreamPropertyTerminalType@1952805485$kCMIOStreamUnknown@0$kCMIOSystemObjectClassID@1634957683$kCMIOTemperatureControlClassID@1952804208$kCMIOTiltControlClassID@1953066100$kCMIOWhiteBalanceControlClassID@2003329644$kCMIOWhiteBalanceUControlClassID@2003329653$kCMIOWhiteBalanceVControlClassID@2003329654$kCMIOWhiteLevelControlClassID@2003332214$kCMIOZoomControlClassID@2054123373$kCMIOZoomRelativeControlClassID@2054122866$"""
|
|
86
|
+
misc.update(
|
|
87
|
+
{
|
|
88
|
+
"CMIOExtensionStreamDirection": NewType("CMIOExtensionStreamDirection", int),
|
|
89
|
+
"CMIOExtensionStreamClockType": NewType("CMIOExtensionStreamClockType", int),
|
|
90
|
+
"CMIOExtensionStreamDiscontinuityFlags": NewType(
|
|
91
|
+
"CMIOExtensionStreamDiscontinuityFlags", int
|
|
92
|
+
),
|
|
93
|
+
}
|
|
94
|
+
)
|
|
95
|
+
misc.update({"CMIOExtensionProperty": NewType("CMIOExtensionProperty", str)})
|
|
96
|
+
misc.update({})
|
|
97
|
+
functions = {
|
|
98
|
+
"CMIOObjectShow": (b"vI",),
|
|
99
|
+
"CMIOStreamDeckJog": (b"iIi",),
|
|
100
|
+
"CMIOObjectAddPropertyListenerBlock": (
|
|
101
|
+
b"iI^{CMIOObjectPropertyAddress=III}@@?",
|
|
102
|
+
"",
|
|
103
|
+
{
|
|
104
|
+
"arguments": {
|
|
105
|
+
1: {"type_modifier": "n"},
|
|
106
|
+
3: {
|
|
107
|
+
"callable": {
|
|
108
|
+
"retval": {"type": b"v"},
|
|
109
|
+
"arguments": {
|
|
110
|
+
0: {"type": b"^v"},
|
|
111
|
+
1: {"type": b"I"},
|
|
112
|
+
2: {
|
|
113
|
+
"type": b"^{CMIOObjectPropertyAddress=III}",
|
|
114
|
+
"type_modifier": "n",
|
|
115
|
+
"c_array_length_in_arg": 1,
|
|
116
|
+
},
|
|
117
|
+
},
|
|
118
|
+
}
|
|
119
|
+
},
|
|
120
|
+
}
|
|
121
|
+
},
|
|
122
|
+
),
|
|
123
|
+
"CMIOStreamDeckCueTo": (b"iIQZ",),
|
|
124
|
+
"CMIOObjectGetPropertyData": (
|
|
125
|
+
b"iI^{CMIOObjectPropertyAddress=III}I^vI^I^v",
|
|
126
|
+
"",
|
|
127
|
+
{
|
|
128
|
+
"arguments": {
|
|
129
|
+
1: {"type_modifier": "n"},
|
|
130
|
+
3: {"c_array_length_in_arg": 2, "type_modifier": "o"},
|
|
131
|
+
5: {"type_modifier": "o"},
|
|
132
|
+
6: {"c_array_length_in_arg": (4, 5), "type_modifier": "o"},
|
|
133
|
+
}
|
|
134
|
+
},
|
|
135
|
+
),
|
|
136
|
+
"CMIOSampleBufferCreateForImageBuffer": (
|
|
137
|
+
b"i^{__CFAllocator=}^{__CVBuffer=}^{opaqueCMFormatDescription=}^{CMSampleTimingInfo={CMTime=qiIq}{CMTime=qiIq}{CMTime=qiIq}}QI^^{opaqueCMSampleBuffer=}",
|
|
138
|
+
"",
|
|
139
|
+
{
|
|
140
|
+
"retval": {"already_cfretained": True},
|
|
141
|
+
"arguments": {
|
|
142
|
+
3: {"type_modifier": "n"},
|
|
143
|
+
6: {"already_cfretained": True, "type_modifier": "o"},
|
|
144
|
+
},
|
|
145
|
+
},
|
|
146
|
+
),
|
|
147
|
+
"CMIOObjectRemovePropertyListener": (
|
|
148
|
+
b"iI^{CMIOObjectPropertyAddress=III}^?^v",
|
|
149
|
+
"",
|
|
150
|
+
{
|
|
151
|
+
"arguments": {
|
|
152
|
+
1: {"type_modifier": "n"},
|
|
153
|
+
2: {
|
|
154
|
+
"callable": {
|
|
155
|
+
"retval": {"type": b"i"},
|
|
156
|
+
"arguments": {
|
|
157
|
+
0: {"type": b"I"},
|
|
158
|
+
1: {"type": b"I"},
|
|
159
|
+
2: {"type": b"^{CMIOObjectPropertyAddress=III}"},
|
|
160
|
+
3: {"type": b"^v"},
|
|
161
|
+
},
|
|
162
|
+
},
|
|
163
|
+
"callable_retained": True,
|
|
164
|
+
},
|
|
165
|
+
}
|
|
166
|
+
},
|
|
167
|
+
),
|
|
168
|
+
"CMIOSampleBufferCreateNoDataMarker": (
|
|
169
|
+
b"i^{__CFAllocator=}I^{opaqueCMFormatDescription=}QI^^{opaqueCMSampleBuffer=}",
|
|
170
|
+
"",
|
|
171
|
+
{
|
|
172
|
+
"retval": {"already_cfretained": True},
|
|
173
|
+
"arguments": {5: {"already_cfretained": True, "type_modifier": "o"}},
|
|
174
|
+
},
|
|
175
|
+
),
|
|
176
|
+
"CMIOObjectGetPropertyDataSize": (
|
|
177
|
+
b"iI^{CMIOObjectPropertyAddress=III}I^v^I",
|
|
178
|
+
"",
|
|
179
|
+
{
|
|
180
|
+
"arguments": {
|
|
181
|
+
1: {"type_modifier": "n"},
|
|
182
|
+
3: {"c_array_length_in_arg": 2, "type_modifier": "n"},
|
|
183
|
+
4: {"type_modifier": "o"},
|
|
184
|
+
}
|
|
185
|
+
},
|
|
186
|
+
),
|
|
187
|
+
"CMIOStreamClockPostTimingEvent": (b"i{CMTime=qiIq}QZ@",),
|
|
188
|
+
"CMIODeviceStopStream": (b"iII",),
|
|
189
|
+
"CMIODeviceStartStream": (b"iII",),
|
|
190
|
+
"CMIOSampleBufferCreate": (
|
|
191
|
+
b"i^{__CFAllocator=}^{OpaqueCMBlockBuffer=}^{opaqueCMFormatDescription=}II^{CMSampleTimingInfo={CMTime=qiIq}{CMTime=qiIq}{CMTime=qiIq}}I^QQI^^{opaqueCMSampleBuffer=}",
|
|
192
|
+
"",
|
|
193
|
+
{
|
|
194
|
+
"retval": {"already_cfretained": True},
|
|
195
|
+
"arguments": {
|
|
196
|
+
10: {"already_cfretained": True, "type_modifier": "o"},
|
|
197
|
+
5: {"c_array_length_in_arg": 4, "type_modifier": "n"},
|
|
198
|
+
7: {"c_array_length_in_arg": 6, "type_modifier": "n"},
|
|
199
|
+
},
|
|
200
|
+
},
|
|
201
|
+
),
|
|
202
|
+
"CMIOStreamCopyBufferQueue": (
|
|
203
|
+
b"iI^?^v^^{opaqueCMSimpleQueue=}",
|
|
204
|
+
"",
|
|
205
|
+
{
|
|
206
|
+
"retval": {"already_cfretained": True},
|
|
207
|
+
"arguments": {
|
|
208
|
+
1: {
|
|
209
|
+
"callable": {
|
|
210
|
+
"retval": {"type": b"v"},
|
|
211
|
+
"arguments": {
|
|
212
|
+
0: {"type": b"I"},
|
|
213
|
+
1: {"type": b"^v"},
|
|
214
|
+
2: {"type": b"^v"},
|
|
215
|
+
},
|
|
216
|
+
}
|
|
217
|
+
},
|
|
218
|
+
3: {"already_cfretained": True, "type_modifier": "o"},
|
|
219
|
+
},
|
|
220
|
+
},
|
|
221
|
+
),
|
|
222
|
+
"CMIOObjectAddPropertyListener": (
|
|
223
|
+
b"iI^{CMIOObjectPropertyAddress=III}^?^v",
|
|
224
|
+
"",
|
|
225
|
+
{
|
|
226
|
+
"arguments": {
|
|
227
|
+
1: {"type_modifier": "n"},
|
|
228
|
+
2: {
|
|
229
|
+
"callable": {
|
|
230
|
+
"retval": {"type": b"i"},
|
|
231
|
+
"arguments": {
|
|
232
|
+
0: {"type": b"I"},
|
|
233
|
+
1: {"type": b"I"},
|
|
234
|
+
2: {"type": b"^{CMIOObjectPropertyAddress=III}"},
|
|
235
|
+
3: {"type": b"^v"},
|
|
236
|
+
},
|
|
237
|
+
},
|
|
238
|
+
"callable_retained": True,
|
|
239
|
+
},
|
|
240
|
+
}
|
|
241
|
+
},
|
|
242
|
+
),
|
|
243
|
+
"CMIOObjectHasProperty": (
|
|
244
|
+
b"ZI^{CMIOObjectPropertyAddress=III}",
|
|
245
|
+
"",
|
|
246
|
+
{"arguments": {1: {"type_modifier": "n"}}},
|
|
247
|
+
),
|
|
248
|
+
"CMIOObjectIsPropertySettable": (
|
|
249
|
+
b"iI^{CMIOObjectPropertyAddress=III}^Z",
|
|
250
|
+
"",
|
|
251
|
+
{"arguments": {1: {"type_modifier": "n"}, 2: {"type_modifier": "o"}}},
|
|
252
|
+
),
|
|
253
|
+
"CMIOSampleBufferGetSequenceNumber": (b"Q^{opaqueCMSampleBuffer=}",),
|
|
254
|
+
"CMIOStreamClockCreate": (
|
|
255
|
+
b"i^{__CFAllocator=}^{__CFString=}^v{CMTime=qiIq}II^@",
|
|
256
|
+
"",
|
|
257
|
+
{
|
|
258
|
+
"retval": {"already_cfretained": True},
|
|
259
|
+
"arguments": {6: {"already_cfretained": True, "type_modifier": "o"}},
|
|
260
|
+
},
|
|
261
|
+
),
|
|
262
|
+
"CMIOStreamClockInvalidate": (b"i@",),
|
|
263
|
+
"CMIOObjectSetPropertyData": (
|
|
264
|
+
b"iI^{CMIOObjectPropertyAddress=III}I^vI^v",
|
|
265
|
+
"",
|
|
266
|
+
{
|
|
267
|
+
"arguments": {
|
|
268
|
+
1: {"type_modifier": "n"},
|
|
269
|
+
3: {"c_array_length_in_arg": 2, "type_modifier": "n"},
|
|
270
|
+
5: {"c_array_length_in_arg": 4, "type_modifier": "n"},
|
|
271
|
+
}
|
|
272
|
+
},
|
|
273
|
+
),
|
|
274
|
+
"CMIOSampleBufferGetDiscontinuityFlags": (b"I^{opaqueCMSampleBuffer=}",),
|
|
275
|
+
"CMIOStreamDeckPlay": (b"iI",),
|
|
276
|
+
"CMIOSampleBufferSetDiscontinuityFlags": (
|
|
277
|
+
b"v^{__CFAllocator=}^{opaqueCMSampleBuffer=}I",
|
|
278
|
+
),
|
|
279
|
+
"CMIOStreamDeckStop": (b"iI",),
|
|
280
|
+
"CMIOSampleBufferSetSequenceNumber": (
|
|
281
|
+
b"v^{__CFAllocator=}^{opaqueCMSampleBuffer=}Q",
|
|
282
|
+
),
|
|
283
|
+
"CMIOSampleBufferCopySampleAttachments": (
|
|
284
|
+
b"i^{opaqueCMSampleBuffer=}^{opaqueCMSampleBuffer=}",
|
|
285
|
+
"",
|
|
286
|
+
{"retval": {"already_cfretained": True}},
|
|
287
|
+
),
|
|
288
|
+
"CMIOStreamClockConvertHostTimeToDeviceTime": (b"{CMTime=qiIq}Q@",),
|
|
289
|
+
"CMIOObjectRemovePropertyListenerBlock": (
|
|
290
|
+
b"iI^{CMIOObjectPropertyAddress=III}@@?",
|
|
291
|
+
"",
|
|
292
|
+
{
|
|
293
|
+
"arguments": {
|
|
294
|
+
1: {"type_modifier": "n"},
|
|
295
|
+
3: {
|
|
296
|
+
"callable": {
|
|
297
|
+
"retval": {"type": b"v"},
|
|
298
|
+
"arguments": {
|
|
299
|
+
0: {"type": b"^v"},
|
|
300
|
+
1: {"type": b"I"},
|
|
301
|
+
2: {
|
|
302
|
+
"type": b"^{CMIOObjectPropertyAddress=III}",
|
|
303
|
+
"type_modifier": "n",
|
|
304
|
+
"c_array_length_in_arg": 1,
|
|
305
|
+
},
|
|
306
|
+
},
|
|
307
|
+
}
|
|
308
|
+
},
|
|
309
|
+
}
|
|
310
|
+
},
|
|
311
|
+
),
|
|
312
|
+
"CMIOSampleBufferCopyNonRequiredAttachments": (
|
|
313
|
+
b"i^{opaqueCMSampleBuffer=}^{opaqueCMSampleBuffer=}I",
|
|
314
|
+
"",
|
|
315
|
+
{"retval": {"already_cfretained": True}},
|
|
316
|
+
),
|
|
317
|
+
}
|
|
318
|
+
aliases = {
|
|
319
|
+
"kCMIODevicePropertyDeviceMaster": "kCMIODevicePropertyDeviceControl",
|
|
320
|
+
"kCMIODeviceUnknown": "kCMIOObjectUnknown",
|
|
321
|
+
"kCMIOObjectPropertyElementMaster": "kCMIOObjectPropertyElementMain",
|
|
322
|
+
"kCMIOStreamUnknown": "kCMIOObjectUnknown",
|
|
323
|
+
}
|
|
324
|
+
r = objc.registerMetaDataForSelector
|
|
325
|
+
objc._updatingMetadata(True)
|
|
326
|
+
try:
|
|
327
|
+
r(
|
|
328
|
+
b"CMIOExtensionDevice",
|
|
329
|
+
b"addStream:error:",
|
|
330
|
+
{"retval": {"type": b"Z"}, "arguments": {3: {"type_modifier": b"o"}}},
|
|
331
|
+
)
|
|
332
|
+
r(
|
|
333
|
+
b"CMIOExtensionDevice",
|
|
334
|
+
b"removeStream:error:",
|
|
335
|
+
{"retval": {"type": b"Z"}, "arguments": {3: {"type_modifier": b"o"}}},
|
|
336
|
+
)
|
|
337
|
+
r(
|
|
338
|
+
b"CMIOExtensionPropertyAttributes",
|
|
339
|
+
b"initWithMinValue:maxValue:validValues:readOnly:",
|
|
340
|
+
{"arguments": {5: {"type": b"Z"}}},
|
|
341
|
+
)
|
|
342
|
+
r(b"CMIOExtensionPropertyAttributes", b"isReadOnly", {"retval": {"type": b"Z"}})
|
|
343
|
+
r(
|
|
344
|
+
b"CMIOExtensionPropertyAttributes",
|
|
345
|
+
b"propertyAttributesWithMinValue:maxValue:validValues:readOnly:",
|
|
346
|
+
{"arguments": {5: {"type": b"Z"}}},
|
|
347
|
+
)
|
|
348
|
+
r(
|
|
349
|
+
b"CMIOExtensionProvider",
|
|
350
|
+
b"addDevice:error:",
|
|
351
|
+
{"retval": {"type": b"Z"}, "arguments": {3: {"type_modifier": b"o"}}},
|
|
352
|
+
)
|
|
353
|
+
r(
|
|
354
|
+
b"CMIOExtensionProvider",
|
|
355
|
+
b"removeDevice:error:",
|
|
356
|
+
{"retval": {"type": b"Z"}, "arguments": {3: {"type_modifier": b"o"}}},
|
|
357
|
+
)
|
|
358
|
+
r(
|
|
359
|
+
b"CMIOExtensionStream",
|
|
360
|
+
b"consumeSampleBufferFromClient:completionHandler:",
|
|
361
|
+
{
|
|
362
|
+
"arguments": {
|
|
363
|
+
3: {
|
|
364
|
+
"callable": {
|
|
365
|
+
"retval": {"type": b"v"},
|
|
366
|
+
"arguments": {
|
|
367
|
+
0: {"type": b"^v"},
|
|
368
|
+
1: {"type": b"^{opaqueCMSampleBuffer=}"},
|
|
369
|
+
2: {"type": b"Q"},
|
|
370
|
+
3: {"type": b"I"},
|
|
371
|
+
4: {"type": b"Z"},
|
|
372
|
+
5: {"type": b"@"},
|
|
373
|
+
},
|
|
374
|
+
}
|
|
375
|
+
}
|
|
376
|
+
}
|
|
377
|
+
},
|
|
378
|
+
)
|
|
379
|
+
r(
|
|
380
|
+
b"CMIOExtensionStreamCustomClockConfiguration",
|
|
381
|
+
b"customClockConfigurationWithClockName:sourceIdentifier:getTimeCallMinimumInterval:numberOfEventsForRateSmoothing:numberOfAveragesForRateSmoothing:",
|
|
382
|
+
{"arguments": {4: {"type": "{CMTime=qiIq}"}}},
|
|
383
|
+
)
|
|
384
|
+
r(
|
|
385
|
+
b"CMIOExtensionStreamCustomClockConfiguration",
|
|
386
|
+
b"getTimeCallMinimumInterval",
|
|
387
|
+
{"retval": {"type": "{CMTime=qiIq}"}},
|
|
388
|
+
)
|
|
389
|
+
r(
|
|
390
|
+
b"CMIOExtensionStreamCustomClockConfiguration",
|
|
391
|
+
b"initWithClockName:sourceIdentifier:getTimeCallMinimumInterval:numberOfEventsForRateSmoothing:numberOfAveragesForRateSmoothing:",
|
|
392
|
+
{"arguments": {4: {"type": "{CMTime=qiIq}"}}},
|
|
393
|
+
)
|
|
394
|
+
r(
|
|
395
|
+
b"CMIOExtensionStreamFormat",
|
|
396
|
+
b"initWithFormatDescription:maxFrameDuration:minFrameDuration:validFrameDurations:",
|
|
397
|
+
{"arguments": {3: {"type": "{CMTime=qiIq}"}, 4: {"type": "{CMTime=qiIq}"}}},
|
|
398
|
+
)
|
|
399
|
+
r(
|
|
400
|
+
b"CMIOExtensionStreamFormat",
|
|
401
|
+
b"maxFrameDuration",
|
|
402
|
+
{"retval": {"type": "{CMTime=qiIq}"}},
|
|
403
|
+
)
|
|
404
|
+
r(
|
|
405
|
+
b"CMIOExtensionStreamFormat",
|
|
406
|
+
b"minFrameDuration",
|
|
407
|
+
{"retval": {"type": "{CMTime=qiIq}"}},
|
|
408
|
+
)
|
|
409
|
+
r(
|
|
410
|
+
b"CMIOExtensionStreamFormat",
|
|
411
|
+
b"streamFormatWithFormatDescription:maxFrameDuration:minFrameDuration:validFrameDurations:",
|
|
412
|
+
{"arguments": {3: {"type": "{CMTime=qiIq}"}, 4: {"type": "{CMTime=qiIq}"}}},
|
|
413
|
+
)
|
|
414
|
+
r(
|
|
415
|
+
b"NSObject",
|
|
416
|
+
b"authorizedToStartStreamForClient:",
|
|
417
|
+
{"required": True, "retval": {"type": b"Z"}, "arguments": {2: {"type": b"@"}}},
|
|
418
|
+
)
|
|
419
|
+
r(b"NSObject", b"availableProperties", {"required": True, "retval": {"type": b"@"}})
|
|
420
|
+
r(
|
|
421
|
+
b"NSObject",
|
|
422
|
+
b"connectClient:error:",
|
|
423
|
+
{
|
|
424
|
+
"required": True,
|
|
425
|
+
"retval": {"type": b"Z"},
|
|
426
|
+
"arguments": {2: {"type": b"@"}, 3: {"type": b"^@", "type_modifier": b"o"}},
|
|
427
|
+
},
|
|
428
|
+
)
|
|
429
|
+
r(
|
|
430
|
+
b"NSObject",
|
|
431
|
+
b"devicePropertiesForProperties:error:",
|
|
432
|
+
{
|
|
433
|
+
"required": True,
|
|
434
|
+
"retval": {"type": b"@"},
|
|
435
|
+
"arguments": {2: {"type": b"@"}, 3: {"type": b"^@", "type_modifier": b"o"}},
|
|
436
|
+
},
|
|
437
|
+
)
|
|
438
|
+
r(
|
|
439
|
+
b"NSObject",
|
|
440
|
+
b"disconnectClient:",
|
|
441
|
+
{"required": True, "retval": {"type": b"v"}, "arguments": {2: {"type": b"@"}}},
|
|
442
|
+
)
|
|
443
|
+
r(b"NSObject", b"formats", {"required": True, "retval": {"type": b"@"}})
|
|
444
|
+
r(
|
|
445
|
+
b"NSObject",
|
|
446
|
+
b"providerPropertiesForProperties:error:",
|
|
447
|
+
{
|
|
448
|
+
"required": True,
|
|
449
|
+
"retval": {"type": b"@"},
|
|
450
|
+
"arguments": {2: {"type": b"@"}, 3: {"type": b"^@", "type_modifier": b"o"}},
|
|
451
|
+
},
|
|
452
|
+
)
|
|
453
|
+
r(
|
|
454
|
+
b"NSObject",
|
|
455
|
+
b"setDeviceProperties:error:",
|
|
456
|
+
{
|
|
457
|
+
"required": True,
|
|
458
|
+
"retval": {"type": b"Z"},
|
|
459
|
+
"arguments": {2: {"type": b"@"}, 3: {"type": b"^@", "type_modifier": b"o"}},
|
|
460
|
+
},
|
|
461
|
+
)
|
|
462
|
+
r(
|
|
463
|
+
b"NSObject",
|
|
464
|
+
b"setProviderProperties:error:",
|
|
465
|
+
{
|
|
466
|
+
"required": True,
|
|
467
|
+
"retval": {"type": b"Z"},
|
|
468
|
+
"arguments": {2: {"type": b"@"}, 3: {"type": b"^@", "type_modifier": b"o"}},
|
|
469
|
+
},
|
|
470
|
+
)
|
|
471
|
+
r(
|
|
472
|
+
b"NSObject",
|
|
473
|
+
b"setStreamProperties:error:",
|
|
474
|
+
{
|
|
475
|
+
"required": True,
|
|
476
|
+
"retval": {"type": b"Z"},
|
|
477
|
+
"arguments": {2: {"type": b"@"}, 3: {"type": b"^@", "type_modifier": b"o"}},
|
|
478
|
+
},
|
|
479
|
+
)
|
|
480
|
+
r(
|
|
481
|
+
b"NSObject",
|
|
482
|
+
b"startStreamAndReturnError:",
|
|
483
|
+
{
|
|
484
|
+
"required": True,
|
|
485
|
+
"retval": {"type": b"Z"},
|
|
486
|
+
"arguments": {2: {"type": b"^@", "type_modifier": b"o"}},
|
|
487
|
+
},
|
|
488
|
+
)
|
|
489
|
+
r(
|
|
490
|
+
b"NSObject",
|
|
491
|
+
b"stopStreamAndReturnError:",
|
|
492
|
+
{
|
|
493
|
+
"required": True,
|
|
494
|
+
"retval": {"type": b"Z"},
|
|
495
|
+
"arguments": {2: {"type": b"^@", "type_modifier": b"o"}},
|
|
496
|
+
},
|
|
497
|
+
)
|
|
498
|
+
r(
|
|
499
|
+
b"NSObject",
|
|
500
|
+
b"streamPropertiesForProperties:error:",
|
|
501
|
+
{
|
|
502
|
+
"required": True,
|
|
503
|
+
"retval": {"type": b"@"},
|
|
504
|
+
"arguments": {2: {"type": b"@"}, 3: {"type": b"^@", "type_modifier": b"o"}},
|
|
505
|
+
},
|
|
506
|
+
)
|
|
507
|
+
finally:
|
|
508
|
+
objc._updatingMetadata(False)
|
|
509
|
+
|
|
510
|
+
objc.registerNewKeywordsFromSelector("CMIOExtensionClient", b"init")
|
|
511
|
+
objc.registerNewKeywordsFromSelector("CMIOExtensionDevice", b"init")
|
|
512
|
+
objc.registerNewKeywordsFromSelector(
|
|
513
|
+
"CMIOExtensionDevice", b"initWithLocalizedName:deviceID:legacyDeviceID:source:"
|
|
514
|
+
)
|
|
515
|
+
objc.registerNewKeywordsFromSelector(
|
|
516
|
+
"CMIOExtensionDevice", b"initWithLocalizedName:deviceID:source:"
|
|
517
|
+
)
|
|
518
|
+
objc.registerNewKeywordsFromSelector("CMIOExtensionDeviceProperties", b"init")
|
|
519
|
+
objc.registerNewKeywordsFromSelector(
|
|
520
|
+
"CMIOExtensionDeviceProperties", b"initWithDictionary:"
|
|
521
|
+
)
|
|
522
|
+
objc.registerNewKeywordsFromSelector("CMIOExtensionPropertyAttributes", b"init")
|
|
523
|
+
objc.registerNewKeywordsFromSelector(
|
|
524
|
+
"CMIOExtensionPropertyAttributes",
|
|
525
|
+
b"initWithMinValue:maxValue:validValues:readOnly:",
|
|
526
|
+
)
|
|
527
|
+
objc.registerNewKeywordsFromSelector("CMIOExtensionPropertyState", b"init")
|
|
528
|
+
objc.registerNewKeywordsFromSelector("CMIOExtensionPropertyState", b"initWithValue:")
|
|
529
|
+
objc.registerNewKeywordsFromSelector(
|
|
530
|
+
"CMIOExtensionPropertyState", b"initWithValue:attributes:"
|
|
531
|
+
)
|
|
532
|
+
objc.registerNewKeywordsFromSelector("CMIOExtensionProvider", b"init")
|
|
533
|
+
objc.registerNewKeywordsFromSelector(
|
|
534
|
+
"CMIOExtensionProvider", b"initWithSource:clientQueue:"
|
|
535
|
+
)
|
|
536
|
+
objc.registerNewKeywordsFromSelector("CMIOExtensionProviderProperties", b"init")
|
|
537
|
+
objc.registerNewKeywordsFromSelector(
|
|
538
|
+
"CMIOExtensionProviderProperties", b"initWithDictionary:"
|
|
539
|
+
)
|
|
540
|
+
objc.registerNewKeywordsFromSelector("CMIOExtensionScheduledOutput", b"init")
|
|
541
|
+
objc.registerNewKeywordsFromSelector(
|
|
542
|
+
"CMIOExtensionScheduledOutput", b"initWithSequenceNumber:hostTimeInNanoseconds:"
|
|
543
|
+
)
|
|
544
|
+
objc.registerNewKeywordsFromSelector("CMIOExtensionStream", b"init")
|
|
545
|
+
objc.registerNewKeywordsFromSelector(
|
|
546
|
+
"CMIOExtensionStream", b"initWithLocalizedName:streamID:direction:clockType:source:"
|
|
547
|
+
)
|
|
548
|
+
objc.registerNewKeywordsFromSelector(
|
|
549
|
+
"CMIOExtensionStream",
|
|
550
|
+
b"initWithLocalizedName:streamID:direction:customClockConfiguration:source:",
|
|
551
|
+
)
|
|
552
|
+
objc.registerNewKeywordsFromSelector(
|
|
553
|
+
"CMIOExtensionStreamCustomClockConfiguration", b"init"
|
|
554
|
+
)
|
|
555
|
+
objc.registerNewKeywordsFromSelector(
|
|
556
|
+
"CMIOExtensionStreamCustomClockConfiguration",
|
|
557
|
+
b"initWithClockName:sourceIdentifier:getTimeCallMinimumInterval:numberOfEventsForRateSmoothing:numberOfAveragesForRateSmoothing:",
|
|
558
|
+
)
|
|
559
|
+
objc.registerNewKeywordsFromSelector("CMIOExtensionStreamFormat", b"init")
|
|
560
|
+
objc.registerNewKeywordsFromSelector(
|
|
561
|
+
"CMIOExtensionStreamFormat",
|
|
562
|
+
b"initWithFormatDescription:maxFrameDuration:minFrameDuration:validFrameDurations:",
|
|
563
|
+
)
|
|
564
|
+
objc.registerNewKeywordsFromSelector("CMIOExtensionStreamProperties", b"init")
|
|
565
|
+
objc.registerNewKeywordsFromSelector(
|
|
566
|
+
"CMIOExtensionStreamProperties", b"initWithDictionary:"
|
|
567
|
+
)
|
|
568
|
+
expressions = {}
|
|
569
|
+
|
|
570
|
+
# END OF FILE
|
|
@@ -0,0 +1,68 @@
|
|
|
1
|
+
Metadata-Version: 2.4
|
|
2
|
+
Name: pyobjc-framework-CoreMediaIO
|
|
3
|
+
Version: 12.2
|
|
4
|
+
Summary: Wrappers for the framework CoreMediaIO on macOS
|
|
5
|
+
Home-page: https://github.com/ronaldoussoren/pyobjc
|
|
6
|
+
Author: Ronald Oussoren
|
|
7
|
+
Author-email: pyobjc-dev@lists.sourceforge.net
|
|
8
|
+
License: MIT
|
|
9
|
+
Keywords: PyObjC,CoreMediaIO
|
|
10
|
+
Platform: MacOS X (>=10.7)
|
|
11
|
+
Classifier: Development Status :: 5 - Production/Stable
|
|
12
|
+
Classifier: Environment :: Console
|
|
13
|
+
Classifier: Environment :: MacOS X :: Cocoa
|
|
14
|
+
Classifier: Intended Audience :: Developers
|
|
15
|
+
Classifier: Natural Language :: English
|
|
16
|
+
Classifier: Operating System :: MacOS :: MacOS X
|
|
17
|
+
Classifier: Programming Language :: Python
|
|
18
|
+
Classifier: Programming Language :: Python :: 3
|
|
19
|
+
Classifier: Programming Language :: Python :: 3 :: Only
|
|
20
|
+
Classifier: Programming Language :: Python :: 3.10
|
|
21
|
+
Classifier: Programming Language :: Python :: 3.11
|
|
22
|
+
Classifier: Programming Language :: Python :: 3.12
|
|
23
|
+
Classifier: Programming Language :: Python :: 3.13
|
|
24
|
+
Classifier: Programming Language :: Python :: 3.14
|
|
25
|
+
Classifier: Programming Language :: Python :: 3.15
|
|
26
|
+
Classifier: Programming Language :: Python :: Implementation :: CPython
|
|
27
|
+
Classifier: Programming Language :: Python :: Free Threading :: 3 - Stable
|
|
28
|
+
Classifier: Programming Language :: Objective C
|
|
29
|
+
Classifier: Topic :: Software Development :: Libraries :: Python Modules
|
|
30
|
+
Classifier: Topic :: Software Development :: User Interfaces
|
|
31
|
+
Requires-Python: >=3.10
|
|
32
|
+
Description-Content-Type: text/x-rst; charset=UTF-8
|
|
33
|
+
Requires-Dist: pyobjc-core>=12.2
|
|
34
|
+
Requires-Dist: pyobjc-framework-Cocoa>=12.2
|
|
35
|
+
Dynamic: author
|
|
36
|
+
Dynamic: author-email
|
|
37
|
+
Dynamic: classifier
|
|
38
|
+
Dynamic: description
|
|
39
|
+
Dynamic: description-content-type
|
|
40
|
+
Dynamic: home-page
|
|
41
|
+
Dynamic: keywords
|
|
42
|
+
Dynamic: license
|
|
43
|
+
Dynamic: platform
|
|
44
|
+
Dynamic: requires-dist
|
|
45
|
+
Dynamic: requires-python
|
|
46
|
+
Dynamic: summary
|
|
47
|
+
Project-URL: Documentation, https://pyobjc.readthedocs.io/en/latest/
|
|
48
|
+
Project-URL: Issue tracker, https://github.com/ronaldoussoren/pyobjc/issues
|
|
49
|
+
Project-URL: Repository, https://github.com/ronaldoussoren/pyobjc
|
|
50
|
+
|
|
51
|
+
|
|
52
|
+
Wrappers for the "CoreMediaIO" framework on macOS.
|
|
53
|
+
|
|
54
|
+
These wrappers don't include documentation, please check Apple's documentation
|
|
55
|
+
for information on how to use this framework and PyObjC's documentation
|
|
56
|
+
for general tips and tricks regarding the translation between Python
|
|
57
|
+
and (Objective-)C frameworks
|
|
58
|
+
|
|
59
|
+
|
|
60
|
+
Project links
|
|
61
|
+
-------------
|
|
62
|
+
|
|
63
|
+
* `Documentation <https://pyobjc.readthedocs.io/en/latest/>`_
|
|
64
|
+
|
|
65
|
+
* `Issue Tracker <https://github.com/ronaldoussoren/pyobjc/issues>`_
|
|
66
|
+
|
|
67
|
+
* `Repository <https://github.com/ronaldoussoren/pyobjc/>`_
|
|
68
|
+
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
CoreMediaIO/_CoreMediaIO.cpython-315-darwin.so,sha256=YI8Kfp6sMuarsivO_qCbYFbwVXaSWYnsY-VjGVZlSEg,86560
|
|
2
|
+
CoreMediaIO/__init__.py,sha256=Br77QR--LQrMZiFyLaZLm1KpgMShEwQalZpzgFJGJ0w,2533
|
|
3
|
+
CoreMediaIO/_metadata.py,sha256=_bTxFS-9_p_xoGuK1zReR7ZdwyDzDvYOrjL_RoPIj3w,35889
|
|
4
|
+
pyobjc_framework_coremediaio-12.2.dist-info/METADATA,sha256=LnNV5xrYo02kinrSbJsXdeZk3I2guc_ThzVGd0qcfGw,2512
|
|
5
|
+
pyobjc_framework_coremediaio-12.2.dist-info/WHEEL,sha256=2M_SYDyM5rEsv_ln2yEuQGcyAVVUxLKyXAZ43VblWzk,115
|
|
6
|
+
pyobjc_framework_coremediaio-12.2.dist-info/pyobjc-build-info.txt,sha256=Ri0Wl_rPog8K797Y9SwUgX2P5KgewvMu0uQOBhtk0lo,83
|
|
7
|
+
pyobjc_framework_coremediaio-12.2.dist-info/top_level.txt,sha256=wX1XVgkBWb7BCtTrqZTIpy9KrkSknFMhmtuo8V43ls8,12
|
|
8
|
+
pyobjc_framework_coremediaio-12.2.dist-info/RECORD,,
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
CoreMediaIO
|