pyobjc-framework-MediaToolbox 9.2__tar.gz → 10.0__tar.gz
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.
- pyobjc-framework-MediaToolbox-10.0/Lib/MediaToolbox/__init__.py +37 -0
- pyobjc-framework-MediaToolbox-10.0/Lib/MediaToolbox/_metadata.py +88 -0
- {pyobjc-framework-MediaToolbox-9.2 → pyobjc-framework-MediaToolbox-10.0}/Lib/pyobjc_framework_MediaToolbox.egg-info/PKG-INFO +5 -3
- {pyobjc-framework-MediaToolbox-9.2 → pyobjc-framework-MediaToolbox-10.0}/Lib/pyobjc_framework_MediaToolbox.egg-info/SOURCES.txt +3 -1
- pyobjc-framework-MediaToolbox-10.0/Lib/pyobjc_framework_MediaToolbox.egg-info/requires.txt +2 -0
- {pyobjc-framework-MediaToolbox-9.2 → pyobjc-framework-MediaToolbox-10.0}/Modules/pyobjc-api.h +3 -0
- {pyobjc-framework-MediaToolbox-9.2 → pyobjc-framework-MediaToolbox-10.0}/Modules/pyobjc-compat.h +0 -273
- {pyobjc-framework-MediaToolbox-9.2 → pyobjc-framework-MediaToolbox-10.0}/PKG-INFO +5 -3
- {pyobjc-framework-MediaToolbox-9.2 → pyobjc-framework-MediaToolbox-10.0}/metadata/raw/arm64-12.0.fwinfo +1 -1
- {pyobjc-framework-MediaToolbox-9.2 → pyobjc-framework-MediaToolbox-10.0}/metadata/raw/arm64-12.3.fwinfo +1 -1
- pyobjc-framework-MediaToolbox-10.0/metadata/raw/arm64-14.0.fwinfo +175 -0
- {pyobjc-framework-MediaToolbox-9.2 → pyobjc-framework-MediaToolbox-10.0}/metadata/raw/x86_64-10.13.fwinfo +1 -1
- {pyobjc-framework-MediaToolbox-9.2 → pyobjc-framework-MediaToolbox-10.0}/metadata/raw/x86_64-10.16.fwinfo +1 -1
- {pyobjc-framework-MediaToolbox-9.2 → pyobjc-framework-MediaToolbox-10.0}/metadata/raw/x86_64-12.0.fwinfo +1 -1
- {pyobjc-framework-MediaToolbox-9.2 → pyobjc-framework-MediaToolbox-10.0}/metadata/raw/x86_64-12.3.fwinfo +1 -1
- pyobjc-framework-MediaToolbox-10.0/metadata/raw/x86_64-14.0.fwinfo +175 -0
- {pyobjc-framework-MediaToolbox-9.2 → pyobjc-framework-MediaToolbox-10.0}/pyobjc_setup.py +11 -2
- {pyobjc-framework-MediaToolbox-9.2 → pyobjc-framework-MediaToolbox-10.0}/setup.py +1 -1
- pyobjc-framework-MediaToolbox-9.2/Lib/MediaToolbox/__init__.py +0 -35
- pyobjc-framework-MediaToolbox-9.2/Lib/MediaToolbox/_metadata.py +0 -72
- pyobjc-framework-MediaToolbox-9.2/Lib/pyobjc_framework_MediaToolbox.egg-info/requires.txt +0 -2
- {pyobjc-framework-MediaToolbox-9.2 → pyobjc-framework-MediaToolbox-10.0}/Examples/ProcessingTap/summary.txt +0 -0
- {pyobjc-framework-MediaToolbox-9.2 → pyobjc-framework-MediaToolbox-10.0}/Examples/ProcessingTap/tap.py +0 -0
- {pyobjc-framework-MediaToolbox-9.2 → pyobjc-framework-MediaToolbox-10.0}/Lib/pyobjc_framework_MediaToolbox.egg-info/dependency_links.txt +0 -0
- {pyobjc-framework-MediaToolbox-9.2 → pyobjc-framework-MediaToolbox-10.0}/Lib/pyobjc_framework_MediaToolbox.egg-info/not-zip-safe +0 -0
- {pyobjc-framework-MediaToolbox-9.2 → pyobjc-framework-MediaToolbox-10.0}/Lib/pyobjc_framework_MediaToolbox.egg-info/top_level.txt +0 -0
- {pyobjc-framework-MediaToolbox-9.2 → pyobjc-framework-MediaToolbox-10.0}/License.txt +0 -0
- {pyobjc-framework-MediaToolbox-9.2 → pyobjc-framework-MediaToolbox-10.0}/MANIFEST.in +0 -0
- {pyobjc-framework-MediaToolbox-9.2 → pyobjc-framework-MediaToolbox-10.0}/Modules/_MediaToolbox.m +0 -0
- {pyobjc-framework-MediaToolbox-9.2 → pyobjc-framework-MediaToolbox-10.0}/PyObjCTest/__init__.py +0 -0
- {pyobjc-framework-MediaToolbox-9.2 → pyobjc-framework-MediaToolbox-10.0}/PyObjCTest/test_mediatoolbox.py +0 -0
- {pyobjc-framework-MediaToolbox-9.2 → pyobjc-framework-MediaToolbox-10.0}/PyObjCTest/test_mtaudioprocessingtap.py +0 -0
- {pyobjc-framework-MediaToolbox-9.2 → pyobjc-framework-MediaToolbox-10.0}/PyObjCTest/test_mtformatnames.py +0 -0
- {pyobjc-framework-MediaToolbox-9.2 → pyobjc-framework-MediaToolbox-10.0}/PyObjCTest/test_mtprofessionalvideoWorkflow.py +0 -0
- {pyobjc-framework-MediaToolbox-9.2 → pyobjc-framework-MediaToolbox-10.0}/metadata/MediaToolbox.fwinfo +0 -0
- {pyobjc-framework-MediaToolbox-9.2 → pyobjc-framework-MediaToolbox-10.0}/metadata/metadata.ini +0 -0
- {pyobjc-framework-MediaToolbox-9.2 → pyobjc-framework-MediaToolbox-10.0}/pyproject.toml +0 -0
- {pyobjc-framework-MediaToolbox-9.2 → pyobjc-framework-MediaToolbox-10.0}/setup.cfg +0 -0
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
"""
|
|
2
|
+
Python mapping for the MediaToolbox 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, _MediaToolbox
|
|
15
|
+
|
|
16
|
+
dir_func, getattr_func = objc.createFrameworkDirAndGetattr(
|
|
17
|
+
name="MediaToolbox",
|
|
18
|
+
frameworkIdentifier="com.apple.MediaToolbox",
|
|
19
|
+
frameworkPath=objc.pathForFramework(
|
|
20
|
+
"/System/Library/Frameworks/MediaToolbox.framework"
|
|
21
|
+
),
|
|
22
|
+
globals_dict=globals(),
|
|
23
|
+
inline_list=None,
|
|
24
|
+
parents=(
|
|
25
|
+
_MediaToolbox,
|
|
26
|
+
Foundation,
|
|
27
|
+
),
|
|
28
|
+
metadict=_metadata.__dict__,
|
|
29
|
+
)
|
|
30
|
+
|
|
31
|
+
globals()["__dir__"] = dir_func
|
|
32
|
+
globals()["__getattr__"] = getattr_func
|
|
33
|
+
|
|
34
|
+
del sys.modules["MediaToolbox._metadata"]
|
|
35
|
+
|
|
36
|
+
|
|
37
|
+
globals().pop("_setup")()
|
|
@@ -0,0 +1,88 @@
|
|
|
1
|
+
# This file is generated by objective.metadata
|
|
2
|
+
#
|
|
3
|
+
# Last update: Sat Jul 1 14:00:19 2023
|
|
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
|
+
constants = """$$"""
|
|
34
|
+
enums = """$kMTAudioProcessingTapCallbacksVersion_0@0$kMTAudioProcessingTapCreationFlag_PostEffects@2$kMTAudioProcessingTapCreationFlag_PreEffects@1$kMTAudioProcessingTapFlag_EndOfStream@512$kMTAudioProcessingTapFlag_StartOfStream@256$"""
|
|
35
|
+
misc.update(
|
|
36
|
+
{
|
|
37
|
+
"enum (unnamed at /Users/ronald/Applications/Xcode-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.0.sdk/System/Library/Frameworks/MediaToolbox.framework/Headers/MTAudioProcessingTap.h:42:1)": NewType(
|
|
38
|
+
"enum (unnamed at /Users/ronald/Applications/Xcode-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.0.sdk/System/Library/Frameworks/MediaToolbox.framework/Headers/MTAudioProcessingTap.h:42:1)",
|
|
39
|
+
int,
|
|
40
|
+
),
|
|
41
|
+
"enum (unnamed at /Users/ronald/Applications/Xcode-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.0.sdk/System/Library/Frameworks/MediaToolbox.framework/Headers/MTAudioProcessingTap.h:255:1)": NewType(
|
|
42
|
+
"enum (unnamed at /Users/ronald/Applications/Xcode-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.0.sdk/System/Library/Frameworks/MediaToolbox.framework/Headers/MTAudioProcessingTap.h:255:1)",
|
|
43
|
+
int,
|
|
44
|
+
),
|
|
45
|
+
"enum (unnamed at /Users/ronald/Applications/Xcode-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.0.sdk/System/Library/Frameworks/MediaToolbox.framework/Headers/MTAudioProcessingTap.h:67:1)": NewType(
|
|
46
|
+
"enum (unnamed at /Users/ronald/Applications/Xcode-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.0.sdk/System/Library/Frameworks/MediaToolbox.framework/Headers/MTAudioProcessingTap.h:67:1)",
|
|
47
|
+
int,
|
|
48
|
+
),
|
|
49
|
+
}
|
|
50
|
+
)
|
|
51
|
+
misc.update({})
|
|
52
|
+
misc.update({})
|
|
53
|
+
functions = {
|
|
54
|
+
"MTAudioProcessingTapGetSourceAudio": (
|
|
55
|
+
b"i^{opaqueMTAudioProcessingTap=}q^{AudioBufferList=I[1{AudioBuffer=II^v}]}^I^{CMTimeRange={CMTime=qiIq}{CMTime=qiIq}}^q",
|
|
56
|
+
"",
|
|
57
|
+
{
|
|
58
|
+
"arguments": {
|
|
59
|
+
3: {"type_modifier": "o"},
|
|
60
|
+
4: {"type_modifier": "o"},
|
|
61
|
+
5: {"type_modifier": "o"},
|
|
62
|
+
}
|
|
63
|
+
},
|
|
64
|
+
),
|
|
65
|
+
"MTAudioProcessingTapGetTypeID": (b"Q",),
|
|
66
|
+
"MTRegisterProfessionalVideoWorkflowFormatReaders": (b"v",),
|
|
67
|
+
"MTCopyLocalizedNameForMediaType": (
|
|
68
|
+
b"^{__CFString=}I",
|
|
69
|
+
"",
|
|
70
|
+
{"retval": {"already_cfretained": True}},
|
|
71
|
+
),
|
|
72
|
+
"MTCopyLocalizedNameForMediaSubType": (
|
|
73
|
+
b"^{__CFString=}II",
|
|
74
|
+
"",
|
|
75
|
+
{"retval": {"already_cfretained": True}},
|
|
76
|
+
),
|
|
77
|
+
}
|
|
78
|
+
cftypes = [
|
|
79
|
+
(
|
|
80
|
+
"MTAudioProcessingTapRef",
|
|
81
|
+
b"^{opaqueMTAudioProcessingTap=}",
|
|
82
|
+
"MTAudioProcessingTapGetTypeID",
|
|
83
|
+
None,
|
|
84
|
+
)
|
|
85
|
+
]
|
|
86
|
+
expressions = {}
|
|
87
|
+
|
|
88
|
+
# END OF FILE
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: pyobjc-framework-MediaToolbox
|
|
3
|
-
Version:
|
|
3
|
+
Version: 10.0
|
|
4
4
|
Summary: Wrappers for the framework MediaToolbox on macOS
|
|
5
5
|
Home-page: https://github.com/ronaldoussoren/pyobjc
|
|
6
6
|
Author: Ronald Oussoren
|
|
@@ -18,17 +18,19 @@ Classifier: Operating System :: MacOS :: MacOS X
|
|
|
18
18
|
Classifier: Programming Language :: Python
|
|
19
19
|
Classifier: Programming Language :: Python :: 3
|
|
20
20
|
Classifier: Programming Language :: Python :: 3 :: Only
|
|
21
|
-
Classifier: Programming Language :: Python :: 3.7
|
|
22
21
|
Classifier: Programming Language :: Python :: 3.8
|
|
23
22
|
Classifier: Programming Language :: Python :: 3.9
|
|
24
23
|
Classifier: Programming Language :: Python :: 3.10
|
|
25
24
|
Classifier: Programming Language :: Python :: 3.11
|
|
25
|
+
Classifier: Programming Language :: Python :: 3.12
|
|
26
26
|
Classifier: Programming Language :: Python :: Implementation :: CPython
|
|
27
27
|
Classifier: Programming Language :: Objective C
|
|
28
28
|
Classifier: Topic :: Software Development :: Libraries :: Python Modules
|
|
29
29
|
Classifier: Topic :: Software Development :: User Interfaces
|
|
30
|
-
Requires-Python: >=3.
|
|
30
|
+
Requires-Python: >=3.8
|
|
31
31
|
Description-Content-Type: text/x-rst; charset=UTF-8
|
|
32
|
+
Requires-Dist: pyobjc-core>=10.0
|
|
33
|
+
Requires-Dist: pyobjc-framework-Cocoa>=10.0
|
|
32
34
|
Project-URL: Documentation, https://pyobjc.readthedocs.io/en/latest/
|
|
33
35
|
Project-URL: Issue tracker, https://github.com/ronaldoussoren/pyobjc/issues
|
|
34
36
|
Project-URL: Repository, https://github.com/ronaldoussoren/pyobjc
|
|
@@ -26,7 +26,9 @@ metadata/MediaToolbox.fwinfo
|
|
|
26
26
|
metadata/metadata.ini
|
|
27
27
|
metadata/raw/arm64-12.0.fwinfo
|
|
28
28
|
metadata/raw/arm64-12.3.fwinfo
|
|
29
|
+
metadata/raw/arm64-14.0.fwinfo
|
|
29
30
|
metadata/raw/x86_64-10.13.fwinfo
|
|
30
31
|
metadata/raw/x86_64-10.16.fwinfo
|
|
31
32
|
metadata/raw/x86_64-12.0.fwinfo
|
|
32
|
-
metadata/raw/x86_64-12.3.fwinfo
|
|
33
|
+
metadata/raw/x86_64-12.3.fwinfo
|
|
34
|
+
metadata/raw/x86_64-14.0.fwinfo
|
{pyobjc-framework-MediaToolbox-9.2 → pyobjc-framework-MediaToolbox-10.0}/Modules/pyobjc-api.h
RENAMED
|
@@ -112,6 +112,8 @@ struct pyobjc_api {
|
|
|
112
112
|
size_t max_args, size_t nargsf);
|
|
113
113
|
int (*_Nonnull checknokwnames)(PyObject* _Nonnull callable,
|
|
114
114
|
PyObject* _Nullable kwnames);
|
|
115
|
+
|
|
116
|
+
PyObject* _Nullable (*_Nonnull createopaquepointertype)(const char*, const char*, const char*);
|
|
115
117
|
};
|
|
116
118
|
|
|
117
119
|
#ifndef PYOBJC_BUILD
|
|
@@ -153,6 +155,7 @@ static struct pyobjc_api* PyObjC_API;
|
|
|
153
155
|
#define PyObjCMemView_GetBuffer (PyObjC_API->memview_getbuffer)
|
|
154
156
|
#define PyObjC_CheckArgCount (PyObjC_API->checkargcount)
|
|
155
157
|
#define PyObjC_CheckNoKwnames (PyObjC_API->checknokwnames)
|
|
158
|
+
#define PyObjCCreateOpaquePointerType (PyObjC_API->createopaquepointertype)
|
|
156
159
|
|
|
157
160
|
typedef void (*PyObjC_Function_Pointer)(void);
|
|
158
161
|
typedef struct PyObjC_function_map {
|
{pyobjc-framework-MediaToolbox-9.2 → pyobjc-framework-MediaToolbox-10.0}/Modules/pyobjc-compat.h
RENAMED
|
@@ -46,279 +46,6 @@ NS_ASSUME_NONNULL_BEGIN
|
|
|
46
46
|
#define PyObjC_FINAL_CLASS
|
|
47
47
|
#endif
|
|
48
48
|
|
|
49
|
-
/*
|
|
50
|
-
*
|
|
51
|
-
* Start of Cocoa definitions
|
|
52
|
-
*
|
|
53
|
-
*
|
|
54
|
-
* Ensure that CGFloat and NSInteger are always
|
|
55
|
-
* available, even when compiling with ancient SDKs.
|
|
56
|
-
*
|
|
57
|
-
* Also ensure that MAC_OS_X_VERSION_... macros are available
|
|
58
|
-
* for all existing OSX versions.
|
|
59
|
-
*
|
|
60
|
-
* XXX: Are these really needed?
|
|
61
|
-
*/
|
|
62
|
-
|
|
63
|
-
#ifndef MAC_OS_X_VERSION_10_1
|
|
64
|
-
#define MAC_OS_X_VERSION_10_1 1010
|
|
65
|
-
#define MAC_OS_X_VERSION_MAX_ALLOWED MAC_OS_X_VERSION_10_1
|
|
66
|
-
#endif
|
|
67
|
-
|
|
68
|
-
#ifndef MAC_OS_X_VERSION_10_2
|
|
69
|
-
#define MAC_OS_X_VERSION_10_2 1020
|
|
70
|
-
#endif
|
|
71
|
-
|
|
72
|
-
#ifndef MAC_OS_X_VERSION_10_3
|
|
73
|
-
#define MAC_OS_X_VERSION_10_3 1030
|
|
74
|
-
#endif
|
|
75
|
-
|
|
76
|
-
#ifndef MAC_OS_X_VERSION_10_4
|
|
77
|
-
#define MAC_OS_X_VERSION_10_4 1040
|
|
78
|
-
#endif
|
|
79
|
-
|
|
80
|
-
#ifndef MAC_OS_X_VERSION_10_5
|
|
81
|
-
#define MAC_OS_X_VERSION_10_5 1050
|
|
82
|
-
#endif
|
|
83
|
-
|
|
84
|
-
#ifndef MAC_OS_X_VERSION_10_6
|
|
85
|
-
#define MAC_OS_X_VERSION_10_6 1060
|
|
86
|
-
#endif
|
|
87
|
-
|
|
88
|
-
#ifndef MAC_OS_X_VERSION_10_7
|
|
89
|
-
#define MAC_OS_X_VERSION_10_7 1070
|
|
90
|
-
#endif
|
|
91
|
-
|
|
92
|
-
#ifndef MAC_OS_X_VERSION_10_8
|
|
93
|
-
#define MAC_OS_X_VERSION_10_8 1080
|
|
94
|
-
#endif
|
|
95
|
-
|
|
96
|
-
#ifndef MAC_OS_X_VERSION_10_9
|
|
97
|
-
#define MAC_OS_X_VERSION_10_9 1090
|
|
98
|
-
#endif
|
|
99
|
-
|
|
100
|
-
#ifndef MAC_OS_X_VERSION_10_10
|
|
101
|
-
#define MAC_OS_X_VERSION_10_10 101000
|
|
102
|
-
#endif
|
|
103
|
-
|
|
104
|
-
#ifndef MAC_OS_X_VERSION_10_10_2
|
|
105
|
-
#define MAC_OS_X_VERSION_10_10_2 101002
|
|
106
|
-
#endif
|
|
107
|
-
|
|
108
|
-
#ifndef MAC_OS_X_VERSION_10_10_3
|
|
109
|
-
#define MAC_OS_X_VERSION_10_10_3 101003
|
|
110
|
-
#endif
|
|
111
|
-
|
|
112
|
-
#ifndef MAC_OS_X_VERSION_10_11
|
|
113
|
-
#define MAC_OS_X_VERSION_10_11 101100
|
|
114
|
-
#endif
|
|
115
|
-
|
|
116
|
-
#ifndef MAC_OS_X_VERSION_10_11_1
|
|
117
|
-
#define MAC_OS_X_VERSION_10_11_1 101101
|
|
118
|
-
#endif
|
|
119
|
-
|
|
120
|
-
#ifndef MAC_OS_X_VERSION_10_11_2
|
|
121
|
-
#define MAC_OS_X_VERSION_10_11_2 101102
|
|
122
|
-
#endif
|
|
123
|
-
|
|
124
|
-
#ifndef MAC_OS_X_VERSION_10_11_3
|
|
125
|
-
#define MAC_OS_X_VERSION_10_11_3 101103
|
|
126
|
-
#endif
|
|
127
|
-
|
|
128
|
-
#ifndef MAC_OS_X_VERSION_10_11_4
|
|
129
|
-
#define MAC_OS_X_VERSION_10_11_4 101104
|
|
130
|
-
#endif
|
|
131
|
-
|
|
132
|
-
#ifndef MAC_OS_X_VERSION_10_12
|
|
133
|
-
#define MAC_OS_X_VERSION_10_12 101200
|
|
134
|
-
#endif
|
|
135
|
-
|
|
136
|
-
#ifndef MAC_OS_X_VERSION_10_12_1
|
|
137
|
-
#define MAC_OS_X_VERSION_10_12_1 101201
|
|
138
|
-
#endif
|
|
139
|
-
|
|
140
|
-
#ifndef MAC_OS_X_VERSION_10_12_2
|
|
141
|
-
#define MAC_OS_X_VERSION_10_12_2 101202
|
|
142
|
-
#endif
|
|
143
|
-
|
|
144
|
-
#ifndef MAC_OS_X_VERSION_10_12_4
|
|
145
|
-
#define MAC_OS_X_VERSION_10_12_4 101204
|
|
146
|
-
#endif
|
|
147
|
-
|
|
148
|
-
#ifndef MAC_OS_X_VERSION_10_13
|
|
149
|
-
#define MAC_OS_X_VERSION_10_13 101300
|
|
150
|
-
#endif
|
|
151
|
-
|
|
152
|
-
#ifndef MAC_OS_X_VERSION_10_13_1
|
|
153
|
-
#define MAC_OS_X_VERSION_10_13_1 101301
|
|
154
|
-
#endif
|
|
155
|
-
|
|
156
|
-
#ifndef MAC_OS_X_VERSION_10_13_2
|
|
157
|
-
#define MAC_OS_X_VERSION_10_13_2 101302
|
|
158
|
-
#endif
|
|
159
|
-
|
|
160
|
-
#ifndef MAC_OS_X_VERSION_10_13_3
|
|
161
|
-
#define MAC_OS_X_VERSION_10_13_3 101303
|
|
162
|
-
#endif
|
|
163
|
-
|
|
164
|
-
#ifndef MAC_OS_X_VERSION_10_13_4
|
|
165
|
-
#define MAC_OS_X_VERSION_10_13_4 101304
|
|
166
|
-
#endif
|
|
167
|
-
|
|
168
|
-
#ifndef MAC_OS_X_VERSION_10_13_5
|
|
169
|
-
#define MAC_OS_X_VERSION_10_13_5 101305
|
|
170
|
-
#endif
|
|
171
|
-
|
|
172
|
-
#ifndef MAC_OS_X_VERSION_10_13_6
|
|
173
|
-
#define MAC_OS_X_VERSION_10_13_6 101306
|
|
174
|
-
#endif
|
|
175
|
-
|
|
176
|
-
#ifndef MAC_OS_X_VERSION_10_14
|
|
177
|
-
#define MAC_OS_X_VERSION_10_14 101400
|
|
178
|
-
#endif
|
|
179
|
-
|
|
180
|
-
#ifndef MAC_OS_X_VERSION_10_14_1
|
|
181
|
-
#define MAC_OS_X_VERSION_10_14_1 101401
|
|
182
|
-
#endif
|
|
183
|
-
|
|
184
|
-
#ifndef MAC_OS_X_VERSION_10_14_2
|
|
185
|
-
#define MAC_OS_X_VERSION_10_14_2 101402
|
|
186
|
-
#endif
|
|
187
|
-
|
|
188
|
-
#ifndef MAC_OS_X_VERSION_10_14_3
|
|
189
|
-
#define MAC_OS_X_VERSION_10_14_3 101403
|
|
190
|
-
#endif
|
|
191
|
-
|
|
192
|
-
#ifndef MAC_OS_X_VERSION_10_14_4
|
|
193
|
-
#define MAC_OS_X_VERSION_10_14_4 101404
|
|
194
|
-
#endif
|
|
195
|
-
|
|
196
|
-
#ifndef MAC_OS_X_VERSION_10_14_5
|
|
197
|
-
#define MAC_OS_X_VERSION_10_14_5 101405
|
|
198
|
-
#endif
|
|
199
|
-
|
|
200
|
-
#ifndef MAC_OS_X_VERSION_10_14_6
|
|
201
|
-
#define MAC_OS_X_VERSION_10_14_6 101406
|
|
202
|
-
#endif
|
|
203
|
-
|
|
204
|
-
#ifndef MAC_OS_X_VERSION_10_15
|
|
205
|
-
#define MAC_OS_X_VERSION_10_15 101500
|
|
206
|
-
#endif
|
|
207
|
-
|
|
208
|
-
#ifndef MAC_OS_X_VERSION_10_15_1
|
|
209
|
-
#define MAC_OS_X_VERSION_10_15_1 101501
|
|
210
|
-
#endif
|
|
211
|
-
|
|
212
|
-
#ifndef MAC_OS_X_VERSION_10_15_2
|
|
213
|
-
#define MAC_OS_X_VERSION_10_15_2 101502
|
|
214
|
-
#endif
|
|
215
|
-
|
|
216
|
-
#ifndef MAC_OS_X_VERSION_10_15_3
|
|
217
|
-
#define MAC_OS_X_VERSION_10_15_3 101503
|
|
218
|
-
#endif
|
|
219
|
-
|
|
220
|
-
#ifndef MAC_OS_X_VERSION_10_15_4
|
|
221
|
-
#define MAC_OS_X_VERSION_10_15_4 101504
|
|
222
|
-
#endif
|
|
223
|
-
|
|
224
|
-
#ifndef MAC_OS_X_VERSION_10_15_5
|
|
225
|
-
#define MAC_OS_X_VERSION_10_15_5 101505
|
|
226
|
-
#endif
|
|
227
|
-
|
|
228
|
-
#ifndef MAC_OS_X_VERSION_10_15_6
|
|
229
|
-
#define MAC_OS_X_VERSION_10_15_6 101506
|
|
230
|
-
#endif
|
|
231
|
-
|
|
232
|
-
#ifndef MAC_OS_X_VERSION_10_16
|
|
233
|
-
#define MAC_OS_X_VERSION_10_16 101600
|
|
234
|
-
#endif
|
|
235
|
-
|
|
236
|
-
#ifndef MAC_OS_X_VERSION_11_0
|
|
237
|
-
#define MAC_OS_X_VERSION_11_0 110000
|
|
238
|
-
#endif
|
|
239
|
-
|
|
240
|
-
#ifndef MAC_OS_X_VERSION_11_1
|
|
241
|
-
#define MAC_OS_X_VERSION_11_1 110100
|
|
242
|
-
#endif
|
|
243
|
-
|
|
244
|
-
#ifndef MAC_OS_X_VERSION_11_2
|
|
245
|
-
#define MAC_OS_X_VERSION_11_2 110200
|
|
246
|
-
#endif
|
|
247
|
-
|
|
248
|
-
#ifndef MAC_OS_X_VERSION_11_3
|
|
249
|
-
#define MAC_OS_X_VERSION_11_3 110300
|
|
250
|
-
#endif
|
|
251
|
-
|
|
252
|
-
#ifndef MAC_OS_X_VERSION_11_4
|
|
253
|
-
#define MAC_OS_X_VERSION_11_4 110400
|
|
254
|
-
#endif
|
|
255
|
-
|
|
256
|
-
#ifndef MAC_OS_X_VERSION_11_5
|
|
257
|
-
#define MAC_OS_X_VERSION_11_5 110500
|
|
258
|
-
#endif
|
|
259
|
-
|
|
260
|
-
#ifndef MAC_OS_X_VERSION_11_6
|
|
261
|
-
#define MAC_OS_X_VERSION_11_6 110600
|
|
262
|
-
#endif
|
|
263
|
-
|
|
264
|
-
#ifndef MAC_OS_X_VERSION_12_0
|
|
265
|
-
#define MAC_OS_X_VERSION_12_0 120000
|
|
266
|
-
#endif
|
|
267
|
-
|
|
268
|
-
#ifndef MAC_OS_X_VERSION_12_1
|
|
269
|
-
#define MAC_OS_X_VERSION_12_1 120100
|
|
270
|
-
#endif
|
|
271
|
-
|
|
272
|
-
#ifndef MAC_OS_X_VERSION_12_2
|
|
273
|
-
#define MAC_OS_X_VERSION_12_2 120200
|
|
274
|
-
#endif
|
|
275
|
-
|
|
276
|
-
#ifndef MAC_OS_X_VERSION_12_3
|
|
277
|
-
#define MAC_OS_X_VERSION_12_3 120300
|
|
278
|
-
#endif
|
|
279
|
-
|
|
280
|
-
#ifndef MAC_OS_X_VERSION_12_4
|
|
281
|
-
#define MAC_OS_X_VERSION_12_4 120400
|
|
282
|
-
#endif
|
|
283
|
-
|
|
284
|
-
#ifndef MAC_OS_X_VERSION_12_5
|
|
285
|
-
#define MAC_OS_X_VERSION_12_5 120500
|
|
286
|
-
#endif
|
|
287
|
-
|
|
288
|
-
#ifndef MAC_OS_X_VERSION_12_6
|
|
289
|
-
#define MAC_OS_X_VERSION_12_6 120600
|
|
290
|
-
#endif
|
|
291
|
-
|
|
292
|
-
#ifndef MAC_OS_X_VERSION_13_0
|
|
293
|
-
#define MAC_OS_X_VERSION_13_0 130000
|
|
294
|
-
#endif
|
|
295
|
-
|
|
296
|
-
#ifndef MAC_OS_X_VERSION_13_1
|
|
297
|
-
#define MAC_OS_X_VERSION_13_1 130100
|
|
298
|
-
#endif
|
|
299
|
-
|
|
300
|
-
#ifndef MAC_OS_X_VERSION_13_2
|
|
301
|
-
#define MAC_OS_X_VERSION_13_2 130200
|
|
302
|
-
#endif
|
|
303
|
-
|
|
304
|
-
#ifndef MAC_OS_X_VERSION_13_3
|
|
305
|
-
#define MAC_OS_X_VERSION_13_3 130300
|
|
306
|
-
#endif
|
|
307
|
-
|
|
308
|
-
#ifndef MAC_OS_X_VERSION_13_4
|
|
309
|
-
#define MAC_OS_X_VERSION_13_4 130400
|
|
310
|
-
#endif
|
|
311
|
-
|
|
312
|
-
#ifndef MAC_OS_X_VERSION_13_5
|
|
313
|
-
#define MAC_OS_X_VERSION_13_5 130500
|
|
314
|
-
#endif
|
|
315
|
-
|
|
316
|
-
/*
|
|
317
|
-
*
|
|
318
|
-
* End of Cocoa definitions
|
|
319
|
-
*
|
|
320
|
-
*/
|
|
321
|
-
|
|
322
49
|
/*
|
|
323
50
|
*
|
|
324
51
|
* Start of compiler support helpers
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: pyobjc-framework-MediaToolbox
|
|
3
|
-
Version:
|
|
3
|
+
Version: 10.0
|
|
4
4
|
Summary: Wrappers for the framework MediaToolbox on macOS
|
|
5
5
|
Home-page: https://github.com/ronaldoussoren/pyobjc
|
|
6
6
|
Author: Ronald Oussoren
|
|
@@ -18,17 +18,19 @@ Classifier: Operating System :: MacOS :: MacOS X
|
|
|
18
18
|
Classifier: Programming Language :: Python
|
|
19
19
|
Classifier: Programming Language :: Python :: 3
|
|
20
20
|
Classifier: Programming Language :: Python :: 3 :: Only
|
|
21
|
-
Classifier: Programming Language :: Python :: 3.7
|
|
22
21
|
Classifier: Programming Language :: Python :: 3.8
|
|
23
22
|
Classifier: Programming Language :: Python :: 3.9
|
|
24
23
|
Classifier: Programming Language :: Python :: 3.10
|
|
25
24
|
Classifier: Programming Language :: Python :: 3.11
|
|
25
|
+
Classifier: Programming Language :: Python :: 3.12
|
|
26
26
|
Classifier: Programming Language :: Python :: Implementation :: CPython
|
|
27
27
|
Classifier: Programming Language :: Objective C
|
|
28
28
|
Classifier: Topic :: Software Development :: Libraries :: Python Modules
|
|
29
29
|
Classifier: Topic :: Software Development :: User Interfaces
|
|
30
|
-
Requires-Python: >=3.
|
|
30
|
+
Requires-Python: >=3.8
|
|
31
31
|
Description-Content-Type: text/x-rst; charset=UTF-8
|
|
32
|
+
Requires-Dist: pyobjc-core>=10.0
|
|
33
|
+
Requires-Dist: pyobjc-framework-Cocoa>=10.0
|
|
32
34
|
|
|
33
35
|
|
|
34
36
|
Wrappers for the "MediaToolbox" framework on macOS.
|
|
@@ -0,0 +1,175 @@
|
|
|
1
|
+
// GENERATED FILE DO NOT EDIT
|
|
2
|
+
//
|
|
3
|
+
// This file was generated by objective.metadata
|
|
4
|
+
// Last update: Sat Jul 1 14:00:19 2023
|
|
5
|
+
{
|
|
6
|
+
"arch": "arm64",
|
|
7
|
+
"definitions": {
|
|
8
|
+
"aliases": {},
|
|
9
|
+
"called_definitions": {},
|
|
10
|
+
"cftypes": {},
|
|
11
|
+
"classes": {},
|
|
12
|
+
"enum": {
|
|
13
|
+
"kMTAudioProcessingTapCallbacksVersion_0": 0,
|
|
14
|
+
"kMTAudioProcessingTapCreationFlag_PostEffects": 2,
|
|
15
|
+
"kMTAudioProcessingTapCreationFlag_PreEffects": 1,
|
|
16
|
+
"kMTAudioProcessingTapFlag_EndOfStream": 512,
|
|
17
|
+
"kMTAudioProcessingTapFlag_StartOfStream": 256
|
|
18
|
+
},
|
|
19
|
+
"enum_type": {
|
|
20
|
+
"enum (unnamed at /Users/ronald/Applications/Xcode-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.0.sdk/System/Library/Frameworks/MediaToolbox.framework/Headers/MTAudioProcessingTap.h:255:1)": {
|
|
21
|
+
"type": "i"
|
|
22
|
+
},
|
|
23
|
+
"enum (unnamed at /Users/ronald/Applications/Xcode-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.0.sdk/System/Library/Frameworks/MediaToolbox.framework/Headers/MTAudioProcessingTap.h:42:1)": {
|
|
24
|
+
"type": "I"
|
|
25
|
+
},
|
|
26
|
+
"enum (unnamed at /Users/ronald/Applications/Xcode-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.0.sdk/System/Library/Frameworks/MediaToolbox.framework/Headers/MTAudioProcessingTap.h:67:1)": {
|
|
27
|
+
"type": "I"
|
|
28
|
+
}
|
|
29
|
+
},
|
|
30
|
+
"expressions": {},
|
|
31
|
+
"externs": {},
|
|
32
|
+
"formal_protocols": {},
|
|
33
|
+
"func_macros": {},
|
|
34
|
+
"functions": {
|
|
35
|
+
"MTAudioProcessingTapCreate": {
|
|
36
|
+
"args": [
|
|
37
|
+
{
|
|
38
|
+
"name": "allocator",
|
|
39
|
+
"typestr": "^{__CFAllocator=}"
|
|
40
|
+
},
|
|
41
|
+
{
|
|
42
|
+
"name": "callbacks",
|
|
43
|
+
"typestr": "^{MTAudioProcessingTapCallbacks=i^v^?^?^?^?^?}"
|
|
44
|
+
},
|
|
45
|
+
{
|
|
46
|
+
"name": "flags",
|
|
47
|
+
"typestr": "I"
|
|
48
|
+
},
|
|
49
|
+
{
|
|
50
|
+
"name": "tapOut",
|
|
51
|
+
"typestr": "^^{opaqueMTAudioProcessingTap=}"
|
|
52
|
+
}
|
|
53
|
+
],
|
|
54
|
+
"retval": {
|
|
55
|
+
"already_cfretained": true,
|
|
56
|
+
"typestr": "i"
|
|
57
|
+
}
|
|
58
|
+
},
|
|
59
|
+
"MTAudioProcessingTapGetSourceAudio": {
|
|
60
|
+
"args": [
|
|
61
|
+
{
|
|
62
|
+
"name": "tap",
|
|
63
|
+
"typestr": "^{opaqueMTAudioProcessingTap=}"
|
|
64
|
+
},
|
|
65
|
+
{
|
|
66
|
+
"name": "numberFrames",
|
|
67
|
+
"typestr": "q"
|
|
68
|
+
},
|
|
69
|
+
{
|
|
70
|
+
"name": "bufferListInOut",
|
|
71
|
+
"typestr": "^{AudioBufferList=I[1{AudioBuffer=II^v}]}"
|
|
72
|
+
},
|
|
73
|
+
{
|
|
74
|
+
"name": "flagsOut",
|
|
75
|
+
"typestr": "^I"
|
|
76
|
+
},
|
|
77
|
+
{
|
|
78
|
+
"name": "timeRangeOut",
|
|
79
|
+
"typestr": "^{CMTimeRange={CMTime=qiIq}{CMTime=qiIq}}"
|
|
80
|
+
},
|
|
81
|
+
{
|
|
82
|
+
"name": "numberFramesOut",
|
|
83
|
+
"typestr": "^q"
|
|
84
|
+
}
|
|
85
|
+
],
|
|
86
|
+
"retval": {
|
|
87
|
+
"typestr": "i"
|
|
88
|
+
}
|
|
89
|
+
},
|
|
90
|
+
"MTAudioProcessingTapGetStorage": {
|
|
91
|
+
"args": [
|
|
92
|
+
{
|
|
93
|
+
"name": "tap",
|
|
94
|
+
"typestr": "^{opaqueMTAudioProcessingTap=}"
|
|
95
|
+
}
|
|
96
|
+
],
|
|
97
|
+
"retval": {
|
|
98
|
+
"typestr": "^v"
|
|
99
|
+
}
|
|
100
|
+
},
|
|
101
|
+
"MTAudioProcessingTapGetTypeID": {
|
|
102
|
+
"args": [
|
|
103
|
+
{
|
|
104
|
+
"name": null,
|
|
105
|
+
"typestr": "v"
|
|
106
|
+
}
|
|
107
|
+
],
|
|
108
|
+
"retval": {
|
|
109
|
+
"typestr": "Q"
|
|
110
|
+
}
|
|
111
|
+
},
|
|
112
|
+
"MTCopyLocalizedNameForMediaSubType": {
|
|
113
|
+
"args": [
|
|
114
|
+
{
|
|
115
|
+
"name": "mediaType",
|
|
116
|
+
"typestr": "I"
|
|
117
|
+
},
|
|
118
|
+
{
|
|
119
|
+
"name": "mediaSubType",
|
|
120
|
+
"typestr": "I"
|
|
121
|
+
}
|
|
122
|
+
],
|
|
123
|
+
"retval": {
|
|
124
|
+
"already_cfretained": true,
|
|
125
|
+
"typestr": "^{__CFString=}"
|
|
126
|
+
}
|
|
127
|
+
},
|
|
128
|
+
"MTCopyLocalizedNameForMediaType": {
|
|
129
|
+
"args": [
|
|
130
|
+
{
|
|
131
|
+
"name": "mediaType",
|
|
132
|
+
"typestr": "I"
|
|
133
|
+
}
|
|
134
|
+
],
|
|
135
|
+
"retval": {
|
|
136
|
+
"already_cfretained": true,
|
|
137
|
+
"typestr": "^{__CFString=}"
|
|
138
|
+
}
|
|
139
|
+
},
|
|
140
|
+
"MTRegisterProfessionalVideoWorkflowFormatReaders": {
|
|
141
|
+
"args": [
|
|
142
|
+
{
|
|
143
|
+
"name": null,
|
|
144
|
+
"typestr": "v"
|
|
145
|
+
}
|
|
146
|
+
],
|
|
147
|
+
"retval": {
|
|
148
|
+
"typestr": "v"
|
|
149
|
+
}
|
|
150
|
+
}
|
|
151
|
+
},
|
|
152
|
+
"informal_protocols": {},
|
|
153
|
+
"literals": {},
|
|
154
|
+
"structs": {},
|
|
155
|
+
"typedefs": {
|
|
156
|
+
"MTAudioProcessingTapCallbacks": "struct MTAudioProcessingTapCallbacks",
|
|
157
|
+
"MTAudioProcessingTapCreationFlags": "uint32_t",
|
|
158
|
+
"MTAudioProcessingTapFinalizeCallback": "void (*)(MTAudioProcessingTapRef _Nonnull)",
|
|
159
|
+
"MTAudioProcessingTapFlags": "uint32_t",
|
|
160
|
+
"MTAudioProcessingTapInitCallback": "void (*)(MTAudioProcessingTapRef _Nonnull, void * _Nullable, void * _Nullable * _Nonnull)",
|
|
161
|
+
"MTAudioProcessingTapPrepareCallback": "void (*)(MTAudioProcessingTapRef _Nonnull, CMItemCount, const AudioStreamBasicDescription * _Nonnull)",
|
|
162
|
+
"MTAudioProcessingTapProcessCallback": "void (*)(MTAudioProcessingTapRef _Nonnull, CMItemCount, MTAudioProcessingTapFlags, AudioBufferList * _Nonnull, CMItemCount * _Nonnull, MTAudioProcessingTapFlags * _Nonnull)",
|
|
163
|
+
"MTAudioProcessingTapRef": "const struct opaqueMTAudioProcessingTap *",
|
|
164
|
+
"MTAudioProcessingTapUnprepareCallback": "void (*)(MTAudioProcessingTapRef _Nonnull)"
|
|
165
|
+
}
|
|
166
|
+
},
|
|
167
|
+
"framework": "MediaToolbox",
|
|
168
|
+
"headers": [
|
|
169
|
+
"MTAudioProcessingTap.h",
|
|
170
|
+
"MTFormatNames.h",
|
|
171
|
+
"MTProfessionalVideoWorkflow.h"
|
|
172
|
+
],
|
|
173
|
+
"release": "10.16",
|
|
174
|
+
"sdk": "/Users/ronald/Applications/Xcode-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.0.sdk"
|
|
175
|
+
}
|
|
@@ -0,0 +1,175 @@
|
|
|
1
|
+
// GENERATED FILE DO NOT EDIT
|
|
2
|
+
//
|
|
3
|
+
// This file was generated by objective.metadata
|
|
4
|
+
// Last update: Sat Jul 1 14:00:17 2023
|
|
5
|
+
{
|
|
6
|
+
"arch": "x86_64",
|
|
7
|
+
"definitions": {
|
|
8
|
+
"aliases": {},
|
|
9
|
+
"called_definitions": {},
|
|
10
|
+
"cftypes": {},
|
|
11
|
+
"classes": {},
|
|
12
|
+
"enum": {
|
|
13
|
+
"kMTAudioProcessingTapCallbacksVersion_0": 0,
|
|
14
|
+
"kMTAudioProcessingTapCreationFlag_PostEffects": 2,
|
|
15
|
+
"kMTAudioProcessingTapCreationFlag_PreEffects": 1,
|
|
16
|
+
"kMTAudioProcessingTapFlag_EndOfStream": 512,
|
|
17
|
+
"kMTAudioProcessingTapFlag_StartOfStream": 256
|
|
18
|
+
},
|
|
19
|
+
"enum_type": {
|
|
20
|
+
"enum (unnamed at /Users/ronald/Applications/Xcode-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.0.sdk/System/Library/Frameworks/MediaToolbox.framework/Headers/MTAudioProcessingTap.h:255:1)": {
|
|
21
|
+
"type": "i"
|
|
22
|
+
},
|
|
23
|
+
"enum (unnamed at /Users/ronald/Applications/Xcode-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.0.sdk/System/Library/Frameworks/MediaToolbox.framework/Headers/MTAudioProcessingTap.h:42:1)": {
|
|
24
|
+
"type": "I"
|
|
25
|
+
},
|
|
26
|
+
"enum (unnamed at /Users/ronald/Applications/Xcode-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.0.sdk/System/Library/Frameworks/MediaToolbox.framework/Headers/MTAudioProcessingTap.h:67:1)": {
|
|
27
|
+
"type": "I"
|
|
28
|
+
}
|
|
29
|
+
},
|
|
30
|
+
"expressions": {},
|
|
31
|
+
"externs": {},
|
|
32
|
+
"formal_protocols": {},
|
|
33
|
+
"func_macros": {},
|
|
34
|
+
"functions": {
|
|
35
|
+
"MTAudioProcessingTapCreate": {
|
|
36
|
+
"args": [
|
|
37
|
+
{
|
|
38
|
+
"name": "allocator",
|
|
39
|
+
"typestr": "^{__CFAllocator=}"
|
|
40
|
+
},
|
|
41
|
+
{
|
|
42
|
+
"name": "callbacks",
|
|
43
|
+
"typestr": "^{MTAudioProcessingTapCallbacks=i^v^?^?^?^?^?}"
|
|
44
|
+
},
|
|
45
|
+
{
|
|
46
|
+
"name": "flags",
|
|
47
|
+
"typestr": "I"
|
|
48
|
+
},
|
|
49
|
+
{
|
|
50
|
+
"name": "tapOut",
|
|
51
|
+
"typestr": "^^{opaqueMTAudioProcessingTap=}"
|
|
52
|
+
}
|
|
53
|
+
],
|
|
54
|
+
"retval": {
|
|
55
|
+
"already_cfretained": true,
|
|
56
|
+
"typestr": "i"
|
|
57
|
+
}
|
|
58
|
+
},
|
|
59
|
+
"MTAudioProcessingTapGetSourceAudio": {
|
|
60
|
+
"args": [
|
|
61
|
+
{
|
|
62
|
+
"name": "tap",
|
|
63
|
+
"typestr": "^{opaqueMTAudioProcessingTap=}"
|
|
64
|
+
},
|
|
65
|
+
{
|
|
66
|
+
"name": "numberFrames",
|
|
67
|
+
"typestr": "q"
|
|
68
|
+
},
|
|
69
|
+
{
|
|
70
|
+
"name": "bufferListInOut",
|
|
71
|
+
"typestr": "^{AudioBufferList=I[1{AudioBuffer=II^v}]}"
|
|
72
|
+
},
|
|
73
|
+
{
|
|
74
|
+
"name": "flagsOut",
|
|
75
|
+
"typestr": "^I"
|
|
76
|
+
},
|
|
77
|
+
{
|
|
78
|
+
"name": "timeRangeOut",
|
|
79
|
+
"typestr": "^{CMTimeRange={CMTime=qiIq}{CMTime=qiIq}}"
|
|
80
|
+
},
|
|
81
|
+
{
|
|
82
|
+
"name": "numberFramesOut",
|
|
83
|
+
"typestr": "^q"
|
|
84
|
+
}
|
|
85
|
+
],
|
|
86
|
+
"retval": {
|
|
87
|
+
"typestr": "i"
|
|
88
|
+
}
|
|
89
|
+
},
|
|
90
|
+
"MTAudioProcessingTapGetStorage": {
|
|
91
|
+
"args": [
|
|
92
|
+
{
|
|
93
|
+
"name": "tap",
|
|
94
|
+
"typestr": "^{opaqueMTAudioProcessingTap=}"
|
|
95
|
+
}
|
|
96
|
+
],
|
|
97
|
+
"retval": {
|
|
98
|
+
"typestr": "^v"
|
|
99
|
+
}
|
|
100
|
+
},
|
|
101
|
+
"MTAudioProcessingTapGetTypeID": {
|
|
102
|
+
"args": [
|
|
103
|
+
{
|
|
104
|
+
"name": null,
|
|
105
|
+
"typestr": "v"
|
|
106
|
+
}
|
|
107
|
+
],
|
|
108
|
+
"retval": {
|
|
109
|
+
"typestr": "Q"
|
|
110
|
+
}
|
|
111
|
+
},
|
|
112
|
+
"MTCopyLocalizedNameForMediaSubType": {
|
|
113
|
+
"args": [
|
|
114
|
+
{
|
|
115
|
+
"name": "mediaType",
|
|
116
|
+
"typestr": "I"
|
|
117
|
+
},
|
|
118
|
+
{
|
|
119
|
+
"name": "mediaSubType",
|
|
120
|
+
"typestr": "I"
|
|
121
|
+
}
|
|
122
|
+
],
|
|
123
|
+
"retval": {
|
|
124
|
+
"already_cfretained": true,
|
|
125
|
+
"typestr": "^{__CFString=}"
|
|
126
|
+
}
|
|
127
|
+
},
|
|
128
|
+
"MTCopyLocalizedNameForMediaType": {
|
|
129
|
+
"args": [
|
|
130
|
+
{
|
|
131
|
+
"name": "mediaType",
|
|
132
|
+
"typestr": "I"
|
|
133
|
+
}
|
|
134
|
+
],
|
|
135
|
+
"retval": {
|
|
136
|
+
"already_cfretained": true,
|
|
137
|
+
"typestr": "^{__CFString=}"
|
|
138
|
+
}
|
|
139
|
+
},
|
|
140
|
+
"MTRegisterProfessionalVideoWorkflowFormatReaders": {
|
|
141
|
+
"args": [
|
|
142
|
+
{
|
|
143
|
+
"name": null,
|
|
144
|
+
"typestr": "v"
|
|
145
|
+
}
|
|
146
|
+
],
|
|
147
|
+
"retval": {
|
|
148
|
+
"typestr": "v"
|
|
149
|
+
}
|
|
150
|
+
}
|
|
151
|
+
},
|
|
152
|
+
"informal_protocols": {},
|
|
153
|
+
"literals": {},
|
|
154
|
+
"structs": {},
|
|
155
|
+
"typedefs": {
|
|
156
|
+
"MTAudioProcessingTapCallbacks": "struct MTAudioProcessingTapCallbacks",
|
|
157
|
+
"MTAudioProcessingTapCreationFlags": "uint32_t",
|
|
158
|
+
"MTAudioProcessingTapFinalizeCallback": "void (*)(MTAudioProcessingTapRef _Nonnull)",
|
|
159
|
+
"MTAudioProcessingTapFlags": "uint32_t",
|
|
160
|
+
"MTAudioProcessingTapInitCallback": "void (*)(MTAudioProcessingTapRef _Nonnull, void * _Nullable, void * _Nullable * _Nonnull)",
|
|
161
|
+
"MTAudioProcessingTapPrepareCallback": "void (*)(MTAudioProcessingTapRef _Nonnull, CMItemCount, const AudioStreamBasicDescription * _Nonnull)",
|
|
162
|
+
"MTAudioProcessingTapProcessCallback": "void (*)(MTAudioProcessingTapRef _Nonnull, CMItemCount, MTAudioProcessingTapFlags, AudioBufferList * _Nonnull, CMItemCount * _Nonnull, MTAudioProcessingTapFlags * _Nonnull)",
|
|
163
|
+
"MTAudioProcessingTapRef": "const struct opaqueMTAudioProcessingTap *",
|
|
164
|
+
"MTAudioProcessingTapUnprepareCallback": "void (*)(MTAudioProcessingTapRef _Nonnull)"
|
|
165
|
+
}
|
|
166
|
+
},
|
|
167
|
+
"framework": "MediaToolbox",
|
|
168
|
+
"headers": [
|
|
169
|
+
"MTAudioProcessingTap.h",
|
|
170
|
+
"MTFormatNames.h",
|
|
171
|
+
"MTProfessionalVideoWorkflow.h"
|
|
172
|
+
],
|
|
173
|
+
"release": "10.16",
|
|
174
|
+
"sdk": "/Users/ronald/Applications/Xcode-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.0.sdk"
|
|
175
|
+
}
|
|
@@ -208,11 +208,11 @@ Operating System :: MacOS :: MacOS X
|
|
|
208
208
|
Programming Language :: Python
|
|
209
209
|
Programming Language :: Python :: 3
|
|
210
210
|
Programming Language :: Python :: 3 :: Only
|
|
211
|
-
Programming Language :: Python :: 3.7
|
|
212
211
|
Programming Language :: Python :: 3.8
|
|
213
212
|
Programming Language :: Python :: 3.9
|
|
214
213
|
Programming Language :: Python :: 3.10
|
|
215
214
|
Programming Language :: Python :: 3.11
|
|
215
|
+
Programming Language :: Python :: 3.12
|
|
216
216
|
Programming Language :: Python :: Implementation :: CPython
|
|
217
217
|
Programming Language :: Objective C
|
|
218
218
|
Topic :: Software Development :: Libraries :: Python Modules
|
|
@@ -510,6 +510,15 @@ def Extension(*args, **kwds):
|
|
|
510
510
|
% (tuple(map(int, os_level.split(".")[:2])))
|
|
511
511
|
)
|
|
512
512
|
|
|
513
|
+
# XCode 15 has a bug w.r.t. weak linking for older macOS versions,
|
|
514
|
+
# fall back to older linker when using that compiler.
|
|
515
|
+
# XXX: This should be in _fixup_compiler but doesn't work there...
|
|
516
|
+
lines = subprocess.check_output(["xcodebuild", "-version"], text=True).splitlines()
|
|
517
|
+
if lines[0].startswith("Xcode"):
|
|
518
|
+
xcode_vers = int(lines[0].split()[-1].split(".")[0])
|
|
519
|
+
if xcode_vers >= 15:
|
|
520
|
+
ldflags.append("-Wl,-ld_classic")
|
|
521
|
+
|
|
513
522
|
if os_level == "10.4":
|
|
514
523
|
cflags.append("-DNO_OBJC2_RUNTIME")
|
|
515
524
|
|
|
@@ -661,7 +670,7 @@ def setup(min_os_level=None, max_os_level=None, cmdclass=None, **kwds):
|
|
|
661
670
|
zip_safe=False,
|
|
662
671
|
license="MIT License",
|
|
663
672
|
classifiers=CLASSIFIERS,
|
|
664
|
-
python_requires=">=3.
|
|
673
|
+
python_requires=">=3.8",
|
|
665
674
|
keywords=["PyObjC"] + [p for p in k["packages"] if p not in ("PyObjCTools",)],
|
|
666
675
|
**k,
|
|
667
676
|
)
|
|
@@ -1,35 +0,0 @@
|
|
|
1
|
-
"""
|
|
2
|
-
Python mapping for the MediaToolbox 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
|
-
import sys
|
|
9
|
-
|
|
10
|
-
import Foundation
|
|
11
|
-
import MediaToolbox._MediaToolbox
|
|
12
|
-
import objc
|
|
13
|
-
from MediaToolbox import _metadata
|
|
14
|
-
|
|
15
|
-
sys.modules["MediaToolbox"] = mod = objc.ObjCLazyModule(
|
|
16
|
-
"MediaToolbox",
|
|
17
|
-
"com.apple.MediaToolbox",
|
|
18
|
-
objc.pathForFramework("/System/Library/Frameworks/MediaToolbox.framework"),
|
|
19
|
-
_metadata.__dict__,
|
|
20
|
-
None,
|
|
21
|
-
{
|
|
22
|
-
"__doc__": __doc__,
|
|
23
|
-
"objc": objc,
|
|
24
|
-
"__path__": __path__,
|
|
25
|
-
"__loader__": globals().get("__loader__", None),
|
|
26
|
-
},
|
|
27
|
-
(Foundation,),
|
|
28
|
-
)
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
for nm in dir(MediaToolbox._MediaToolbox):
|
|
32
|
-
setattr(mod, nm, getattr(MediaToolbox._MediaToolbox, nm))
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
del sys.modules["MediaToolbox._metadata"]
|
|
@@ -1,72 +0,0 @@
|
|
|
1
|
-
# This file is generated by objective.metadata
|
|
2
|
-
#
|
|
3
|
-
# Last update: Sun Feb 20 19:05:01 2022
|
|
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
|
-
constants = """$$"""
|
|
34
|
-
enums = """$kMTAudioProcessingTapCallbacksVersion_0@0$kMTAudioProcessingTapCreationFlag_PostEffects@2$kMTAudioProcessingTapCreationFlag_PreEffects@1$kMTAudioProcessingTapFlag_EndOfStream@512$kMTAudioProcessingTapFlag_StartOfStream@256$"""
|
|
35
|
-
misc.update({})
|
|
36
|
-
misc.update({})
|
|
37
|
-
functions = {
|
|
38
|
-
"MTAudioProcessingTapGetSourceAudio": (
|
|
39
|
-
b"i^{opaqueMTAudioProcessingTap=}q^{AudioBufferList=I[1{AudioBuffer=II^v}]}^I^{_CMTimeRange={_CMTime=qiIq}{_CMTime=qiIq}}^q",
|
|
40
|
-
"",
|
|
41
|
-
{
|
|
42
|
-
"arguments": {
|
|
43
|
-
3: {"type_modifier": "o"},
|
|
44
|
-
4: {"type_modifier": "o"},
|
|
45
|
-
5: {"type_modifier": "o"},
|
|
46
|
-
}
|
|
47
|
-
},
|
|
48
|
-
),
|
|
49
|
-
"MTAudioProcessingTapGetTypeID": (b"Q",),
|
|
50
|
-
"MTRegisterProfessionalVideoWorkflowFormatReaders": (b"v",),
|
|
51
|
-
"MTCopyLocalizedNameForMediaType": (
|
|
52
|
-
b"^{__CFString=}I",
|
|
53
|
-
"",
|
|
54
|
-
{"retval": {"already_cfretained": True}},
|
|
55
|
-
),
|
|
56
|
-
"MTCopyLocalizedNameForMediaSubType": (
|
|
57
|
-
b"^{__CFString=}II",
|
|
58
|
-
"",
|
|
59
|
-
{"retval": {"already_cfretained": True}},
|
|
60
|
-
),
|
|
61
|
-
}
|
|
62
|
-
cftypes = [
|
|
63
|
-
(
|
|
64
|
-
"MTAudioProcessingTapRef",
|
|
65
|
-
b"^{opaqueMTAudioProcessingTap=}",
|
|
66
|
-
"MTAudioProcessingTapGetTypeID",
|
|
67
|
-
None,
|
|
68
|
-
)
|
|
69
|
-
]
|
|
70
|
-
expressions = {}
|
|
71
|
-
|
|
72
|
-
# END OF FILE
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{pyobjc-framework-MediaToolbox-9.2 → pyobjc-framework-MediaToolbox-10.0}/Modules/_MediaToolbox.m
RENAMED
|
File without changes
|
{pyobjc-framework-MediaToolbox-9.2 → pyobjc-framework-MediaToolbox-10.0}/PyObjCTest/__init__.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{pyobjc-framework-MediaToolbox-9.2 → pyobjc-framework-MediaToolbox-10.0}/metadata/metadata.ini
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|