pyobjc-framework-AVFoundation 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.
- AVFAudio/__init__.py +53 -0
- AVFAudio/_inlines.cpython-315-darwin.so +0 -0
- AVFAudio/_metadata.py +1552 -0
- AVFoundation/_AVFoundation.cpython-315-darwin.so +0 -0
- AVFoundation/__init__.py +308 -0
- AVFoundation/_inlines.cpython-315-darwin.so +0 -0
- AVFoundation/_metadata.py +10246 -0
- pyobjc_framework_avfoundation-12.2.dist-info/METADATA +71 -0
- pyobjc_framework_avfoundation-12.2.dist-info/RECORD +12 -0
- pyobjc_framework_avfoundation-12.2.dist-info/WHEEL +5 -0
- pyobjc_framework_avfoundation-12.2.dist-info/pyobjc-build-info.txt +3 -0
- pyobjc_framework_avfoundation-12.2.dist-info/top_level.txt +2 -0
AVFAudio/__init__.py
ADDED
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
"""
|
|
2
|
+
Python mapping for the AVFAudio 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 CoreAudio
|
|
13
|
+
import CoreMedia
|
|
14
|
+
import Foundation
|
|
15
|
+
import objc
|
|
16
|
+
from . import _metadata
|
|
17
|
+
from ._inlines import _inline_list_
|
|
18
|
+
|
|
19
|
+
if objc.macos_available(11, 3):
|
|
20
|
+
dir_func, getattr_func = objc.createFrameworkDirAndGetattr(
|
|
21
|
+
name="AVFAudio",
|
|
22
|
+
frameworkIdentifier="com.apple.audio.AVFAudio",
|
|
23
|
+
frameworkPath=objc.pathForFramework(
|
|
24
|
+
"/System/Library/Frameworks/AVFAudio.framework"
|
|
25
|
+
),
|
|
26
|
+
globals_dict=globals(),
|
|
27
|
+
inline_list=_inline_list_,
|
|
28
|
+
parents=(CoreAudio, CoreMedia, Foundation),
|
|
29
|
+
metadict=_metadata.__dict__,
|
|
30
|
+
)
|
|
31
|
+
else:
|
|
32
|
+
dir_func, getattr_func = objc.createFrameworkDirAndGetattr(
|
|
33
|
+
name="AVFoundation",
|
|
34
|
+
frameworkIdentifier="com.apple.avfoundation",
|
|
35
|
+
frameworkPath=objc.pathForFramework(
|
|
36
|
+
"/System/Library/Frameworks/AVFoundation.framework"
|
|
37
|
+
),
|
|
38
|
+
globals_dict=globals(),
|
|
39
|
+
inline_list=_inline_list_,
|
|
40
|
+
parents=(CoreAudio, CoreMedia, Foundation),
|
|
41
|
+
metadict=_metadata.__dict__,
|
|
42
|
+
)
|
|
43
|
+
|
|
44
|
+
globals()["__dir__"] = dir_func
|
|
45
|
+
globals()["__getattr__"] = getattr_func
|
|
46
|
+
|
|
47
|
+
for cls, sel in ():
|
|
48
|
+
objc.registerUnavailableMethod(cls, sel)
|
|
49
|
+
|
|
50
|
+
del sys.modules["AVFAudio._metadata"]
|
|
51
|
+
|
|
52
|
+
|
|
53
|
+
globals().pop("_setup")()
|
|
Binary file
|