@octane-xplat/macos-renderer 0.13.0 → 0.15.0
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.
- package/README.md +95 -20
- package/package.json +15 -2
- package/src/appearance.ts +2 -0
- package/src/fonts.ts +2 -0
- package/src/formatted-text.ts +147 -0
- package/src/gestures.ts +196 -0
- package/src/host-globals.d.ts +55 -0
- package/src/html-text.ts +88 -0
- package/src/image.ts +91 -16
- package/src/index.d.ts +9 -0
- package/src/index.ts +5030 -678
- package/src/layer.ts +11 -9
- package/src/list-template.ts +266 -0
- package/src/list-view.ts +445 -0
- package/src/portal-components.macos.tsx +86 -0
- package/src/presentation.ts +48 -15
- package/src/scroll-view.ts +124 -0
- package/src/tab-view.ts +512 -0
- package/src/template-props.ts +402 -0
- package/src/vendor/listview/LICENSE +19 -0
- package/src/vendor/listview/README.md +1 -0
- package/src/vendor/listview/binding-options.ts +189 -0
- package/src/vendor/listview/expressions.ts +285 -0
- package/src/webview.ts +36 -7
- package/types/ARKitCore.d.ts +199 -0
- package/types/AVFAudio.d.ts +2304 -0
- package/types/AVFoundation.d.ts +6974 -0
- package/types/AVKit.d.ts +215 -0
- package/types/AVRouting.d.ts +7 -0
- package/types/Accelerate.d.ts +4776 -0
- package/types/Accessibility.d.ts +69 -0
- package/types/Accounts.d.ts +134 -0
- package/types/AdSupport.d.ts +12 -0
- package/types/AddressBook.d.ts +1012 -0
- package/types/AppKit.d.ts +34247 -0
- package/types/AppTrackingTransparency.d.ts +23 -0
- package/types/AppleScriptKit.d.ts +6 -0
- package/types/ApplicationServices.d.ts +6346 -0
- package/types/AudioToolbox.d.ts +7129 -0
- package/types/AudioVideoBridging.d.ts +613 -0
- package/types/AuthenticationServices.d.ts +982 -0
- package/types/AutomaticAssessmentConfiguration.d.ts +46 -0
- package/types/Automator.d.ts +248 -0
- package/types/BackgroundAssets.d.ts +9 -0
- package/types/BrowserEngineKit.d.ts +166 -0
- package/types/BusinessChat.d.ts +29 -0
- package/types/CFNetwork.d.ts +931 -0
- package/types/CalendarStore.d.ts +354 -0
- package/types/CallKit.d.ts +30 -0
- package/types/Carbon.d.ts +16207 -0
- package/types/ClassKit.d.ts +281 -0
- package/types/CloudKit.d.ts +1565 -0
- package/types/Collaboration.d.ts +123 -0
- package/types/ColorSync.d.ts +562 -0
- package/types/CompositorServices.d.ts +60 -0
- package/types/ComputeGraph.d.ts +16 -0
- package/types/Contacts.d.ts +1558 -0
- package/types/ContactsUI.d.ts +39 -0
- package/types/CoreAudio.d.ts +1376 -0
- package/types/CoreAudioKit.d.ts +122 -0
- package/types/CoreAudioTypes.d.ts +1003 -0
- package/types/CoreBluetooth.d.ts +657 -0
- package/types/CoreData.d.ts +2479 -0
- package/types/CoreFoundation.d.ts +5546 -0
- package/types/CoreGraphics.d.ts +3676 -0
- package/types/CoreHaptics.d.ts +361 -0
- package/types/CoreImage.d.ts +4781 -0
- package/types/CoreLocation.d.ts +564 -0
- package/types/CoreMIDI.d.ts +1538 -0
- package/types/CoreML.d.ts +905 -0
- package/types/CoreMedia.d.ts +2615 -0
- package/types/CoreMediaIO.d.ts +1046 -0
- package/types/CoreMotion.d.ts +316 -0
- package/types/CoreServices.d.ts +24810 -0
- package/types/CoreSpotlight.d.ts +789 -0
- package/types/CoreTelephony.d.ts +31 -0
- package/types/CoreText.d.ts +3973 -0
- package/types/CoreTransferable.d.ts +3 -0
- package/types/CoreVideo.d.ts +1162 -0
- package/types/CoreWLAN.d.ts +556 -0
- package/types/CryptoTokenKit.d.ts +548 -0
- package/types/DVDPlayback.d.ts +931 -0
- package/types/DataDetection.d.ts +66 -0
- package/types/DeviceCheck.d.ts +46 -0
- package/types/DeviceDiscoveryExtension.d.ts +142 -0
- package/types/DirectoryService.d.ts +966 -0
- package/types/DiscRecording.d.ts +2345 -0
- package/types/DiscRecordingUI.d.ts +288 -0
- package/types/DiskArbitration.d.ts +366 -0
- package/types/DriverKit.d.ts +639 -0
- package/types/EventKit.d.ts +640 -0
- package/types/ExceptionHandling.d.ts +56 -0
- package/types/ExecutionPolicy.d.ts +30 -0
- package/types/ExternalAccessory.d.ts +98 -0
- package/types/FSKit.d.ts +237 -0
- package/types/FileProvider.d.ts +495 -0
- package/types/FileProviderUI.d.ts +31 -0
- package/types/FinderSync.d.ts +165 -0
- package/types/FocusEngine.d.ts +133 -0
- package/types/ForceFeedback.d.ts +399 -0
- package/types/Foundation.d.ts +18216 -0
- package/types/GLKit.d.ts +937 -0
- package/types/GLUT.d.ts +1018 -0
- package/types/GSS.d.ts +855 -0
- package/types/GameController.d.ts +1394 -0
- package/types/GameKit.d.ts +1958 -0
- package/types/GameSave.d.ts +54 -0
- package/types/GameplayKit.d.ts +1645 -0
- package/types/HealthKit.d.ts +278 -0
- package/types/Hypervisor.d.ts +2079 -0
- package/types/ICADevices.d.ts +1400 -0
- package/types/IOBluetooth.d.ts +6094 -0
- package/types/IOBluetoothUI.d.ts +250 -0
- package/types/IOKit.d.ts +25804 -0
- package/types/IOSurface.d.ts +435 -0
- package/types/IOUSBHost.d.ts +809 -0
- package/types/ImageCaptureCore.d.ts +1104 -0
- package/types/ImageIO.d.ts +1697 -0
- package/types/InputMethodKit.d.ts +264 -0
- package/types/InstallerPlugins.d.ts +102 -0
- package/types/InstantMessage.d.ts +229 -0
- package/types/Intents.d.ts +1833 -0
- package/types/IntentsUI.d.ts +5 -0
- package/types/JavaRuntimeSupport.d.ts +520 -0
- package/types/JavaScriptCore.d.ts +934 -0
- package/types/Kerberos.d.ts +3754 -0
- package/types/Kernel.d.ts +33698 -0
- package/types/KernelManagement.d.ts +5 -0
- package/types/LatentSemanticMapping.d.ts +152 -0
- package/types/LinkPresentation.d.ts +57 -0
- package/types/LocalAuthentication.d.ts +94 -0
- package/types/MLCompute.d.ts +2343 -0
- package/types/MapKit.d.ts +2125 -0
- package/types/Matter.d.ts +151 -0
- package/types/MediaAccessibility.d.ts +137 -0
- package/types/MediaLibrary.d.ts +394 -0
- package/types/MediaPlayer.d.ts +475 -0
- package/types/MediaToolbox.d.ts +70 -0
- package/types/Metal.d.ts +4542 -0
- package/types/MetalFX.d.ts +107 -0
- package/types/MetalKit.d.ts +524 -0
- package/types/MetalPerformanceShaders.d.ts +9306 -0
- package/types/MetalPerformanceShadersGraph.d.ts +1394 -0
- package/types/MetricKit.d.ts +231 -0
- package/types/ModelIO.d.ts +2908 -0
- package/types/MultipeerConnectivity.d.ts +348 -0
- package/types/NaturalLanguage.d.ts +556 -0
- package/types/NearbyInteraction.d.ts +51 -0
- package/types/NetFS.d.ts +99 -0
- package/types/Network.d.ts +1622 -0
- package/types/NetworkExtension.d.ts +1574 -0
- package/types/NotificationCenter.d.ts +103 -0
- package/types/OSAKit.d.ts +260 -0
- package/types/OSLog.d.ts +208 -0
- package/types/OpenAL.d.ts +314 -0
- package/types/OpenCL.d.ts +2489 -0
- package/types/OpenDirectory.d.ts +1919 -0
- package/types/OpenGL.d.ts +11322 -0
- package/types/PCSC.d.ts +534 -0
- package/types/PDFKit.d.ts +1575 -0
- package/types/PHASE.d.ts +166 -0
- package/types/ParavirtualizedGraphics.d.ts +153 -0
- package/types/PassKit.d.ts +1287 -0
- package/types/PencilKit.d.ts +201 -0
- package/types/Photos.d.ts +1125 -0
- package/types/PhotosUI.d.ts +397 -0
- package/types/PreferencePanes.d.ts +68 -0
- package/types/ProximityReaderStub.d.ts +5 -0
- package/types/PushKit.d.ts +45 -0
- package/types/Quartz.d.ts +1642 -0
- package/types/QuartzCore.d.ts +1398 -0
- package/types/QuickLook.d.ts +212 -0
- package/types/QuickLookThumbnailing.d.ts +131 -0
- package/types/QuickLookUI.d.ts +117 -0
- package/types/REVISION.json +5 -0
- package/types/ReplayKit.d.ts +294 -0
- package/types/Runtime.d.ts +51605 -0
- package/types/SafariServices.d.ts +430 -0
- package/types/SafetyKit.d.ts +7 -0
- package/types/SceneKit.d.ts +4996 -0
- package/types/ScreenCaptureKit.d.ts +16 -0
- package/types/ScreenSaver.d.ts +41 -0
- package/types/ScreenTime.d.ts +41 -0
- package/types/ScriptingBridge.d.ts +96 -0
- package/types/Security.d.ts +14336 -0
- package/types/SecurityFoundation.d.ts +53 -0
- package/types/SecurityInterface.d.ts +297 -0
- package/types/SensorKit.d.ts +7 -0
- package/types/ServiceManagement.d.ts +71 -0
- package/types/SharedWithYou.d.ts +9 -0
- package/types/SharedWithYouCore.d.ts +5 -0
- package/types/ShazamKit.d.ts +12 -0
- package/types/Social.d.ts +306 -0
- package/types/SoundAnalysis.d.ts +177 -0
- package/types/Speech.d.ts +246 -0
- package/types/SpriteKit.d.ts +2766 -0
- package/types/StoreKit.d.ts +509 -0
- package/types/SyncServices.d.ts +551 -0
- package/types/SystemConfiguration.d.ts +1415 -0
- package/types/SystemExtensions.d.ts +89 -0
- package/types/TWAIN.d.ts +380 -0
- package/types/Tcl.d.ts +4013 -0
- package/types/ThreadNetwork.d.ts +77 -0
- package/types/Tk.d.ts +3750 -0
- package/types/UIUtilities.d.ts +31 -0
- package/types/UniformTypeIdentifiers.d.ts +358 -0
- package/types/UserNotifications.d.ts +538 -0
- package/types/UserNotificationsUI.d.ts +38 -0
- package/types/VideoDecodeAcceleration.d.ts +50 -0
- package/types/VideoSubscriberAccount.d.ts +139 -0
- package/types/VideoToolbox.d.ts +907 -0
- package/types/Virtualization.d.ts +302 -0
- package/types/Vision.d.ts +1723 -0
- package/types/WebKit.d.ts +5195 -0
- package/types/WidgetKit.d.ts +9 -0
- package/types/_LocationEssentials.d.ts +159 -0
- package/types/_ScreenCaptureKit_SwiftUI.d.ts +5 -0
- package/types/iTunesLibrary.d.ts +528 -0
- package/types/index.d.ts +9 -0
- package/types/vecLib.d.ts +33586 -0
- package/types/vmnet.d.ts +178 -0
- package/src/appkit.d.ts +0 -472
|
@@ -0,0 +1,2304 @@
|
|
|
1
|
+
/// <reference types="@nativescript/objc-node-api" />
|
|
2
|
+
/// <reference path="./Runtime.d.ts" />
|
|
3
|
+
|
|
4
|
+
declare const AVSpeechUtteranceDefaultSpeechRate: number
|
|
5
|
+
|
|
6
|
+
declare const AVSpeechUtteranceMaximumSpeechRate: number
|
|
7
|
+
|
|
8
|
+
declare const AVAudioUnitComponentManagerRegistrationsChangedNotification: string
|
|
9
|
+
|
|
10
|
+
declare const AVAudioUnitComponentTagsDidChangeNotification: string
|
|
11
|
+
|
|
12
|
+
declare const AVAudioUnitTypeMIDIProcessor: string
|
|
13
|
+
|
|
14
|
+
declare const AVAudioUnitTypeGenerator: string
|
|
15
|
+
|
|
16
|
+
declare const AVAudioUnitTypeMixer: string
|
|
17
|
+
|
|
18
|
+
declare const AVAudioUnitTypeFormatConverter: string
|
|
19
|
+
|
|
20
|
+
declare const AVAudioUnitTypeMusicDevice: string
|
|
21
|
+
|
|
22
|
+
declare const AVAudioSessionPolarPatternSubcardioid: string
|
|
23
|
+
|
|
24
|
+
declare const AVAudioSessionPolarPatternOmnidirectional: string
|
|
25
|
+
|
|
26
|
+
declare const AVAudioSessionOrientationRight: string
|
|
27
|
+
|
|
28
|
+
declare const AVAudioSessionOrientationFront: string
|
|
29
|
+
|
|
30
|
+
declare const AVAudioSessionOrientationTop: string
|
|
31
|
+
|
|
32
|
+
declare const AVAudioSessionLocationLower: string
|
|
33
|
+
|
|
34
|
+
declare const AVSampleRateConverterAlgorithm_MinimumPhase: string
|
|
35
|
+
|
|
36
|
+
declare const AVSampleRateConverterAlgorithm_Mastering: string
|
|
37
|
+
|
|
38
|
+
declare const AVSampleRateConverterAlgorithm_Normal: string
|
|
39
|
+
|
|
40
|
+
declare const AVAudioBitRateStrategy_Variable: string
|
|
41
|
+
|
|
42
|
+
declare const AVAudioBitRateStrategy_VariableConstrained: string
|
|
43
|
+
|
|
44
|
+
declare const AVAudioBitRateStrategy_LongTermAverage: string
|
|
45
|
+
|
|
46
|
+
declare const AVAudioBitRateStrategy_Constant: string
|
|
47
|
+
|
|
48
|
+
declare const AVChannelLayoutKey: string
|
|
49
|
+
|
|
50
|
+
declare const AVSampleRateConverterAudioQualityKey: string
|
|
51
|
+
|
|
52
|
+
declare const AVEncoderBitDepthHintKey: string
|
|
53
|
+
|
|
54
|
+
declare const AVEncoderBitRateStrategyKey: string
|
|
55
|
+
|
|
56
|
+
declare const AVEncoderBitRatePerChannelKey: string
|
|
57
|
+
|
|
58
|
+
declare const AVEncoderAudioQualityForVBRKey: string
|
|
59
|
+
|
|
60
|
+
declare const AVEncoderAudioQualityKey: string
|
|
61
|
+
|
|
62
|
+
declare const AVAudioFileTypeKey: string
|
|
63
|
+
|
|
64
|
+
declare const AVLinearPCMIsNonInterleaved: string
|
|
65
|
+
|
|
66
|
+
declare const AVLinearPCMIsFloatKey: string
|
|
67
|
+
|
|
68
|
+
declare const AVLinearPCMBitDepthKey: string
|
|
69
|
+
|
|
70
|
+
declare const AVNumberOfChannelsKey: string
|
|
71
|
+
|
|
72
|
+
declare const AVFormatIDKey: string
|
|
73
|
+
|
|
74
|
+
declare const AVAudioUnitTypeMusicEffect: string
|
|
75
|
+
|
|
76
|
+
declare const AVAudioSessionOrientationBottom: string
|
|
77
|
+
|
|
78
|
+
declare const AVAudioUnitTypeOutput: string
|
|
79
|
+
|
|
80
|
+
declare const AVAudioSessionOrientationBack: string
|
|
81
|
+
|
|
82
|
+
declare const AVAudioSessionLocationUpper: string
|
|
83
|
+
|
|
84
|
+
declare const AVSpeechUtteranceMinimumSpeechRate: number
|
|
85
|
+
|
|
86
|
+
declare const AVAudioSessionInterruptionWasSuspendedKey: string
|
|
87
|
+
|
|
88
|
+
declare const AVAudioSessionPolarPatternCardioid: string
|
|
89
|
+
|
|
90
|
+
declare const AVSpeechSynthesisVoiceIdentifierAlex: string
|
|
91
|
+
|
|
92
|
+
declare const AVSpeechSynthesisIPANotationAttribute: string
|
|
93
|
+
|
|
94
|
+
declare const AVAudioUnitManufacturerNameApple: string
|
|
95
|
+
|
|
96
|
+
declare const AVAudioSessionOrientationLeft: string
|
|
97
|
+
|
|
98
|
+
declare const AVLinearPCMIsBigEndianKey: string
|
|
99
|
+
|
|
100
|
+
declare const AVSampleRateKey: string
|
|
101
|
+
|
|
102
|
+
declare const AVSampleRateConverterAlgorithmKey: string
|
|
103
|
+
|
|
104
|
+
declare const AVAudioEngineConfigurationChangeNotification: string
|
|
105
|
+
|
|
106
|
+
declare const AVAudioUnitTypeOfflineEffect: string
|
|
107
|
+
|
|
108
|
+
declare const AVEncoderBitRateKey: string
|
|
109
|
+
|
|
110
|
+
declare const AVAudioUnitTypeEffect: string
|
|
111
|
+
|
|
112
|
+
declare const AVAudioUnitTypePanner: string
|
|
113
|
+
|
|
114
|
+
declare const AVAudioApplicationMicrophoneInjectionPermission: {
|
|
115
|
+
ServiceDisabled: 1936876659
|
|
116
|
+
Undetermined: 1970168948
|
|
117
|
+
Denied: 1684369017
|
|
118
|
+
Granted: 1735552628
|
|
119
|
+
}
|
|
120
|
+
|
|
121
|
+
declare const AVSpeechSynthesisVoiceGender: {
|
|
122
|
+
Unspecified: 0
|
|
123
|
+
Male: 1
|
|
124
|
+
Female: 2
|
|
125
|
+
}
|
|
126
|
+
|
|
127
|
+
declare const AVSpeechSynthesisVoiceQuality: {
|
|
128
|
+
Default: 1
|
|
129
|
+
Enhanced: 2
|
|
130
|
+
}
|
|
131
|
+
|
|
132
|
+
declare const AVAudioUnitDistortionPreset: {
|
|
133
|
+
DrumsBitBrush: 0
|
|
134
|
+
DrumsBufferBeats: 1
|
|
135
|
+
DrumsLoFi: 2
|
|
136
|
+
MultiBrokenSpeaker: 3
|
|
137
|
+
MultiCellphoneConcert: 4
|
|
138
|
+
MultiDecimated1: 5
|
|
139
|
+
MultiDecimated2: 6
|
|
140
|
+
MultiDecimated3: 7
|
|
141
|
+
MultiDecimated4: 8
|
|
142
|
+
MultiDistortedFunk: 9
|
|
143
|
+
MultiDistortedCubed: 10
|
|
144
|
+
MultiDistortedSquared: 11
|
|
145
|
+
MultiEcho1: 12
|
|
146
|
+
MultiEcho2: 13
|
|
147
|
+
MultiEchoTight1: 14
|
|
148
|
+
MultiEchoTight2: 15
|
|
149
|
+
MultiEverythingIsBroken: 16
|
|
150
|
+
SpeechAlienChatter: 17
|
|
151
|
+
SpeechCosmicInterference: 18
|
|
152
|
+
SpeechGoldenPi: 19
|
|
153
|
+
SpeechRadioTower: 20
|
|
154
|
+
SpeechWaves: 21
|
|
155
|
+
}
|
|
156
|
+
|
|
157
|
+
declare const AVMusicTrackLoopCount: {
|
|
158
|
+
AVMusicTrackLoopCountForever: -1
|
|
159
|
+
}
|
|
160
|
+
|
|
161
|
+
declare const AVAudioPlayerNodeBufferOptions: {
|
|
162
|
+
Loops: 1
|
|
163
|
+
Interrupts: 2
|
|
164
|
+
InterruptsAtLoop: 4
|
|
165
|
+
}
|
|
166
|
+
|
|
167
|
+
declare const AVAudioSessionRenderingMode: {
|
|
168
|
+
NotApplicable: 0
|
|
169
|
+
MonoStereo: 1
|
|
170
|
+
Surround: 2
|
|
171
|
+
SpatialAudio: 3
|
|
172
|
+
DolbyAudio: 4
|
|
173
|
+
DolbyAtmos: 5
|
|
174
|
+
}
|
|
175
|
+
|
|
176
|
+
declare const AVAudioSessionPromptStyle: {
|
|
177
|
+
None: 1852796517
|
|
178
|
+
Short: 1936224884
|
|
179
|
+
Normal: 1852992876
|
|
180
|
+
}
|
|
181
|
+
|
|
182
|
+
declare const AVAudioSessionSetActiveOptions: {
|
|
183
|
+
AVAudioSessionSetActiveOptionNotifyOthersOnDeactivation: 1
|
|
184
|
+
}
|
|
185
|
+
|
|
186
|
+
declare const AVAudioSessionCategoryOptions: {
|
|
187
|
+
MixWith: 1
|
|
188
|
+
Duck: 2
|
|
189
|
+
}
|
|
190
|
+
|
|
191
|
+
declare const AVAudioSessionRouteChangeReason: {
|
|
192
|
+
Unknown: 0
|
|
193
|
+
NewDeviceAvailable: 1
|
|
194
|
+
OldDeviceUnavailable: 2
|
|
195
|
+
CategoryChange: 3
|
|
196
|
+
Override: 4
|
|
197
|
+
WakeFromSleep: 6
|
|
198
|
+
NoSuitableRouteForCategory: 7
|
|
199
|
+
RouteConfigurationChange: 8
|
|
200
|
+
}
|
|
201
|
+
|
|
202
|
+
declare const AVAudioSessionPortOverride: {
|
|
203
|
+
AVAudioSessionPortOverrideNone: 0
|
|
204
|
+
}
|
|
205
|
+
|
|
206
|
+
declare const AVAudioSessionDeactivationOptions: {
|
|
207
|
+
AVAudioSessionDeactivationOptionNone: 0
|
|
208
|
+
}
|
|
209
|
+
|
|
210
|
+
declare const AVAudioSessionActivationOptions: {
|
|
211
|
+
AVAudioSessionActivationOptionNone: 0
|
|
212
|
+
}
|
|
213
|
+
|
|
214
|
+
declare const AVAudioEnvironmentOutputType: {
|
|
215
|
+
Auto: 0
|
|
216
|
+
Headphones: 1
|
|
217
|
+
BuiltInSpeakers: 2
|
|
218
|
+
ExternalSpeakers: 3
|
|
219
|
+
}
|
|
220
|
+
|
|
221
|
+
declare const AVAudioEnvironmentDistanceAttenuationModel: {
|
|
222
|
+
Exponential: 1
|
|
223
|
+
Inverse: 2
|
|
224
|
+
Linear: 3
|
|
225
|
+
}
|
|
226
|
+
|
|
227
|
+
declare const AVAudioUnitEQFilterType: {
|
|
228
|
+
Parametric: 0
|
|
229
|
+
LowPass: 1
|
|
230
|
+
HighPass: 2
|
|
231
|
+
ResonantLowPass: 3
|
|
232
|
+
ResonantHighPass: 4
|
|
233
|
+
BandPass: 5
|
|
234
|
+
BandStop: 6
|
|
235
|
+
LowShelf: 7
|
|
236
|
+
HighShelf: 8
|
|
237
|
+
ResonantLowShelf: 9
|
|
238
|
+
ResonantHighShelf: 10
|
|
239
|
+
}
|
|
240
|
+
|
|
241
|
+
declare const AVAudioUnitReverbPreset: {
|
|
242
|
+
SmallRoom: 0
|
|
243
|
+
MediumRoom: 1
|
|
244
|
+
LargeRoom: 2
|
|
245
|
+
MediumHall: 3
|
|
246
|
+
LargeHall: 4
|
|
247
|
+
Plate: 5
|
|
248
|
+
MediumChamber: 6
|
|
249
|
+
LargeChamber: 7
|
|
250
|
+
Cathedral: 8
|
|
251
|
+
LargeRoom2: 9
|
|
252
|
+
MediumHall2: 10
|
|
253
|
+
MediumHall3: 11
|
|
254
|
+
LargeHall2: 12
|
|
255
|
+
}
|
|
256
|
+
|
|
257
|
+
declare const AVAudio3DMixingSourceMode: {
|
|
258
|
+
SpatializeIfMono: 0
|
|
259
|
+
Bypass: 1
|
|
260
|
+
PointSource: 2
|
|
261
|
+
AmbienceBed: 3
|
|
262
|
+
}
|
|
263
|
+
|
|
264
|
+
declare const AVAudioConverterInputStatus: {
|
|
265
|
+
HaveData: 0
|
|
266
|
+
NoDataNow: 1
|
|
267
|
+
EndOfStream: 2
|
|
268
|
+
}
|
|
269
|
+
|
|
270
|
+
declare const AVAudioConverterPrimeMethod: {
|
|
271
|
+
Pre: 0
|
|
272
|
+
Normal: 1
|
|
273
|
+
None: 2
|
|
274
|
+
}
|
|
275
|
+
|
|
276
|
+
declare const AVAudioDynamicRangeControlConfiguration: {
|
|
277
|
+
None: 0
|
|
278
|
+
Music: 1
|
|
279
|
+
Speech: 2
|
|
280
|
+
Movie: 3
|
|
281
|
+
Capture: 4
|
|
282
|
+
}
|
|
283
|
+
|
|
284
|
+
declare const AVAudioCommonFormat: {
|
|
285
|
+
OtherFormat: 0
|
|
286
|
+
PCMFormatFloat32: 1
|
|
287
|
+
PCMFormatFloat64: 2
|
|
288
|
+
PCMFormatInt16: 3
|
|
289
|
+
PCMFormatInt32: 4
|
|
290
|
+
}
|
|
291
|
+
|
|
292
|
+
declare const AVAudioQuality: {
|
|
293
|
+
Min: 0
|
|
294
|
+
Low: 32
|
|
295
|
+
Medium: 64
|
|
296
|
+
High: 96
|
|
297
|
+
Max: 127
|
|
298
|
+
}
|
|
299
|
+
|
|
300
|
+
declare const AVAudioStereoOrientation: {
|
|
301
|
+
None: 0
|
|
302
|
+
Portrait: 1
|
|
303
|
+
PortraitUpsideDown: 2
|
|
304
|
+
LandscapeRight: 3
|
|
305
|
+
LandscapeLeft: 4
|
|
306
|
+
}
|
|
307
|
+
|
|
308
|
+
declare const AVAudioEngineManualRenderingError: {
|
|
309
|
+
InvalidMode: -80800
|
|
310
|
+
Initialized: -80801
|
|
311
|
+
NotRunning: -80802
|
|
312
|
+
}
|
|
313
|
+
|
|
314
|
+
declare const AVAudioSessionInterruptionOptions: {
|
|
315
|
+
AVAudioSessionInterruptionOptionShouldResume: 1
|
|
316
|
+
}
|
|
317
|
+
|
|
318
|
+
declare const AVAudioSessionIOType: {
|
|
319
|
+
NotSpecified: 0
|
|
320
|
+
Aggregated: 1
|
|
321
|
+
}
|
|
322
|
+
|
|
323
|
+
declare const AVSpeechBoundary: {
|
|
324
|
+
Immediate: 0
|
|
325
|
+
Word: 1
|
|
326
|
+
}
|
|
327
|
+
|
|
328
|
+
declare const AVAudioEngineManualRenderingStatus: {
|
|
329
|
+
Error: -1
|
|
330
|
+
Success: 0
|
|
331
|
+
InsufficientDataFromInputNode: 1
|
|
332
|
+
CannotDoInCurrentContext: 2
|
|
333
|
+
}
|
|
334
|
+
|
|
335
|
+
declare const AVAudioPlayerNodeCompletionCallbackType: {
|
|
336
|
+
Consumed: 0
|
|
337
|
+
Rendered: 1
|
|
338
|
+
PlayedBack: 2
|
|
339
|
+
}
|
|
340
|
+
|
|
341
|
+
declare const AVMusicSequenceLoadOptions: {
|
|
342
|
+
Preserve: 0
|
|
343
|
+
ChannelsTo: 1
|
|
344
|
+
}
|
|
345
|
+
|
|
346
|
+
declare const AVAudioApplicationRecordPermission: {
|
|
347
|
+
Undetermined: 1970168948
|
|
348
|
+
Denied: 1684369017
|
|
349
|
+
Granted: 1735552628
|
|
350
|
+
}
|
|
351
|
+
|
|
352
|
+
declare const AVAudioSessionInterruptionType: {
|
|
353
|
+
Began: 1
|
|
354
|
+
Ended: 0
|
|
355
|
+
}
|
|
356
|
+
|
|
357
|
+
declare const AVAudio3DMixingRenderingAlgorithm: {
|
|
358
|
+
EqualPowerPanning: 0
|
|
359
|
+
SphericalHead: 1
|
|
360
|
+
HRTF: 2
|
|
361
|
+
SoundField: 3
|
|
362
|
+
StereoPassThrough: 5
|
|
363
|
+
HRTFHQ: 6
|
|
364
|
+
Auto: 7
|
|
365
|
+
}
|
|
366
|
+
|
|
367
|
+
declare const AVAudio3DMixingPointSourceInHeadMode: {
|
|
368
|
+
Mono: 0
|
|
369
|
+
Bypass: 1
|
|
370
|
+
}
|
|
371
|
+
|
|
372
|
+
declare const AVAudioConverterOutputStatus: {
|
|
373
|
+
HaveData: 0
|
|
374
|
+
InputRanDry: 1
|
|
375
|
+
EndOfStream: 2
|
|
376
|
+
Error: 3
|
|
377
|
+
}
|
|
378
|
+
|
|
379
|
+
declare const AVAudioSessionSilenceSecondaryAudioHintType: {
|
|
380
|
+
Begin: 1
|
|
381
|
+
End: 0
|
|
382
|
+
}
|
|
383
|
+
|
|
384
|
+
declare const AVAudioSessionMicrophoneInjectionMode: {
|
|
385
|
+
None: 0
|
|
386
|
+
SpokenAudio: 1
|
|
387
|
+
}
|
|
388
|
+
|
|
389
|
+
declare const AVAudioSessionInterruptionReason: {
|
|
390
|
+
Default: 0
|
|
391
|
+
AppWasSuspended: 1
|
|
392
|
+
BuiltInMicMuted: 2
|
|
393
|
+
}
|
|
394
|
+
|
|
395
|
+
declare const AVAudioEngineManualRenderingMode: {
|
|
396
|
+
Offline: 0
|
|
397
|
+
Realtime: 1
|
|
398
|
+
}
|
|
399
|
+
|
|
400
|
+
declare const AVAudioRoutingArbitrationCategory: {
|
|
401
|
+
Playback: 0
|
|
402
|
+
PlayAndRecord: 1
|
|
403
|
+
PlayAndRecordVoice: 2
|
|
404
|
+
}
|
|
405
|
+
|
|
406
|
+
declare const AVAudioSessionRouteSharingPolicy: {
|
|
407
|
+
Default: 0
|
|
408
|
+
LongFormAudio: 1
|
|
409
|
+
Independent: 2
|
|
410
|
+
}
|
|
411
|
+
|
|
412
|
+
declare class AVAudio3DVectorOrientation {
|
|
413
|
+
constructor(init?: AVAudio3DVectorOrientation)
|
|
414
|
+
forward: AVAudio3DPoint
|
|
415
|
+
up: AVAudio3DPoint
|
|
416
|
+
}
|
|
417
|
+
|
|
418
|
+
declare class AVAudio3DPoint {
|
|
419
|
+
constructor(init?: AVAudio3DPoint)
|
|
420
|
+
x: number
|
|
421
|
+
y: number
|
|
422
|
+
z: number
|
|
423
|
+
}
|
|
424
|
+
|
|
425
|
+
declare class _AVBeatRange {
|
|
426
|
+
constructor(init?: _AVBeatRange)
|
|
427
|
+
start: number
|
|
428
|
+
length: number
|
|
429
|
+
}
|
|
430
|
+
|
|
431
|
+
declare class AVAudioConverterPrimeInfo {
|
|
432
|
+
constructor(init?: AVAudioConverterPrimeInfo)
|
|
433
|
+
leadingFrames: number
|
|
434
|
+
trailingFrames: number
|
|
435
|
+
}
|
|
436
|
+
|
|
437
|
+
declare class AVAudio3DAngularOrientation {
|
|
438
|
+
constructor(init?: AVAudio3DAngularOrientation)
|
|
439
|
+
yaw: number
|
|
440
|
+
pitch: number
|
|
441
|
+
roll: number
|
|
442
|
+
}
|
|
443
|
+
|
|
444
|
+
declare interface AVAudio3DMixing extends NSObjectProtocol {
|
|
445
|
+
renderingAlgorithm: interop.Enum<typeof AVAudio3DMixingRenderingAlgorithm>
|
|
446
|
+
|
|
447
|
+
sourceMode: interop.Enum<typeof AVAudio3DMixingSourceMode>
|
|
448
|
+
|
|
449
|
+
pointSourceInHeadMode: interop.Enum<typeof AVAudio3DMixingPointSourceInHeadMode>
|
|
450
|
+
|
|
451
|
+
rate: number
|
|
452
|
+
|
|
453
|
+
reverbBlend: number
|
|
454
|
+
|
|
455
|
+
obstruction: number
|
|
456
|
+
|
|
457
|
+
occlusion: number
|
|
458
|
+
|
|
459
|
+
position: AVAudio3DPoint
|
|
460
|
+
}
|
|
461
|
+
|
|
462
|
+
declare class AVAudio3DMixing extends NativeObject implements AVAudio3DMixing {}
|
|
463
|
+
|
|
464
|
+
declare interface AVSpeechSynthesizerDelegate extends NSObjectProtocol {
|
|
465
|
+
speechSynthesizerDidStartSpeechUtterance?(
|
|
466
|
+
synthesizer: AVSpeechSynthesizer,
|
|
467
|
+
utterance: AVSpeechUtterance,
|
|
468
|
+
): void
|
|
469
|
+
|
|
470
|
+
speechSynthesizerDidFinishSpeechUtterance?(
|
|
471
|
+
synthesizer: AVSpeechSynthesizer,
|
|
472
|
+
utterance: AVSpeechUtterance,
|
|
473
|
+
): void
|
|
474
|
+
|
|
475
|
+
speechSynthesizerDidPauseSpeechUtterance?(
|
|
476
|
+
synthesizer: AVSpeechSynthesizer,
|
|
477
|
+
utterance: AVSpeechUtterance,
|
|
478
|
+
): void
|
|
479
|
+
|
|
480
|
+
speechSynthesizerDidContinueSpeechUtterance?(
|
|
481
|
+
synthesizer: AVSpeechSynthesizer,
|
|
482
|
+
utterance: AVSpeechUtterance,
|
|
483
|
+
): void
|
|
484
|
+
|
|
485
|
+
speechSynthesizerDidCancelSpeechUtterance?(
|
|
486
|
+
synthesizer: AVSpeechSynthesizer,
|
|
487
|
+
utterance: AVSpeechUtterance,
|
|
488
|
+
): void
|
|
489
|
+
|
|
490
|
+
speechSynthesizerWillSpeakRangeOfSpeechStringUtterance?(
|
|
491
|
+
synthesizer: AVSpeechSynthesizer,
|
|
492
|
+
characterRange: _NSRange,
|
|
493
|
+
utterance: AVSpeechUtterance,
|
|
494
|
+
): void
|
|
495
|
+
}
|
|
496
|
+
|
|
497
|
+
declare class AVSpeechSynthesizerDelegate
|
|
498
|
+
extends NativeObject
|
|
499
|
+
implements AVSpeechSynthesizerDelegate {}
|
|
500
|
+
|
|
501
|
+
declare interface AVAudioRecorderDelegate extends NSObjectProtocol {
|
|
502
|
+
audioRecorderDidFinishRecordingSuccessfully?(recorder: AVAudioRecorder, flag: boolean): void
|
|
503
|
+
|
|
504
|
+
audioRecorderEncodeErrorDidOccurError?(recorder: AVAudioRecorder, error: NSError | null): void
|
|
505
|
+
}
|
|
506
|
+
|
|
507
|
+
declare class AVAudioRecorderDelegate extends NativeObject implements AVAudioRecorderDelegate {}
|
|
508
|
+
|
|
509
|
+
declare interface AVAudioStereoMixing extends NSObjectProtocol {
|
|
510
|
+
pan: number
|
|
511
|
+
}
|
|
512
|
+
|
|
513
|
+
declare class AVAudioStereoMixing extends NativeObject implements AVAudioStereoMixing {}
|
|
514
|
+
|
|
515
|
+
declare interface AVAudioMixing extends AVAudioStereoMixing, AVAudio3DMixing {
|
|
516
|
+
destinationForMixerBus(mixer: AVAudioNode, bus: number): AVAudioMixingDestination
|
|
517
|
+
|
|
518
|
+
volume: number
|
|
519
|
+
}
|
|
520
|
+
|
|
521
|
+
declare class AVAudioMixing extends NativeObject implements AVAudioMixing {}
|
|
522
|
+
|
|
523
|
+
declare interface AVAudioPlayerDelegate extends NSObjectProtocol {
|
|
524
|
+
audioPlayerDidFinishPlayingSuccessfully?(player: AVAudioPlayer, flag: boolean): void
|
|
525
|
+
|
|
526
|
+
audioPlayerDecodeErrorDidOccurError?(player: AVAudioPlayer, error: NSError | null): void
|
|
527
|
+
}
|
|
528
|
+
|
|
529
|
+
declare class AVAudioPlayerDelegate extends NativeObject implements AVAudioPlayerDelegate {}
|
|
530
|
+
|
|
531
|
+
declare class AVSpeechUtterance extends NSObject implements NSCopying, NSSecureCoding {
|
|
532
|
+
static speechUtteranceWithString<This extends abstract new (...args: any) => any>(
|
|
533
|
+
this: This,
|
|
534
|
+
string: string,
|
|
535
|
+
): InstanceType<This>
|
|
536
|
+
|
|
537
|
+
static speechUtteranceWithAttributedString<This extends abstract new (...args: any) => any>(
|
|
538
|
+
this: This,
|
|
539
|
+
string: NSAttributedString,
|
|
540
|
+
): InstanceType<This>
|
|
541
|
+
|
|
542
|
+
initWithString(string: string): this
|
|
543
|
+
|
|
544
|
+
initWithAttributedString(string: NSAttributedString): this
|
|
545
|
+
|
|
546
|
+
voice: AVSpeechSynthesisVoice
|
|
547
|
+
|
|
548
|
+
readonly speechString: string
|
|
549
|
+
|
|
550
|
+
readonly attributedSpeechString: NSAttributedString
|
|
551
|
+
|
|
552
|
+
rate: number
|
|
553
|
+
|
|
554
|
+
pitchMultiplier: number
|
|
555
|
+
|
|
556
|
+
volume: number
|
|
557
|
+
|
|
558
|
+
prefersAssistiveTechnologySettings: boolean
|
|
559
|
+
|
|
560
|
+
preUtteranceDelay: number
|
|
561
|
+
|
|
562
|
+
postUtteranceDelay: number
|
|
563
|
+
|
|
564
|
+
copyWithZone(zone: interop.PointerConvertible): interop.Object
|
|
565
|
+
|
|
566
|
+
static readonly supportsSecureCoding: boolean
|
|
567
|
+
|
|
568
|
+
encodeWithCoder(coder: NSCoder): void
|
|
569
|
+
|
|
570
|
+
initWithCoder(coder: NSCoder): this
|
|
571
|
+
}
|
|
572
|
+
|
|
573
|
+
declare class AVAudioUnitTimePitch extends AVAudioUnitTimeEffect {
|
|
574
|
+
rate: number
|
|
575
|
+
|
|
576
|
+
pitch: number
|
|
577
|
+
|
|
578
|
+
overlap: number
|
|
579
|
+
}
|
|
580
|
+
|
|
581
|
+
declare class AVAudioUnitTimeEffect extends AVAudioUnit {
|
|
582
|
+
initWithAudioComponentDescription(audioComponentDescription: AudioComponentDescription): this
|
|
583
|
+
|
|
584
|
+
bypass: boolean
|
|
585
|
+
}
|
|
586
|
+
|
|
587
|
+
declare class AVAudioUnitMIDIInstrument extends AVAudioUnit implements AVAudioMixing {
|
|
588
|
+
initWithAudioComponentDescription(description: AudioComponentDescription): this
|
|
589
|
+
|
|
590
|
+
startNoteWithVelocityOnChannel(note: number, velocity: number, channel: number): void
|
|
591
|
+
|
|
592
|
+
stopNoteOnChannel(note: number, channel: number): void
|
|
593
|
+
|
|
594
|
+
sendControllerWithValueOnChannel(controller: number, value: number, channel: number): void
|
|
595
|
+
|
|
596
|
+
sendPitchBendOnChannel(pitchbend: number, channel: number): void
|
|
597
|
+
|
|
598
|
+
sendPressureOnChannel(pressure: number, channel: number): void
|
|
599
|
+
|
|
600
|
+
sendPressureForKeyWithValueOnChannel(key: number, value: number, channel: number): void
|
|
601
|
+
|
|
602
|
+
sendProgramChangeOnChannel(program: number, channel: number): void
|
|
603
|
+
|
|
604
|
+
sendProgramChangeBankMSBBankLSBOnChannel(
|
|
605
|
+
program: number,
|
|
606
|
+
bankMSB: number,
|
|
607
|
+
bankLSB: number,
|
|
608
|
+
channel: number,
|
|
609
|
+
): void
|
|
610
|
+
|
|
611
|
+
sendMIDIEventData1Data2(midiStatus: number, data1: number, data2: number): void
|
|
612
|
+
|
|
613
|
+
sendMIDIEventData1(midiStatus: number, data1: number): void
|
|
614
|
+
|
|
615
|
+
sendMIDISysExEvent(midiData: NSData): void
|
|
616
|
+
|
|
617
|
+
destinationForMixerBus(mixer: AVAudioNode, bus: number): AVAudioMixingDestination
|
|
618
|
+
|
|
619
|
+
volume: number
|
|
620
|
+
|
|
621
|
+
pan: number
|
|
622
|
+
|
|
623
|
+
isEqual(object: interop.Object): boolean
|
|
624
|
+
|
|
625
|
+
readonly hash: number
|
|
626
|
+
|
|
627
|
+
readonly superclass: interop.Pointer
|
|
628
|
+
|
|
629
|
+
class(): interop.Pointer
|
|
630
|
+
|
|
631
|
+
self(): this
|
|
632
|
+
|
|
633
|
+
performSelector(aSelector: string): interop.Object
|
|
634
|
+
|
|
635
|
+
performSelectorWithObject(aSelector: string, object: interop.Object): interop.Object
|
|
636
|
+
|
|
637
|
+
performSelectorWithObjectWithObject(
|
|
638
|
+
aSelector: string,
|
|
639
|
+
object1: interop.Object,
|
|
640
|
+
object2: interop.Object,
|
|
641
|
+
): interop.Object
|
|
642
|
+
|
|
643
|
+
readonly isProxy: boolean
|
|
644
|
+
|
|
645
|
+
isKindOfClass(aClass: interop.PointerConvertible): boolean
|
|
646
|
+
|
|
647
|
+
isMemberOfClass(aClass: interop.PointerConvertible): boolean
|
|
648
|
+
|
|
649
|
+
conformsToProtocol(aProtocol: interop.PointerConvertible): boolean
|
|
650
|
+
|
|
651
|
+
respondsToSelector(aSelector: string): boolean
|
|
652
|
+
|
|
653
|
+
retain(): this
|
|
654
|
+
|
|
655
|
+
release(): void
|
|
656
|
+
|
|
657
|
+
autorelease(): this
|
|
658
|
+
|
|
659
|
+
retainCount(): number
|
|
660
|
+
|
|
661
|
+
readonly zone: interop.Pointer
|
|
662
|
+
|
|
663
|
+
readonly description: string
|
|
664
|
+
|
|
665
|
+
readonly debugDescription: string
|
|
666
|
+
|
|
667
|
+
renderingAlgorithm: interop.Enum<typeof AVAudio3DMixingRenderingAlgorithm>
|
|
668
|
+
|
|
669
|
+
sourceMode: interop.Enum<typeof AVAudio3DMixingSourceMode>
|
|
670
|
+
|
|
671
|
+
pointSourceInHeadMode: interop.Enum<typeof AVAudio3DMixingPointSourceInHeadMode>
|
|
672
|
+
|
|
673
|
+
rate: number
|
|
674
|
+
|
|
675
|
+
reverbBlend: number
|
|
676
|
+
|
|
677
|
+
obstruction: number
|
|
678
|
+
|
|
679
|
+
occlusion: number
|
|
680
|
+
|
|
681
|
+
position: AVAudio3DPoint
|
|
682
|
+
}
|
|
683
|
+
|
|
684
|
+
declare class AVAudioUnitGenerator extends AVAudioUnit implements AVAudioMixing {
|
|
685
|
+
initWithAudioComponentDescription(audioComponentDescription: AudioComponentDescription): this
|
|
686
|
+
|
|
687
|
+
bypass: boolean
|
|
688
|
+
|
|
689
|
+
destinationForMixerBus(mixer: AVAudioNode, bus: number): AVAudioMixingDestination
|
|
690
|
+
|
|
691
|
+
volume: number
|
|
692
|
+
|
|
693
|
+
pan: number
|
|
694
|
+
|
|
695
|
+
isEqual(object: interop.Object): boolean
|
|
696
|
+
|
|
697
|
+
readonly hash: number
|
|
698
|
+
|
|
699
|
+
readonly superclass: interop.Pointer
|
|
700
|
+
|
|
701
|
+
class(): interop.Pointer
|
|
702
|
+
|
|
703
|
+
self(): this
|
|
704
|
+
|
|
705
|
+
performSelector(aSelector: string): interop.Object
|
|
706
|
+
|
|
707
|
+
performSelectorWithObject(aSelector: string, object: interop.Object): interop.Object
|
|
708
|
+
|
|
709
|
+
performSelectorWithObjectWithObject(
|
|
710
|
+
aSelector: string,
|
|
711
|
+
object1: interop.Object,
|
|
712
|
+
object2: interop.Object,
|
|
713
|
+
): interop.Object
|
|
714
|
+
|
|
715
|
+
readonly isProxy: boolean
|
|
716
|
+
|
|
717
|
+
isKindOfClass(aClass: interop.PointerConvertible): boolean
|
|
718
|
+
|
|
719
|
+
isMemberOfClass(aClass: interop.PointerConvertible): boolean
|
|
720
|
+
|
|
721
|
+
conformsToProtocol(aProtocol: interop.PointerConvertible): boolean
|
|
722
|
+
|
|
723
|
+
respondsToSelector(aSelector: string): boolean
|
|
724
|
+
|
|
725
|
+
retain(): this
|
|
726
|
+
|
|
727
|
+
release(): void
|
|
728
|
+
|
|
729
|
+
autorelease(): this
|
|
730
|
+
|
|
731
|
+
retainCount(): number
|
|
732
|
+
|
|
733
|
+
readonly zone: interop.Pointer
|
|
734
|
+
|
|
735
|
+
readonly description: string
|
|
736
|
+
|
|
737
|
+
readonly debugDescription: string
|
|
738
|
+
|
|
739
|
+
renderingAlgorithm: interop.Enum<typeof AVAudio3DMixingRenderingAlgorithm>
|
|
740
|
+
|
|
741
|
+
sourceMode: interop.Enum<typeof AVAudio3DMixingSourceMode>
|
|
742
|
+
|
|
743
|
+
pointSourceInHeadMode: interop.Enum<typeof AVAudio3DMixingPointSourceInHeadMode>
|
|
744
|
+
|
|
745
|
+
rate: number
|
|
746
|
+
|
|
747
|
+
reverbBlend: number
|
|
748
|
+
|
|
749
|
+
obstruction: number
|
|
750
|
+
|
|
751
|
+
occlusion: number
|
|
752
|
+
|
|
753
|
+
position: AVAudio3DPoint
|
|
754
|
+
}
|
|
755
|
+
|
|
756
|
+
declare class AVAudioUnitDistortion extends AVAudioUnitEffect {
|
|
757
|
+
loadFactoryPreset(preset: interop.Enum<typeof AVAudioUnitDistortionPreset>): void
|
|
758
|
+
|
|
759
|
+
preGain: number
|
|
760
|
+
|
|
761
|
+
wetDryMix: number
|
|
762
|
+
}
|
|
763
|
+
|
|
764
|
+
declare class AVAudioUnitComponentManager extends NSObject {
|
|
765
|
+
readonly tagNames: NSArray
|
|
766
|
+
|
|
767
|
+
readonly standardLocalizedTagNames: NSArray
|
|
768
|
+
|
|
769
|
+
static sharedAudioUnitComponentManager<This extends abstract new (...args: any) => any>(
|
|
770
|
+
this: This,
|
|
771
|
+
): InstanceType<This>
|
|
772
|
+
|
|
773
|
+
componentsMatchingPredicate(predicate: NSPredicate): NSArray
|
|
774
|
+
|
|
775
|
+
componentsPassingTest(
|
|
776
|
+
testHandler: (p1: AVAudioUnitComponent, p2: interop.PointerConvertible) => boolean,
|
|
777
|
+
): NSArray
|
|
778
|
+
|
|
779
|
+
componentsMatchingDescription(desc: AudioComponentDescription): NSArray
|
|
780
|
+
}
|
|
781
|
+
|
|
782
|
+
declare class AVAudioSinkNode extends AVAudioNode {
|
|
783
|
+
initWithReceiverBlock(
|
|
784
|
+
block: (p1: interop.PointerConvertible, p2: number, p3: interop.PointerConvertible) => number,
|
|
785
|
+
): this
|
|
786
|
+
}
|
|
787
|
+
|
|
788
|
+
declare class AVAudioMixerNode extends AVAudioNode implements AVAudioMixing {
|
|
789
|
+
init(): this
|
|
790
|
+
|
|
791
|
+
outputVolume: number
|
|
792
|
+
|
|
793
|
+
readonly nextAvailableInputBus: number
|
|
794
|
+
|
|
795
|
+
destinationForMixerBus(mixer: AVAudioNode, bus: number): AVAudioMixingDestination
|
|
796
|
+
|
|
797
|
+
volume: number
|
|
798
|
+
|
|
799
|
+
pan: number
|
|
800
|
+
|
|
801
|
+
isEqual(object: interop.Object): boolean
|
|
802
|
+
|
|
803
|
+
readonly hash: number
|
|
804
|
+
|
|
805
|
+
readonly superclass: interop.Pointer
|
|
806
|
+
|
|
807
|
+
class(): interop.Pointer
|
|
808
|
+
|
|
809
|
+
self(): this
|
|
810
|
+
|
|
811
|
+
performSelector(aSelector: string): interop.Object
|
|
812
|
+
|
|
813
|
+
performSelectorWithObject(aSelector: string, object: interop.Object): interop.Object
|
|
814
|
+
|
|
815
|
+
performSelectorWithObjectWithObject(
|
|
816
|
+
aSelector: string,
|
|
817
|
+
object1: interop.Object,
|
|
818
|
+
object2: interop.Object,
|
|
819
|
+
): interop.Object
|
|
820
|
+
|
|
821
|
+
readonly isProxy: boolean
|
|
822
|
+
|
|
823
|
+
isKindOfClass(aClass: interop.PointerConvertible): boolean
|
|
824
|
+
|
|
825
|
+
isMemberOfClass(aClass: interop.PointerConvertible): boolean
|
|
826
|
+
|
|
827
|
+
conformsToProtocol(aProtocol: interop.PointerConvertible): boolean
|
|
828
|
+
|
|
829
|
+
respondsToSelector(aSelector: string): boolean
|
|
830
|
+
|
|
831
|
+
retain(): this
|
|
832
|
+
|
|
833
|
+
release(): void
|
|
834
|
+
|
|
835
|
+
autorelease(): this
|
|
836
|
+
|
|
837
|
+
retainCount(): number
|
|
838
|
+
|
|
839
|
+
readonly zone: interop.Pointer
|
|
840
|
+
|
|
841
|
+
readonly description: string
|
|
842
|
+
|
|
843
|
+
readonly debugDescription: string
|
|
844
|
+
|
|
845
|
+
renderingAlgorithm: interop.Enum<typeof AVAudio3DMixingRenderingAlgorithm>
|
|
846
|
+
|
|
847
|
+
sourceMode: interop.Enum<typeof AVAudio3DMixingSourceMode>
|
|
848
|
+
|
|
849
|
+
pointSourceInHeadMode: interop.Enum<typeof AVAudio3DMixingPointSourceInHeadMode>
|
|
850
|
+
|
|
851
|
+
rate: number
|
|
852
|
+
|
|
853
|
+
reverbBlend: number
|
|
854
|
+
|
|
855
|
+
obstruction: number
|
|
856
|
+
|
|
857
|
+
occlusion: number
|
|
858
|
+
|
|
859
|
+
position: AVAudio3DPoint
|
|
860
|
+
}
|
|
861
|
+
|
|
862
|
+
declare class AVAudioFile extends NSObject {
|
|
863
|
+
init(): this
|
|
864
|
+
|
|
865
|
+
initForReadingError(fileURL: NSURL, outError: interop.PointerConvertible): this
|
|
866
|
+
|
|
867
|
+
initForReadingCommonFormatInterleavedError(
|
|
868
|
+
fileURL: NSURL,
|
|
869
|
+
format: interop.Enum<typeof AVAudioCommonFormat>,
|
|
870
|
+
interleaved: boolean,
|
|
871
|
+
outError: interop.PointerConvertible,
|
|
872
|
+
): this
|
|
873
|
+
|
|
874
|
+
initForWritingSettingsError(
|
|
875
|
+
fileURL: NSURL,
|
|
876
|
+
settings: NSDictionary<interop.Object, interop.Object> | Record<interop.Object, interop.Object>,
|
|
877
|
+
outError: interop.PointerConvertible,
|
|
878
|
+
): this
|
|
879
|
+
|
|
880
|
+
initForWritingSettingsCommonFormatInterleavedError(
|
|
881
|
+
fileURL: NSURL,
|
|
882
|
+
settings: NSDictionary<interop.Object, interop.Object> | Record<interop.Object, interop.Object>,
|
|
883
|
+
format: interop.Enum<typeof AVAudioCommonFormat>,
|
|
884
|
+
interleaved: boolean,
|
|
885
|
+
outError: interop.PointerConvertible,
|
|
886
|
+
): this
|
|
887
|
+
|
|
888
|
+
readIntoBufferError(buffer: AVAudioPCMBuffer, outError: interop.PointerConvertible): boolean
|
|
889
|
+
|
|
890
|
+
readIntoBufferFrameCountError(
|
|
891
|
+
buffer: AVAudioPCMBuffer,
|
|
892
|
+
frames: number,
|
|
893
|
+
outError: interop.PointerConvertible,
|
|
894
|
+
): boolean
|
|
895
|
+
|
|
896
|
+
writeFromBufferError(buffer: AVAudioPCMBuffer, outError: interop.PointerConvertible): boolean
|
|
897
|
+
|
|
898
|
+
readonly url: NSURL
|
|
899
|
+
|
|
900
|
+
readonly fileFormat: AVAudioFormat
|
|
901
|
+
|
|
902
|
+
readonly processingFormat: AVAudioFormat
|
|
903
|
+
|
|
904
|
+
readonly length: number
|
|
905
|
+
|
|
906
|
+
framePosition: number
|
|
907
|
+
}
|
|
908
|
+
|
|
909
|
+
declare class AVAudioOutputNode extends AVAudioIONode {}
|
|
910
|
+
|
|
911
|
+
declare class AVAudioMixingDestination extends NSObject implements AVAudioMixing {
|
|
912
|
+
readonly connectionPoint: AVAudioConnectionPoint
|
|
913
|
+
|
|
914
|
+
destinationForMixerBus(mixer: AVAudioNode, bus: number): AVAudioMixingDestination
|
|
915
|
+
|
|
916
|
+
volume: number
|
|
917
|
+
|
|
918
|
+
pan: number
|
|
919
|
+
|
|
920
|
+
isEqual(object: interop.Object): boolean
|
|
921
|
+
|
|
922
|
+
readonly hash: number
|
|
923
|
+
|
|
924
|
+
readonly superclass: interop.Pointer
|
|
925
|
+
|
|
926
|
+
class(): interop.Pointer
|
|
927
|
+
|
|
928
|
+
self(): this
|
|
929
|
+
|
|
930
|
+
performSelector(aSelector: string): interop.Object
|
|
931
|
+
|
|
932
|
+
performSelectorWithObject(aSelector: string, object: interop.Object): interop.Object
|
|
933
|
+
|
|
934
|
+
performSelectorWithObjectWithObject(
|
|
935
|
+
aSelector: string,
|
|
936
|
+
object1: interop.Object,
|
|
937
|
+
object2: interop.Object,
|
|
938
|
+
): interop.Object
|
|
939
|
+
|
|
940
|
+
readonly isProxy: boolean
|
|
941
|
+
|
|
942
|
+
isKindOfClass(aClass: interop.PointerConvertible): boolean
|
|
943
|
+
|
|
944
|
+
isMemberOfClass(aClass: interop.PointerConvertible): boolean
|
|
945
|
+
|
|
946
|
+
conformsToProtocol(aProtocol: interop.PointerConvertible): boolean
|
|
947
|
+
|
|
948
|
+
respondsToSelector(aSelector: string): boolean
|
|
949
|
+
|
|
950
|
+
retain(): this
|
|
951
|
+
|
|
952
|
+
release(): void
|
|
953
|
+
|
|
954
|
+
autorelease(): this
|
|
955
|
+
|
|
956
|
+
retainCount(): number
|
|
957
|
+
|
|
958
|
+
readonly zone: interop.Pointer
|
|
959
|
+
|
|
960
|
+
readonly description: string
|
|
961
|
+
|
|
962
|
+
readonly debugDescription: string
|
|
963
|
+
|
|
964
|
+
renderingAlgorithm: interop.Enum<typeof AVAudio3DMixingRenderingAlgorithm>
|
|
965
|
+
|
|
966
|
+
sourceMode: interop.Enum<typeof AVAudio3DMixingSourceMode>
|
|
967
|
+
|
|
968
|
+
pointSourceInHeadMode: interop.Enum<typeof AVAudio3DMixingPointSourceInHeadMode>
|
|
969
|
+
|
|
970
|
+
rate: number
|
|
971
|
+
|
|
972
|
+
reverbBlend: number
|
|
973
|
+
|
|
974
|
+
obstruction: number
|
|
975
|
+
|
|
976
|
+
occlusion: number
|
|
977
|
+
|
|
978
|
+
position: AVAudio3DPoint
|
|
979
|
+
}
|
|
980
|
+
|
|
981
|
+
declare class AVAudioConverter extends NSObject {
|
|
982
|
+
initFromFormatToFormat(fromFormat: AVAudioFormat, toFormat: AVAudioFormat): this
|
|
983
|
+
|
|
984
|
+
reset(): void
|
|
985
|
+
|
|
986
|
+
readonly inputFormat: AVAudioFormat
|
|
987
|
+
|
|
988
|
+
readonly outputFormat: AVAudioFormat
|
|
989
|
+
|
|
990
|
+
get channelMap(): NSArray
|
|
991
|
+
set channelMap(value: NSArray<interop.Object> | Array<interop.Object>)
|
|
992
|
+
|
|
993
|
+
magicCookie: NSData
|
|
994
|
+
|
|
995
|
+
downmix: boolean
|
|
996
|
+
|
|
997
|
+
dither: boolean
|
|
998
|
+
|
|
999
|
+
sampleRateConverterQuality: number
|
|
1000
|
+
|
|
1001
|
+
sampleRateConverterAlgorithm: string
|
|
1002
|
+
|
|
1003
|
+
primeMethod: interop.Enum<typeof AVAudioConverterPrimeMethod>
|
|
1004
|
+
|
|
1005
|
+
primeInfo: AVAudioConverterPrimeInfo
|
|
1006
|
+
|
|
1007
|
+
convertToBufferFromBufferError(
|
|
1008
|
+
outputBuffer: AVAudioPCMBuffer,
|
|
1009
|
+
inputBuffer: AVAudioPCMBuffer,
|
|
1010
|
+
outError: interop.PointerConvertible,
|
|
1011
|
+
): boolean
|
|
1012
|
+
|
|
1013
|
+
convertToBufferErrorWithInputFromBlock(
|
|
1014
|
+
outputBuffer: AVAudioBuffer,
|
|
1015
|
+
outError: interop.PointerConvertible,
|
|
1016
|
+
inputBlock: (p1: number, p2: interop.PointerConvertible) => AVAudioBuffer,
|
|
1017
|
+
): interop.Enum<typeof AVAudioConverterOutputStatus>
|
|
1018
|
+
|
|
1019
|
+
bitRate: number
|
|
1020
|
+
|
|
1021
|
+
bitRateStrategy: string
|
|
1022
|
+
|
|
1023
|
+
readonly maximumOutputPacketSize: number
|
|
1024
|
+
|
|
1025
|
+
readonly availableEncodeBitRates: NSArray
|
|
1026
|
+
|
|
1027
|
+
readonly applicableEncodeBitRates: NSArray
|
|
1028
|
+
|
|
1029
|
+
readonly availableEncodeSampleRates: NSArray
|
|
1030
|
+
|
|
1031
|
+
readonly applicableEncodeSampleRates: NSArray
|
|
1032
|
+
|
|
1033
|
+
readonly availableEncodeChannelLayoutTags: NSArray
|
|
1034
|
+
}
|
|
1035
|
+
|
|
1036
|
+
declare class AVAudioTime extends NSObject {
|
|
1037
|
+
initWithAudioTimeStampSampleRate(ts: interop.PointerConvertible, sampleRate: number): this
|
|
1038
|
+
|
|
1039
|
+
initWithHostTime(hostTime: number): this
|
|
1040
|
+
|
|
1041
|
+
initWithSampleTimeAtRate(sampleTime: number, sampleRate: number): this
|
|
1042
|
+
|
|
1043
|
+
initWithHostTimeSampleTimeAtRate(hostTime: number, sampleTime: number, sampleRate: number): this
|
|
1044
|
+
|
|
1045
|
+
static timeWithAudioTimeStampSampleRate<This extends abstract new (...args: any) => any>(
|
|
1046
|
+
this: This,
|
|
1047
|
+
ts: interop.PointerConvertible,
|
|
1048
|
+
sampleRate: number,
|
|
1049
|
+
): InstanceType<This>
|
|
1050
|
+
|
|
1051
|
+
static timeWithHostTime<This extends abstract new (...args: any) => any>(
|
|
1052
|
+
this: This,
|
|
1053
|
+
hostTime: number,
|
|
1054
|
+
): InstanceType<This>
|
|
1055
|
+
|
|
1056
|
+
static timeWithSampleTimeAtRate<This extends abstract new (...args: any) => any>(
|
|
1057
|
+
this: This,
|
|
1058
|
+
sampleTime: number,
|
|
1059
|
+
sampleRate: number,
|
|
1060
|
+
): InstanceType<This>
|
|
1061
|
+
|
|
1062
|
+
static timeWithHostTimeSampleTimeAtRate<This extends abstract new (...args: any) => any>(
|
|
1063
|
+
this: This,
|
|
1064
|
+
hostTime: number,
|
|
1065
|
+
sampleTime: number,
|
|
1066
|
+
sampleRate: number,
|
|
1067
|
+
): InstanceType<This>
|
|
1068
|
+
|
|
1069
|
+
static hostTimeForSeconds(seconds: number): number
|
|
1070
|
+
|
|
1071
|
+
static secondsForHostTime(hostTime: number): number
|
|
1072
|
+
|
|
1073
|
+
extrapolateTimeFromAnchor(anchorTime: AVAudioTime): AVAudioTime
|
|
1074
|
+
|
|
1075
|
+
readonly hostTimeValid: boolean
|
|
1076
|
+
|
|
1077
|
+
readonly hostTime: number
|
|
1078
|
+
|
|
1079
|
+
readonly sampleTimeValid: boolean
|
|
1080
|
+
|
|
1081
|
+
readonly sampleTime: number
|
|
1082
|
+
|
|
1083
|
+
readonly sampleRate: number
|
|
1084
|
+
|
|
1085
|
+
readonly audioTimeStamp: AudioTimeStamp
|
|
1086
|
+
|
|
1087
|
+
isHostTimeValid(): boolean
|
|
1088
|
+
|
|
1089
|
+
isSampleTimeValid(): boolean
|
|
1090
|
+
}
|
|
1091
|
+
|
|
1092
|
+
declare class AVAudioChannelLayout extends NSObject implements NSSecureCoding {
|
|
1093
|
+
initWithLayoutTag(layoutTag: number): this
|
|
1094
|
+
|
|
1095
|
+
initWithLayout(layout: interop.PointerConvertible): this
|
|
1096
|
+
|
|
1097
|
+
isEqual(object: interop.Object): boolean
|
|
1098
|
+
|
|
1099
|
+
static layoutWithLayoutTag<This extends abstract new (...args: any) => any>(
|
|
1100
|
+
this: This,
|
|
1101
|
+
layoutTag: number,
|
|
1102
|
+
): InstanceType<This>
|
|
1103
|
+
|
|
1104
|
+
static layoutWithLayout<This extends abstract new (...args: any) => any>(
|
|
1105
|
+
this: This,
|
|
1106
|
+
layout: interop.PointerConvertible,
|
|
1107
|
+
): InstanceType<This>
|
|
1108
|
+
|
|
1109
|
+
readonly layoutTag: number
|
|
1110
|
+
|
|
1111
|
+
readonly layout: interop.Pointer
|
|
1112
|
+
|
|
1113
|
+
readonly channelCount: number
|
|
1114
|
+
|
|
1115
|
+
static readonly supportsSecureCoding: boolean
|
|
1116
|
+
|
|
1117
|
+
encodeWithCoder(coder: NSCoder): void
|
|
1118
|
+
|
|
1119
|
+
initWithCoder(coder: NSCoder): this
|
|
1120
|
+
}
|
|
1121
|
+
|
|
1122
|
+
declare class AVAudioCompressedBuffer extends AVAudioBuffer {
|
|
1123
|
+
initWithFormatPacketCapacityMaximumPacketSize(
|
|
1124
|
+
format: AVAudioFormat,
|
|
1125
|
+
packetCapacity: number,
|
|
1126
|
+
maximumPacketSize: number,
|
|
1127
|
+
): this
|
|
1128
|
+
|
|
1129
|
+
initWithFormatPacketCapacity(format: AVAudioFormat, packetCapacity: number): this
|
|
1130
|
+
|
|
1131
|
+
readonly packetCapacity: number
|
|
1132
|
+
|
|
1133
|
+
packetCount: number
|
|
1134
|
+
|
|
1135
|
+
readonly maximumPacketSize: number
|
|
1136
|
+
|
|
1137
|
+
readonly data: interop.Pointer
|
|
1138
|
+
|
|
1139
|
+
readonly byteCapacity: number
|
|
1140
|
+
|
|
1141
|
+
byteLength: number
|
|
1142
|
+
|
|
1143
|
+
readonly packetDescriptions: interop.Pointer
|
|
1144
|
+
}
|
|
1145
|
+
|
|
1146
|
+
declare class AVAudioBuffer extends NSObject implements NSCopying, NSMutableCopying {
|
|
1147
|
+
readonly format: AVAudioFormat
|
|
1148
|
+
|
|
1149
|
+
readonly audioBufferList: interop.Pointer
|
|
1150
|
+
|
|
1151
|
+
readonly mutableAudioBufferList: interop.Pointer
|
|
1152
|
+
|
|
1153
|
+
copyWithZone(zone: interop.PointerConvertible): interop.Object
|
|
1154
|
+
|
|
1155
|
+
mutableCopyWithZone(zone: interop.PointerConvertible): interop.Object
|
|
1156
|
+
}
|
|
1157
|
+
|
|
1158
|
+
declare class AVAudioUnitSampler extends AVAudioUnitMIDIInstrument {
|
|
1159
|
+
loadSoundBankInstrumentAtURLProgramBankMSBBankLSBError(
|
|
1160
|
+
bankURL: NSURL,
|
|
1161
|
+
program: number,
|
|
1162
|
+
bankMSB: number,
|
|
1163
|
+
bankLSB: number,
|
|
1164
|
+
outError: interop.PointerConvertible,
|
|
1165
|
+
): boolean
|
|
1166
|
+
|
|
1167
|
+
loadInstrumentAtURLError(instrumentURL: NSURL, outError: interop.PointerConvertible): boolean
|
|
1168
|
+
|
|
1169
|
+
loadAudioFilesAtURLsError(
|
|
1170
|
+
audioFiles: NSArray<interop.Object> | Array<interop.Object>,
|
|
1171
|
+
outError: interop.PointerConvertible,
|
|
1172
|
+
): boolean
|
|
1173
|
+
|
|
1174
|
+
stereoPan: number
|
|
1175
|
+
|
|
1176
|
+
masterGain: number
|
|
1177
|
+
|
|
1178
|
+
globalTuning: number
|
|
1179
|
+
}
|
|
1180
|
+
|
|
1181
|
+
declare class AVAudioEnvironmentNode extends AVAudioNode implements AVAudioMixing {
|
|
1182
|
+
init(): this
|
|
1183
|
+
|
|
1184
|
+
outputType: interop.Enum<typeof AVAudioEnvironmentOutputType>
|
|
1185
|
+
|
|
1186
|
+
outputVolume: number
|
|
1187
|
+
|
|
1188
|
+
readonly nextAvailableInputBus: number
|
|
1189
|
+
|
|
1190
|
+
listenerPosition: AVAudio3DPoint
|
|
1191
|
+
|
|
1192
|
+
listenerVectorOrientation: AVAudio3DVectorOrientation
|
|
1193
|
+
|
|
1194
|
+
listenerAngularOrientation: AVAudio3DAngularOrientation
|
|
1195
|
+
|
|
1196
|
+
readonly distanceAttenuationParameters: AVAudioEnvironmentDistanceAttenuationParameters
|
|
1197
|
+
|
|
1198
|
+
readonly reverbParameters: AVAudioEnvironmentReverbParameters
|
|
1199
|
+
|
|
1200
|
+
readonly applicableRenderingAlgorithms: NSArray
|
|
1201
|
+
|
|
1202
|
+
destinationForMixerBus(mixer: AVAudioNode, bus: number): AVAudioMixingDestination
|
|
1203
|
+
|
|
1204
|
+
volume: number
|
|
1205
|
+
|
|
1206
|
+
pan: number
|
|
1207
|
+
|
|
1208
|
+
isEqual(object: interop.Object): boolean
|
|
1209
|
+
|
|
1210
|
+
readonly hash: number
|
|
1211
|
+
|
|
1212
|
+
readonly superclass: interop.Pointer
|
|
1213
|
+
|
|
1214
|
+
class(): interop.Pointer
|
|
1215
|
+
|
|
1216
|
+
self(): this
|
|
1217
|
+
|
|
1218
|
+
performSelector(aSelector: string): interop.Object
|
|
1219
|
+
|
|
1220
|
+
performSelectorWithObject(aSelector: string, object: interop.Object): interop.Object
|
|
1221
|
+
|
|
1222
|
+
performSelectorWithObjectWithObject(
|
|
1223
|
+
aSelector: string,
|
|
1224
|
+
object1: interop.Object,
|
|
1225
|
+
object2: interop.Object,
|
|
1226
|
+
): interop.Object
|
|
1227
|
+
|
|
1228
|
+
readonly isProxy: boolean
|
|
1229
|
+
|
|
1230
|
+
isKindOfClass(aClass: interop.PointerConvertible): boolean
|
|
1231
|
+
|
|
1232
|
+
isMemberOfClass(aClass: interop.PointerConvertible): boolean
|
|
1233
|
+
|
|
1234
|
+
conformsToProtocol(aProtocol: interop.PointerConvertible): boolean
|
|
1235
|
+
|
|
1236
|
+
respondsToSelector(aSelector: string): boolean
|
|
1237
|
+
|
|
1238
|
+
retain(): this
|
|
1239
|
+
|
|
1240
|
+
release(): void
|
|
1241
|
+
|
|
1242
|
+
autorelease(): this
|
|
1243
|
+
|
|
1244
|
+
retainCount(): number
|
|
1245
|
+
|
|
1246
|
+
readonly zone: interop.Pointer
|
|
1247
|
+
|
|
1248
|
+
readonly description: string
|
|
1249
|
+
|
|
1250
|
+
readonly debugDescription: string
|
|
1251
|
+
|
|
1252
|
+
renderingAlgorithm: interop.Enum<typeof AVAudio3DMixingRenderingAlgorithm>
|
|
1253
|
+
|
|
1254
|
+
sourceMode: interop.Enum<typeof AVAudio3DMixingSourceMode>
|
|
1255
|
+
|
|
1256
|
+
pointSourceInHeadMode: interop.Enum<typeof AVAudio3DMixingPointSourceInHeadMode>
|
|
1257
|
+
|
|
1258
|
+
rate: number
|
|
1259
|
+
|
|
1260
|
+
reverbBlend: number
|
|
1261
|
+
|
|
1262
|
+
obstruction: number
|
|
1263
|
+
|
|
1264
|
+
occlusion: number
|
|
1265
|
+
|
|
1266
|
+
position: AVAudio3DPoint
|
|
1267
|
+
}
|
|
1268
|
+
|
|
1269
|
+
declare class AVAudioPlayer extends NSObject {
|
|
1270
|
+
initWithContentsOfURLError(url: NSURL, outError: interop.PointerConvertible): this
|
|
1271
|
+
|
|
1272
|
+
initWithDataError(data: NSData, outError: interop.PointerConvertible): this
|
|
1273
|
+
|
|
1274
|
+
initWithContentsOfURLFileTypeHintError(
|
|
1275
|
+
url: NSURL,
|
|
1276
|
+
utiString: string | null,
|
|
1277
|
+
outError: interop.PointerConvertible,
|
|
1278
|
+
): this
|
|
1279
|
+
|
|
1280
|
+
initWithDataFileTypeHintError(
|
|
1281
|
+
data: NSData,
|
|
1282
|
+
utiString: string | null,
|
|
1283
|
+
outError: interop.PointerConvertible,
|
|
1284
|
+
): this
|
|
1285
|
+
|
|
1286
|
+
prepareToPlay(): boolean
|
|
1287
|
+
|
|
1288
|
+
play(): boolean
|
|
1289
|
+
|
|
1290
|
+
playAtTime(time: number): boolean
|
|
1291
|
+
|
|
1292
|
+
pause(): void
|
|
1293
|
+
|
|
1294
|
+
stop(): void
|
|
1295
|
+
|
|
1296
|
+
readonly playing: boolean
|
|
1297
|
+
|
|
1298
|
+
readonly numberOfChannels: number
|
|
1299
|
+
|
|
1300
|
+
readonly duration: number
|
|
1301
|
+
|
|
1302
|
+
currentDevice: string
|
|
1303
|
+
|
|
1304
|
+
delegate: AVAudioPlayerDelegate
|
|
1305
|
+
|
|
1306
|
+
readonly url: NSURL
|
|
1307
|
+
|
|
1308
|
+
readonly data: NSData
|
|
1309
|
+
|
|
1310
|
+
pan: number
|
|
1311
|
+
|
|
1312
|
+
volume: number
|
|
1313
|
+
|
|
1314
|
+
setVolumeFadeDuration(volume: number, duration: number): void
|
|
1315
|
+
|
|
1316
|
+
enableRate: boolean
|
|
1317
|
+
|
|
1318
|
+
rate: number
|
|
1319
|
+
|
|
1320
|
+
currentTime: number
|
|
1321
|
+
|
|
1322
|
+
readonly deviceCurrentTime: number
|
|
1323
|
+
|
|
1324
|
+
numberOfLoops: number
|
|
1325
|
+
|
|
1326
|
+
readonly settings: NSDictionary
|
|
1327
|
+
|
|
1328
|
+
readonly format: AVAudioFormat
|
|
1329
|
+
|
|
1330
|
+
meteringEnabled: boolean
|
|
1331
|
+
|
|
1332
|
+
updateMeters(): void
|
|
1333
|
+
|
|
1334
|
+
peakPowerForChannel(channelNumber: number): number
|
|
1335
|
+
|
|
1336
|
+
averagePowerForChannel(channelNumber: number): number
|
|
1337
|
+
|
|
1338
|
+
isPlaying(): boolean
|
|
1339
|
+
|
|
1340
|
+
isMeteringEnabled(): boolean
|
|
1341
|
+
}
|
|
1342
|
+
|
|
1343
|
+
declare class AVAudioFormat extends NSObject implements NSSecureCoding {
|
|
1344
|
+
initWithStreamDescription(asbd: interop.PointerConvertible): this
|
|
1345
|
+
|
|
1346
|
+
initWithStreamDescriptionChannelLayout(
|
|
1347
|
+
asbd: interop.PointerConvertible,
|
|
1348
|
+
layout: AVAudioChannelLayout | null,
|
|
1349
|
+
): this
|
|
1350
|
+
|
|
1351
|
+
initStandardFormatWithSampleRateChannels(sampleRate: number, channels: number): this
|
|
1352
|
+
|
|
1353
|
+
initStandardFormatWithSampleRateChannelLayout(
|
|
1354
|
+
sampleRate: number,
|
|
1355
|
+
layout: AVAudioChannelLayout,
|
|
1356
|
+
): this
|
|
1357
|
+
|
|
1358
|
+
initWithCommonFormatSampleRateChannelsInterleaved(
|
|
1359
|
+
format: interop.Enum<typeof AVAudioCommonFormat>,
|
|
1360
|
+
sampleRate: number,
|
|
1361
|
+
channels: number,
|
|
1362
|
+
interleaved: boolean,
|
|
1363
|
+
): this
|
|
1364
|
+
|
|
1365
|
+
initWithCommonFormatSampleRateInterleavedChannelLayout(
|
|
1366
|
+
format: interop.Enum<typeof AVAudioCommonFormat>,
|
|
1367
|
+
sampleRate: number,
|
|
1368
|
+
interleaved: boolean,
|
|
1369
|
+
layout: AVAudioChannelLayout,
|
|
1370
|
+
): this
|
|
1371
|
+
|
|
1372
|
+
initWithSettings(
|
|
1373
|
+
settings: NSDictionary<interop.Object, interop.Object> | Record<interop.Object, interop.Object>,
|
|
1374
|
+
): this
|
|
1375
|
+
|
|
1376
|
+
initWithCMAudioFormatDescription(formatDescription: interop.Object): this
|
|
1377
|
+
|
|
1378
|
+
isEqual(object: interop.Object): boolean
|
|
1379
|
+
|
|
1380
|
+
readonly standard: boolean
|
|
1381
|
+
|
|
1382
|
+
readonly commonFormat: interop.Enum<typeof AVAudioCommonFormat>
|
|
1383
|
+
|
|
1384
|
+
readonly channelCount: number
|
|
1385
|
+
|
|
1386
|
+
readonly sampleRate: number
|
|
1387
|
+
|
|
1388
|
+
readonly interleaved: boolean
|
|
1389
|
+
|
|
1390
|
+
readonly streamDescription: interop.Pointer
|
|
1391
|
+
|
|
1392
|
+
readonly channelLayout: AVAudioChannelLayout
|
|
1393
|
+
|
|
1394
|
+
magicCookie: NSData
|
|
1395
|
+
|
|
1396
|
+
readonly settings: NSDictionary
|
|
1397
|
+
|
|
1398
|
+
readonly formatDescription: interop.Object
|
|
1399
|
+
|
|
1400
|
+
isStandard(): boolean
|
|
1401
|
+
|
|
1402
|
+
isInterleaved(): boolean
|
|
1403
|
+
|
|
1404
|
+
static readonly supportsSecureCoding: boolean
|
|
1405
|
+
|
|
1406
|
+
encodeWithCoder(coder: NSCoder): void
|
|
1407
|
+
|
|
1408
|
+
initWithCoder(coder: NSCoder): this
|
|
1409
|
+
}
|
|
1410
|
+
|
|
1411
|
+
declare class AVAudioSequencer extends NSObject {
|
|
1412
|
+
init(): this
|
|
1413
|
+
|
|
1414
|
+
initWithAudioEngine(engine: AVAudioEngine): this
|
|
1415
|
+
|
|
1416
|
+
loadFromURLOptionsError(
|
|
1417
|
+
fileURL: NSURL,
|
|
1418
|
+
options: interop.Enum<typeof AVMusicSequenceLoadOptions>,
|
|
1419
|
+
outError: interop.PointerConvertible,
|
|
1420
|
+
): boolean
|
|
1421
|
+
|
|
1422
|
+
loadFromDataOptionsError(
|
|
1423
|
+
data: NSData,
|
|
1424
|
+
options: interop.Enum<typeof AVMusicSequenceLoadOptions>,
|
|
1425
|
+
outError: interop.PointerConvertible,
|
|
1426
|
+
): boolean
|
|
1427
|
+
|
|
1428
|
+
writeToURLSMPTEResolutionReplaceExistingError(
|
|
1429
|
+
fileURL: NSURL,
|
|
1430
|
+
resolution: number,
|
|
1431
|
+
replace: boolean,
|
|
1432
|
+
outError: interop.PointerConvertible,
|
|
1433
|
+
): boolean
|
|
1434
|
+
|
|
1435
|
+
dataWithSMPTEResolutionError(
|
|
1436
|
+
SMPTEResolution: number,
|
|
1437
|
+
outError: interop.PointerConvertible,
|
|
1438
|
+
): NSData
|
|
1439
|
+
|
|
1440
|
+
secondsForBeats(beats: number): number
|
|
1441
|
+
|
|
1442
|
+
beatsForSeconds(seconds: number): number
|
|
1443
|
+
|
|
1444
|
+
readonly tracks: NSArray
|
|
1445
|
+
|
|
1446
|
+
readonly tempoTrack: AVMusicTrack
|
|
1447
|
+
|
|
1448
|
+
readonly userInfo: NSDictionary
|
|
1449
|
+
|
|
1450
|
+
currentPositionInSeconds: number
|
|
1451
|
+
|
|
1452
|
+
currentPositionInBeats: number
|
|
1453
|
+
|
|
1454
|
+
readonly playing: boolean
|
|
1455
|
+
|
|
1456
|
+
rate: number
|
|
1457
|
+
|
|
1458
|
+
hostTimeForBeatsError(inBeats: number, outError: interop.PointerConvertible): number
|
|
1459
|
+
|
|
1460
|
+
beatsForHostTimeError(inHostTime: number, outError: interop.PointerConvertible): number
|
|
1461
|
+
|
|
1462
|
+
prepareToPlay(): void
|
|
1463
|
+
|
|
1464
|
+
startAndReturnError(outError: interop.PointerConvertible): boolean
|
|
1465
|
+
|
|
1466
|
+
stop(): void
|
|
1467
|
+
|
|
1468
|
+
isPlaying(): boolean
|
|
1469
|
+
}
|
|
1470
|
+
|
|
1471
|
+
declare class AVAudioUnitComponent extends NSObject {
|
|
1472
|
+
readonly name: string
|
|
1473
|
+
|
|
1474
|
+
readonly typeName: string
|
|
1475
|
+
|
|
1476
|
+
readonly localizedTypeName: string
|
|
1477
|
+
|
|
1478
|
+
readonly manufacturerName: string
|
|
1479
|
+
|
|
1480
|
+
readonly version: number
|
|
1481
|
+
|
|
1482
|
+
readonly versionString: string
|
|
1483
|
+
|
|
1484
|
+
readonly componentURL: NSURL
|
|
1485
|
+
|
|
1486
|
+
readonly availableArchitectures: NSArray
|
|
1487
|
+
|
|
1488
|
+
readonly sandboxSafe: boolean
|
|
1489
|
+
|
|
1490
|
+
readonly hasMIDIInput: boolean
|
|
1491
|
+
|
|
1492
|
+
readonly hasMIDIOutput: boolean
|
|
1493
|
+
|
|
1494
|
+
readonly audioComponent: interop.Pointer
|
|
1495
|
+
|
|
1496
|
+
get userTagNames(): NSArray
|
|
1497
|
+
set userTagNames(value: NSArray<interop.Object> | Array<interop.Object>)
|
|
1498
|
+
|
|
1499
|
+
readonly allTagNames: NSArray
|
|
1500
|
+
|
|
1501
|
+
readonly audioComponentDescription: AudioComponentDescription
|
|
1502
|
+
|
|
1503
|
+
readonly iconURL: NSURL
|
|
1504
|
+
|
|
1505
|
+
readonly icon: NSImage
|
|
1506
|
+
|
|
1507
|
+
readonly passesAUVal: boolean
|
|
1508
|
+
|
|
1509
|
+
readonly hasCustomView: boolean
|
|
1510
|
+
|
|
1511
|
+
readonly configurationDictionary: NSDictionary
|
|
1512
|
+
|
|
1513
|
+
supportsNumberInputChannelsOutputChannels(
|
|
1514
|
+
numInputChannels: number,
|
|
1515
|
+
numOutputChannels: number,
|
|
1516
|
+
): boolean
|
|
1517
|
+
|
|
1518
|
+
isSandboxSafe(): boolean
|
|
1519
|
+
}
|
|
1520
|
+
|
|
1521
|
+
declare class AVMusicTrack extends NSObject {
|
|
1522
|
+
destinationAudioUnit: AVAudioUnit
|
|
1523
|
+
|
|
1524
|
+
destinationMIDIEndpoint: number
|
|
1525
|
+
|
|
1526
|
+
loopRange: _AVBeatRange
|
|
1527
|
+
|
|
1528
|
+
loopingEnabled: boolean
|
|
1529
|
+
|
|
1530
|
+
numberOfLoops: number
|
|
1531
|
+
|
|
1532
|
+
offsetTime: number
|
|
1533
|
+
|
|
1534
|
+
muted: boolean
|
|
1535
|
+
|
|
1536
|
+
soloed: boolean
|
|
1537
|
+
|
|
1538
|
+
lengthInBeats: number
|
|
1539
|
+
|
|
1540
|
+
lengthInSeconds: number
|
|
1541
|
+
|
|
1542
|
+
readonly timeResolution: number
|
|
1543
|
+
|
|
1544
|
+
isLoopingEnabled(): boolean
|
|
1545
|
+
|
|
1546
|
+
isMuted(): boolean
|
|
1547
|
+
|
|
1548
|
+
isSoloed(): boolean
|
|
1549
|
+
}
|
|
1550
|
+
|
|
1551
|
+
declare class AVAudioInputNode extends AVAudioIONode implements AVAudioMixing {
|
|
1552
|
+
setManualRenderingInputPCMFormatInputBlock(
|
|
1553
|
+
format: AVAudioFormat,
|
|
1554
|
+
block: (p1: number) => interop.Pointer,
|
|
1555
|
+
): boolean
|
|
1556
|
+
|
|
1557
|
+
voiceProcessingBypassed: boolean
|
|
1558
|
+
|
|
1559
|
+
voiceProcessingAGCEnabled: boolean
|
|
1560
|
+
|
|
1561
|
+
voiceProcessingInputMuted: boolean
|
|
1562
|
+
|
|
1563
|
+
isVoiceProcessingBypassed(): boolean
|
|
1564
|
+
|
|
1565
|
+
isVoiceProcessingAGCEnabled(): boolean
|
|
1566
|
+
|
|
1567
|
+
isVoiceProcessingInputMuted(): boolean
|
|
1568
|
+
|
|
1569
|
+
destinationForMixerBus(mixer: AVAudioNode, bus: number): AVAudioMixingDestination
|
|
1570
|
+
|
|
1571
|
+
volume: number
|
|
1572
|
+
|
|
1573
|
+
pan: number
|
|
1574
|
+
|
|
1575
|
+
isEqual(object: interop.Object): boolean
|
|
1576
|
+
|
|
1577
|
+
readonly hash: number
|
|
1578
|
+
|
|
1579
|
+
readonly superclass: interop.Pointer
|
|
1580
|
+
|
|
1581
|
+
class(): interop.Pointer
|
|
1582
|
+
|
|
1583
|
+
self(): this
|
|
1584
|
+
|
|
1585
|
+
performSelector(aSelector: string): interop.Object
|
|
1586
|
+
|
|
1587
|
+
performSelectorWithObject(aSelector: string, object: interop.Object): interop.Object
|
|
1588
|
+
|
|
1589
|
+
performSelectorWithObjectWithObject(
|
|
1590
|
+
aSelector: string,
|
|
1591
|
+
object1: interop.Object,
|
|
1592
|
+
object2: interop.Object,
|
|
1593
|
+
): interop.Object
|
|
1594
|
+
|
|
1595
|
+
readonly isProxy: boolean
|
|
1596
|
+
|
|
1597
|
+
isKindOfClass(aClass: interop.PointerConvertible): boolean
|
|
1598
|
+
|
|
1599
|
+
isMemberOfClass(aClass: interop.PointerConvertible): boolean
|
|
1600
|
+
|
|
1601
|
+
conformsToProtocol(aProtocol: interop.PointerConvertible): boolean
|
|
1602
|
+
|
|
1603
|
+
respondsToSelector(aSelector: string): boolean
|
|
1604
|
+
|
|
1605
|
+
retain(): this
|
|
1606
|
+
|
|
1607
|
+
release(): void
|
|
1608
|
+
|
|
1609
|
+
autorelease(): this
|
|
1610
|
+
|
|
1611
|
+
retainCount(): number
|
|
1612
|
+
|
|
1613
|
+
readonly zone: interop.Pointer
|
|
1614
|
+
|
|
1615
|
+
readonly description: string
|
|
1616
|
+
|
|
1617
|
+
readonly debugDescription: string
|
|
1618
|
+
|
|
1619
|
+
renderingAlgorithm: interop.Enum<typeof AVAudio3DMixingRenderingAlgorithm>
|
|
1620
|
+
|
|
1621
|
+
sourceMode: interop.Enum<typeof AVAudio3DMixingSourceMode>
|
|
1622
|
+
|
|
1623
|
+
pointSourceInHeadMode: interop.Enum<typeof AVAudio3DMixingPointSourceInHeadMode>
|
|
1624
|
+
|
|
1625
|
+
rate: number
|
|
1626
|
+
|
|
1627
|
+
reverbBlend: number
|
|
1628
|
+
|
|
1629
|
+
obstruction: number
|
|
1630
|
+
|
|
1631
|
+
occlusion: number
|
|
1632
|
+
|
|
1633
|
+
position: AVAudio3DPoint
|
|
1634
|
+
}
|
|
1635
|
+
|
|
1636
|
+
declare class AVAudioEnvironmentReverbParameters extends NSObject {
|
|
1637
|
+
enable: boolean
|
|
1638
|
+
|
|
1639
|
+
level: number
|
|
1640
|
+
|
|
1641
|
+
readonly filterParameters: AVAudioUnitEQFilterParameters
|
|
1642
|
+
|
|
1643
|
+
loadFactoryReverbPreset(preset: interop.Enum<typeof AVAudioUnitReverbPreset>): void
|
|
1644
|
+
}
|
|
1645
|
+
|
|
1646
|
+
declare class AVAudioUnitReverb extends AVAudioUnitEffect {
|
|
1647
|
+
loadFactoryPreset(preset: interop.Enum<typeof AVAudioUnitReverbPreset>): void
|
|
1648
|
+
|
|
1649
|
+
wetDryMix: number
|
|
1650
|
+
}
|
|
1651
|
+
|
|
1652
|
+
declare class AVSpeechSynthesizer extends NSObject {
|
|
1653
|
+
delegate: AVSpeechSynthesizerDelegate
|
|
1654
|
+
|
|
1655
|
+
readonly speaking: boolean
|
|
1656
|
+
|
|
1657
|
+
readonly paused: boolean
|
|
1658
|
+
|
|
1659
|
+
speakUtterance(utterance: AVSpeechUtterance): void
|
|
1660
|
+
|
|
1661
|
+
writeUtteranceToBufferCallback(
|
|
1662
|
+
utterance: AVSpeechUtterance,
|
|
1663
|
+
bufferCallback: (p1: AVAudioBuffer) => void,
|
|
1664
|
+
): void
|
|
1665
|
+
|
|
1666
|
+
stopSpeakingAtBoundary(boundary: interop.Enum<typeof AVSpeechBoundary>): boolean
|
|
1667
|
+
|
|
1668
|
+
pauseSpeakingAtBoundary(boundary: interop.Enum<typeof AVSpeechBoundary>): boolean
|
|
1669
|
+
|
|
1670
|
+
continueSpeaking(): boolean
|
|
1671
|
+
|
|
1672
|
+
isSpeaking(): boolean
|
|
1673
|
+
|
|
1674
|
+
isPaused(): boolean
|
|
1675
|
+
}
|
|
1676
|
+
|
|
1677
|
+
declare class AVAudioRecorder extends NSObject {
|
|
1678
|
+
initWithURLSettingsError(
|
|
1679
|
+
url: NSURL,
|
|
1680
|
+
settings: NSDictionary<interop.Object, interop.Object> | Record<interop.Object, interop.Object>,
|
|
1681
|
+
outError: interop.PointerConvertible,
|
|
1682
|
+
): this
|
|
1683
|
+
|
|
1684
|
+
initWithURLFormatError(
|
|
1685
|
+
url: NSURL,
|
|
1686
|
+
format: AVAudioFormat,
|
|
1687
|
+
outError: interop.PointerConvertible,
|
|
1688
|
+
): this
|
|
1689
|
+
|
|
1690
|
+
prepareToRecord(): boolean
|
|
1691
|
+
|
|
1692
|
+
record(): boolean
|
|
1693
|
+
|
|
1694
|
+
recordAtTime(time: number): boolean
|
|
1695
|
+
|
|
1696
|
+
recordForDuration(duration: number): boolean
|
|
1697
|
+
|
|
1698
|
+
recordAtTimeForDuration(time: number, duration: number): boolean
|
|
1699
|
+
|
|
1700
|
+
pause(): void
|
|
1701
|
+
|
|
1702
|
+
stop(): void
|
|
1703
|
+
|
|
1704
|
+
deleteRecording(): boolean
|
|
1705
|
+
|
|
1706
|
+
readonly recording: boolean
|
|
1707
|
+
|
|
1708
|
+
readonly url: NSURL
|
|
1709
|
+
|
|
1710
|
+
readonly settings: NSDictionary
|
|
1711
|
+
|
|
1712
|
+
readonly format: AVAudioFormat
|
|
1713
|
+
|
|
1714
|
+
delegate: AVAudioRecorderDelegate
|
|
1715
|
+
|
|
1716
|
+
readonly currentTime: number
|
|
1717
|
+
|
|
1718
|
+
readonly deviceCurrentTime: number
|
|
1719
|
+
|
|
1720
|
+
meteringEnabled: boolean
|
|
1721
|
+
|
|
1722
|
+
updateMeters(): void
|
|
1723
|
+
|
|
1724
|
+
peakPowerForChannel(channelNumber: number): number
|
|
1725
|
+
|
|
1726
|
+
averagePowerForChannel(channelNumber: number): number
|
|
1727
|
+
|
|
1728
|
+
isRecording(): boolean
|
|
1729
|
+
|
|
1730
|
+
isMeteringEnabled(): boolean
|
|
1731
|
+
}
|
|
1732
|
+
|
|
1733
|
+
declare class AVAudioEnvironmentDistanceAttenuationParameters extends NSObject {
|
|
1734
|
+
distanceAttenuationModel: interop.Enum<typeof AVAudioEnvironmentDistanceAttenuationModel>
|
|
1735
|
+
|
|
1736
|
+
referenceDistance: number
|
|
1737
|
+
|
|
1738
|
+
maximumDistance: number
|
|
1739
|
+
|
|
1740
|
+
rolloffFactor: number
|
|
1741
|
+
}
|
|
1742
|
+
|
|
1743
|
+
declare class AVAudioUnitVarispeed extends AVAudioUnitTimeEffect {
|
|
1744
|
+
rate: number
|
|
1745
|
+
}
|
|
1746
|
+
|
|
1747
|
+
declare class AVAudioConnectionPoint extends NSObject {
|
|
1748
|
+
initWithNodeBus(node: AVAudioNode, bus: number): this
|
|
1749
|
+
|
|
1750
|
+
readonly node: AVAudioNode | null
|
|
1751
|
+
|
|
1752
|
+
readonly bus: number
|
|
1753
|
+
}
|
|
1754
|
+
|
|
1755
|
+
declare class AVAudioPlayerNode extends AVAudioNode implements AVAudioMixing {
|
|
1756
|
+
init(): this
|
|
1757
|
+
|
|
1758
|
+
scheduleBufferCompletionHandler(
|
|
1759
|
+
buffer: AVAudioPCMBuffer,
|
|
1760
|
+
completionHandler: () => void | null,
|
|
1761
|
+
): void
|
|
1762
|
+
|
|
1763
|
+
scheduleBufferCompletionCallbackTypeCompletionHandler(
|
|
1764
|
+
buffer: AVAudioPCMBuffer,
|
|
1765
|
+
callbackType: interop.Enum<typeof AVAudioPlayerNodeCompletionCallbackType>,
|
|
1766
|
+
completionHandler: (
|
|
1767
|
+
p1: interop.Enum<typeof AVAudioPlayerNodeCompletionCallbackType>,
|
|
1768
|
+
) => void | null,
|
|
1769
|
+
): void
|
|
1770
|
+
|
|
1771
|
+
scheduleBufferAtTimeOptionsCompletionHandler(
|
|
1772
|
+
buffer: AVAudioPCMBuffer,
|
|
1773
|
+
when: AVAudioTime | null,
|
|
1774
|
+
options: interop.Enum<typeof AVAudioPlayerNodeBufferOptions>,
|
|
1775
|
+
completionHandler: () => void | null,
|
|
1776
|
+
): void
|
|
1777
|
+
|
|
1778
|
+
scheduleBufferAtTimeOptionsCompletionCallbackTypeCompletionHandler(
|
|
1779
|
+
buffer: AVAudioPCMBuffer,
|
|
1780
|
+
when: AVAudioTime | null,
|
|
1781
|
+
options: interop.Enum<typeof AVAudioPlayerNodeBufferOptions>,
|
|
1782
|
+
callbackType: interop.Enum<typeof AVAudioPlayerNodeCompletionCallbackType>,
|
|
1783
|
+
completionHandler: (
|
|
1784
|
+
p1: interop.Enum<typeof AVAudioPlayerNodeCompletionCallbackType>,
|
|
1785
|
+
) => void | null,
|
|
1786
|
+
): void
|
|
1787
|
+
|
|
1788
|
+
scheduleFileAtTimeCompletionHandler(
|
|
1789
|
+
file: AVAudioFile,
|
|
1790
|
+
when: AVAudioTime | null,
|
|
1791
|
+
completionHandler: () => void | null,
|
|
1792
|
+
): void
|
|
1793
|
+
|
|
1794
|
+
scheduleFileAtTimeCompletionCallbackTypeCompletionHandler(
|
|
1795
|
+
file: AVAudioFile,
|
|
1796
|
+
when: AVAudioTime | null,
|
|
1797
|
+
callbackType: interop.Enum<typeof AVAudioPlayerNodeCompletionCallbackType>,
|
|
1798
|
+
completionHandler: (
|
|
1799
|
+
p1: interop.Enum<typeof AVAudioPlayerNodeCompletionCallbackType>,
|
|
1800
|
+
) => void | null,
|
|
1801
|
+
): void
|
|
1802
|
+
|
|
1803
|
+
scheduleSegmentStartingFrameFrameCountAtTimeCompletionHandler(
|
|
1804
|
+
file: AVAudioFile,
|
|
1805
|
+
startFrame: number,
|
|
1806
|
+
numberFrames: number,
|
|
1807
|
+
when: AVAudioTime | null,
|
|
1808
|
+
completionHandler: () => void | null,
|
|
1809
|
+
): void
|
|
1810
|
+
|
|
1811
|
+
scheduleSegmentStartingFrameFrameCountAtTimeCompletionCallbackTypeCompletionHandler(
|
|
1812
|
+
file: AVAudioFile,
|
|
1813
|
+
startFrame: number,
|
|
1814
|
+
numberFrames: number,
|
|
1815
|
+
when: AVAudioTime | null,
|
|
1816
|
+
callbackType: interop.Enum<typeof AVAudioPlayerNodeCompletionCallbackType>,
|
|
1817
|
+
completionHandler: (
|
|
1818
|
+
p1: interop.Enum<typeof AVAudioPlayerNodeCompletionCallbackType>,
|
|
1819
|
+
) => void | null,
|
|
1820
|
+
): void
|
|
1821
|
+
|
|
1822
|
+
stop(): void
|
|
1823
|
+
|
|
1824
|
+
prepareWithFrameCount(frameCount: number): void
|
|
1825
|
+
|
|
1826
|
+
play(): void
|
|
1827
|
+
|
|
1828
|
+
playAtTime(when: AVAudioTime | null): void
|
|
1829
|
+
|
|
1830
|
+
pause(): void
|
|
1831
|
+
|
|
1832
|
+
nodeTimeForPlayerTime(playerTime: AVAudioTime): AVAudioTime | null
|
|
1833
|
+
|
|
1834
|
+
playerTimeForNodeTime(nodeTime: AVAudioTime): AVAudioTime | null
|
|
1835
|
+
|
|
1836
|
+
readonly playing: boolean
|
|
1837
|
+
|
|
1838
|
+
isPlaying(): boolean
|
|
1839
|
+
|
|
1840
|
+
destinationForMixerBus(mixer: AVAudioNode, bus: number): AVAudioMixingDestination
|
|
1841
|
+
|
|
1842
|
+
volume: number
|
|
1843
|
+
|
|
1844
|
+
pan: number
|
|
1845
|
+
|
|
1846
|
+
isEqual(object: interop.Object): boolean
|
|
1847
|
+
|
|
1848
|
+
readonly hash: number
|
|
1849
|
+
|
|
1850
|
+
readonly superclass: interop.Pointer
|
|
1851
|
+
|
|
1852
|
+
class(): interop.Pointer
|
|
1853
|
+
|
|
1854
|
+
self(): this
|
|
1855
|
+
|
|
1856
|
+
performSelector(aSelector: string): interop.Object
|
|
1857
|
+
|
|
1858
|
+
performSelectorWithObject(aSelector: string, object: interop.Object): interop.Object
|
|
1859
|
+
|
|
1860
|
+
performSelectorWithObjectWithObject(
|
|
1861
|
+
aSelector: string,
|
|
1862
|
+
object1: interop.Object,
|
|
1863
|
+
object2: interop.Object,
|
|
1864
|
+
): interop.Object
|
|
1865
|
+
|
|
1866
|
+
readonly isProxy: boolean
|
|
1867
|
+
|
|
1868
|
+
isKindOfClass(aClass: interop.PointerConvertible): boolean
|
|
1869
|
+
|
|
1870
|
+
isMemberOfClass(aClass: interop.PointerConvertible): boolean
|
|
1871
|
+
|
|
1872
|
+
conformsToProtocol(aProtocol: interop.PointerConvertible): boolean
|
|
1873
|
+
|
|
1874
|
+
respondsToSelector(aSelector: string): boolean
|
|
1875
|
+
|
|
1876
|
+
retain(): this
|
|
1877
|
+
|
|
1878
|
+
release(): void
|
|
1879
|
+
|
|
1880
|
+
autorelease(): this
|
|
1881
|
+
|
|
1882
|
+
retainCount(): number
|
|
1883
|
+
|
|
1884
|
+
readonly zone: interop.Pointer
|
|
1885
|
+
|
|
1886
|
+
readonly description: string
|
|
1887
|
+
|
|
1888
|
+
readonly debugDescription: string
|
|
1889
|
+
|
|
1890
|
+
renderingAlgorithm: interop.Enum<typeof AVAudio3DMixingRenderingAlgorithm>
|
|
1891
|
+
|
|
1892
|
+
sourceMode: interop.Enum<typeof AVAudio3DMixingSourceMode>
|
|
1893
|
+
|
|
1894
|
+
pointSourceInHeadMode: interop.Enum<typeof AVAudio3DMixingPointSourceInHeadMode>
|
|
1895
|
+
|
|
1896
|
+
rate: number
|
|
1897
|
+
|
|
1898
|
+
reverbBlend: number
|
|
1899
|
+
|
|
1900
|
+
obstruction: number
|
|
1901
|
+
|
|
1902
|
+
occlusion: number
|
|
1903
|
+
|
|
1904
|
+
position: AVAudio3DPoint
|
|
1905
|
+
}
|
|
1906
|
+
|
|
1907
|
+
declare class AVAudioUnit extends AVAudioNode {
|
|
1908
|
+
static instantiateWithComponentDescriptionOptionsCompletionHandler(
|
|
1909
|
+
audioComponentDescription: AudioComponentDescription,
|
|
1910
|
+
options: interop.Enum<typeof AudioComponentInstantiationOptions>,
|
|
1911
|
+
completionHandler: (p1: AVAudioUnit, p2: NSError) => void | null,
|
|
1912
|
+
): void
|
|
1913
|
+
|
|
1914
|
+
loadAudioUnitPresetAtURLError(url: NSURL, outError: interop.PointerConvertible): boolean
|
|
1915
|
+
|
|
1916
|
+
readonly audioComponentDescription: AudioComponentDescription
|
|
1917
|
+
|
|
1918
|
+
readonly audioUnit: interop.Pointer
|
|
1919
|
+
|
|
1920
|
+
readonly AUAudioUnit: AUAudioUnit
|
|
1921
|
+
|
|
1922
|
+
readonly name: string
|
|
1923
|
+
|
|
1924
|
+
readonly manufacturerName: string
|
|
1925
|
+
|
|
1926
|
+
readonly version: number
|
|
1927
|
+
}
|
|
1928
|
+
|
|
1929
|
+
declare class AVAudioEngine extends NSObject {
|
|
1930
|
+
init(): this
|
|
1931
|
+
|
|
1932
|
+
attachNode(node: AVAudioNode): void
|
|
1933
|
+
|
|
1934
|
+
detachNode(node: AVAudioNode): void
|
|
1935
|
+
|
|
1936
|
+
connectToFromBusToBusFormat(
|
|
1937
|
+
node1: AVAudioNode,
|
|
1938
|
+
node2: AVAudioNode,
|
|
1939
|
+
bus1: number,
|
|
1940
|
+
bus2: number,
|
|
1941
|
+
format: AVAudioFormat | null,
|
|
1942
|
+
): void
|
|
1943
|
+
|
|
1944
|
+
connectToFormat(node1: AVAudioNode, node2: AVAudioNode, format: AVAudioFormat | null): void
|
|
1945
|
+
|
|
1946
|
+
connectToConnectionPointsFromBusFormat(
|
|
1947
|
+
sourceNode: AVAudioNode,
|
|
1948
|
+
destNodes: NSArray<interop.Object> | Array<interop.Object>,
|
|
1949
|
+
sourceBus: number,
|
|
1950
|
+
format: AVAudioFormat | null,
|
|
1951
|
+
): void
|
|
1952
|
+
|
|
1953
|
+
disconnectNodeInputBus(node: AVAudioNode, bus: number): void
|
|
1954
|
+
|
|
1955
|
+
disconnectNodeInput(node: AVAudioNode): void
|
|
1956
|
+
|
|
1957
|
+
disconnectNodeOutputBus(node: AVAudioNode, bus: number): void
|
|
1958
|
+
|
|
1959
|
+
disconnectNodeOutput(node: AVAudioNode): void
|
|
1960
|
+
|
|
1961
|
+
prepare(): void
|
|
1962
|
+
|
|
1963
|
+
startAndReturnError(outError: interop.PointerConvertible): boolean
|
|
1964
|
+
|
|
1965
|
+
pause(): void
|
|
1966
|
+
|
|
1967
|
+
reset(): void
|
|
1968
|
+
|
|
1969
|
+
stop(): void
|
|
1970
|
+
|
|
1971
|
+
inputConnectionPointForNodeInputBus(node: AVAudioNode, bus: number): AVAudioConnectionPoint | null
|
|
1972
|
+
|
|
1973
|
+
outputConnectionPointsForNodeOutputBus(node: AVAudioNode, bus: number): NSArray
|
|
1974
|
+
|
|
1975
|
+
get musicSequence(): interop.Pointer
|
|
1976
|
+
set musicSequence(value: interop.PointerConvertible)
|
|
1977
|
+
|
|
1978
|
+
readonly outputNode: AVAudioOutputNode
|
|
1979
|
+
|
|
1980
|
+
readonly inputNode: AVAudioInputNode
|
|
1981
|
+
|
|
1982
|
+
readonly mainMixerNode: AVAudioMixerNode
|
|
1983
|
+
|
|
1984
|
+
readonly running: boolean
|
|
1985
|
+
|
|
1986
|
+
autoShutdownEnabled: boolean
|
|
1987
|
+
|
|
1988
|
+
readonly attachedNodes: NSSet
|
|
1989
|
+
|
|
1990
|
+
enableManualRenderingModeFormatMaximumFrameCountError(
|
|
1991
|
+
mode: interop.Enum<typeof AVAudioEngineManualRenderingMode>,
|
|
1992
|
+
pcmFormat: AVAudioFormat,
|
|
1993
|
+
maximumFrameCount: number,
|
|
1994
|
+
outError: interop.PointerConvertible,
|
|
1995
|
+
): boolean
|
|
1996
|
+
|
|
1997
|
+
disableManualRenderingMode(): void
|
|
1998
|
+
|
|
1999
|
+
renderOfflineToBufferError(
|
|
2000
|
+
numberOfFrames: number,
|
|
2001
|
+
buffer: AVAudioPCMBuffer,
|
|
2002
|
+
outError: interop.PointerConvertible,
|
|
2003
|
+
): interop.Enum<typeof AVAudioEngineManualRenderingStatus>
|
|
2004
|
+
|
|
2005
|
+
readonly manualRenderingBlock: (
|
|
2006
|
+
p1: number,
|
|
2007
|
+
p2: interop.PointerConvertible,
|
|
2008
|
+
p3: interop.PointerConvertible,
|
|
2009
|
+
) => interop.Enum<typeof AVAudioEngineManualRenderingStatus>
|
|
2010
|
+
|
|
2011
|
+
readonly isInManualRenderingMode: boolean
|
|
2012
|
+
|
|
2013
|
+
readonly manualRenderingMode: interop.Enum<typeof AVAudioEngineManualRenderingMode>
|
|
2014
|
+
|
|
2015
|
+
readonly manualRenderingFormat: AVAudioFormat
|
|
2016
|
+
|
|
2017
|
+
readonly manualRenderingMaximumFrameCount: number
|
|
2018
|
+
|
|
2019
|
+
readonly manualRenderingSampleTime: number
|
|
2020
|
+
|
|
2021
|
+
connectMIDIToFormatBlock(
|
|
2022
|
+
sourceNode: AVAudioNode,
|
|
2023
|
+
destinationNode: AVAudioNode,
|
|
2024
|
+
format: AVAudioFormat | null,
|
|
2025
|
+
tapBlock: (p1: number, p2: number, p3: number, p4: interop.PointerConvertible) => number | null,
|
|
2026
|
+
): void
|
|
2027
|
+
|
|
2028
|
+
connectMIDIToNodesFormatBlock(
|
|
2029
|
+
sourceNode: AVAudioNode,
|
|
2030
|
+
destinationNodes: NSArray<interop.Object> | Array<interop.Object>,
|
|
2031
|
+
format: AVAudioFormat | null,
|
|
2032
|
+
tapBlock: (p1: number, p2: number, p3: number, p4: interop.PointerConvertible) => number | null,
|
|
2033
|
+
): void
|
|
2034
|
+
|
|
2035
|
+
disconnectMIDIFrom(sourceNode: AVAudioNode, destinationNode: AVAudioNode): void
|
|
2036
|
+
|
|
2037
|
+
disconnectMIDIFromNodes(
|
|
2038
|
+
sourceNode: AVAudioNode,
|
|
2039
|
+
destinationNodes: NSArray<interop.Object> | Array<interop.Object>,
|
|
2040
|
+
): void
|
|
2041
|
+
|
|
2042
|
+
disconnectMIDIInput(node: AVAudioNode): void
|
|
2043
|
+
|
|
2044
|
+
disconnectMIDIOutput(node: AVAudioNode): void
|
|
2045
|
+
|
|
2046
|
+
isRunning(): boolean
|
|
2047
|
+
|
|
2048
|
+
isAutoShutdownEnabled(): boolean
|
|
2049
|
+
}
|
|
2050
|
+
|
|
2051
|
+
declare class AVAudioIONode extends AVAudioNode {
|
|
2052
|
+
readonly presentationLatency: number
|
|
2053
|
+
|
|
2054
|
+
readonly audioUnit: interop.Pointer
|
|
2055
|
+
|
|
2056
|
+
readonly voiceProcessingEnabled: boolean
|
|
2057
|
+
|
|
2058
|
+
setVoiceProcessingEnabledError(enabled: boolean, outError: interop.PointerConvertible): boolean
|
|
2059
|
+
|
|
2060
|
+
isVoiceProcessingEnabled(): boolean
|
|
2061
|
+
}
|
|
2062
|
+
|
|
2063
|
+
declare class AVAudioSourceNode extends AVAudioNode implements AVAudioMixing {
|
|
2064
|
+
initWithRenderBlock(
|
|
2065
|
+
block: (
|
|
2066
|
+
p1: interop.PointerConvertible,
|
|
2067
|
+
p2: interop.PointerConvertible,
|
|
2068
|
+
p3: number,
|
|
2069
|
+
p4: interop.PointerConvertible,
|
|
2070
|
+
) => number,
|
|
2071
|
+
): this
|
|
2072
|
+
|
|
2073
|
+
initWithFormatRenderBlock(
|
|
2074
|
+
format: AVAudioFormat,
|
|
2075
|
+
block: (
|
|
2076
|
+
p1: interop.PointerConvertible,
|
|
2077
|
+
p2: interop.PointerConvertible,
|
|
2078
|
+
p3: number,
|
|
2079
|
+
p4: interop.PointerConvertible,
|
|
2080
|
+
) => number,
|
|
2081
|
+
): this
|
|
2082
|
+
|
|
2083
|
+
destinationForMixerBus(mixer: AVAudioNode, bus: number): AVAudioMixingDestination
|
|
2084
|
+
|
|
2085
|
+
volume: number
|
|
2086
|
+
|
|
2087
|
+
pan: number
|
|
2088
|
+
|
|
2089
|
+
isEqual(object: interop.Object): boolean
|
|
2090
|
+
|
|
2091
|
+
readonly hash: number
|
|
2092
|
+
|
|
2093
|
+
readonly superclass: interop.Pointer
|
|
2094
|
+
|
|
2095
|
+
class(): interop.Pointer
|
|
2096
|
+
|
|
2097
|
+
self(): this
|
|
2098
|
+
|
|
2099
|
+
performSelector(aSelector: string): interop.Object
|
|
2100
|
+
|
|
2101
|
+
performSelectorWithObject(aSelector: string, object: interop.Object): interop.Object
|
|
2102
|
+
|
|
2103
|
+
performSelectorWithObjectWithObject(
|
|
2104
|
+
aSelector: string,
|
|
2105
|
+
object1: interop.Object,
|
|
2106
|
+
object2: interop.Object,
|
|
2107
|
+
): interop.Object
|
|
2108
|
+
|
|
2109
|
+
readonly isProxy: boolean
|
|
2110
|
+
|
|
2111
|
+
isKindOfClass(aClass: interop.PointerConvertible): boolean
|
|
2112
|
+
|
|
2113
|
+
isMemberOfClass(aClass: interop.PointerConvertible): boolean
|
|
2114
|
+
|
|
2115
|
+
conformsToProtocol(aProtocol: interop.PointerConvertible): boolean
|
|
2116
|
+
|
|
2117
|
+
respondsToSelector(aSelector: string): boolean
|
|
2118
|
+
|
|
2119
|
+
retain(): this
|
|
2120
|
+
|
|
2121
|
+
release(): void
|
|
2122
|
+
|
|
2123
|
+
autorelease(): this
|
|
2124
|
+
|
|
2125
|
+
retainCount(): number
|
|
2126
|
+
|
|
2127
|
+
readonly zone: interop.Pointer
|
|
2128
|
+
|
|
2129
|
+
readonly description: string
|
|
2130
|
+
|
|
2131
|
+
readonly debugDescription: string
|
|
2132
|
+
|
|
2133
|
+
renderingAlgorithm: interop.Enum<typeof AVAudio3DMixingRenderingAlgorithm>
|
|
2134
|
+
|
|
2135
|
+
sourceMode: interop.Enum<typeof AVAudio3DMixingSourceMode>
|
|
2136
|
+
|
|
2137
|
+
pointSourceInHeadMode: interop.Enum<typeof AVAudio3DMixingPointSourceInHeadMode>
|
|
2138
|
+
|
|
2139
|
+
rate: number
|
|
2140
|
+
|
|
2141
|
+
reverbBlend: number
|
|
2142
|
+
|
|
2143
|
+
obstruction: number
|
|
2144
|
+
|
|
2145
|
+
occlusion: number
|
|
2146
|
+
|
|
2147
|
+
position: AVAudio3DPoint
|
|
2148
|
+
}
|
|
2149
|
+
|
|
2150
|
+
declare class AVAudioUnitDelay extends AVAudioUnitEffect {
|
|
2151
|
+
delayTime: number
|
|
2152
|
+
|
|
2153
|
+
feedback: number
|
|
2154
|
+
|
|
2155
|
+
lowPassCutoff: number
|
|
2156
|
+
|
|
2157
|
+
wetDryMix: number
|
|
2158
|
+
}
|
|
2159
|
+
|
|
2160
|
+
declare class AVSpeechSynthesisVoice extends NSObject implements NSSecureCoding {
|
|
2161
|
+
static speechVoices(): NSArray
|
|
2162
|
+
|
|
2163
|
+
static currentLanguageCode(): string
|
|
2164
|
+
|
|
2165
|
+
static voiceWithLanguage(languageCode: string | null): AVSpeechSynthesisVoice
|
|
2166
|
+
|
|
2167
|
+
static voiceWithIdentifier(identifier: string): AVSpeechSynthesisVoice
|
|
2168
|
+
|
|
2169
|
+
readonly language: string
|
|
2170
|
+
|
|
2171
|
+
readonly identifier: string
|
|
2172
|
+
|
|
2173
|
+
readonly name: string
|
|
2174
|
+
|
|
2175
|
+
readonly quality: interop.Enum<typeof AVSpeechSynthesisVoiceQuality>
|
|
2176
|
+
|
|
2177
|
+
readonly gender: interop.Enum<typeof AVSpeechSynthesisVoiceGender>
|
|
2178
|
+
|
|
2179
|
+
readonly audioFileSettings: NSDictionary
|
|
2180
|
+
|
|
2181
|
+
static readonly supportsSecureCoding: boolean
|
|
2182
|
+
|
|
2183
|
+
encodeWithCoder(coder: NSCoder): void
|
|
2184
|
+
|
|
2185
|
+
initWithCoder(coder: NSCoder): this
|
|
2186
|
+
}
|
|
2187
|
+
|
|
2188
|
+
declare class AVAudioPCMBuffer extends AVAudioBuffer {
|
|
2189
|
+
initWithPCMFormatFrameCapacity(format: AVAudioFormat, frameCapacity: number): this
|
|
2190
|
+
|
|
2191
|
+
readonly frameCapacity: number
|
|
2192
|
+
|
|
2193
|
+
frameLength: number
|
|
2194
|
+
|
|
2195
|
+
readonly stride: number
|
|
2196
|
+
|
|
2197
|
+
readonly floatChannelData: interop.Pointer
|
|
2198
|
+
|
|
2199
|
+
readonly int16ChannelData: interop.Pointer
|
|
2200
|
+
|
|
2201
|
+
readonly int32ChannelData: interop.Pointer
|
|
2202
|
+
}
|
|
2203
|
+
|
|
2204
|
+
declare class AVAudioRoutingArbiter extends NSObject {
|
|
2205
|
+
static readonly sharedRoutingArbiter: AVAudioRoutingArbiter
|
|
2206
|
+
|
|
2207
|
+
beginArbitrationWithCategoryCompletionHandler(
|
|
2208
|
+
category: interop.Enum<typeof AVAudioRoutingArbitrationCategory>,
|
|
2209
|
+
handler: (p1: boolean, p2: NSError) => void | null,
|
|
2210
|
+
): void
|
|
2211
|
+
|
|
2212
|
+
leaveArbitration(): void
|
|
2213
|
+
}
|
|
2214
|
+
|
|
2215
|
+
declare class AVAudioUnitEQ extends AVAudioUnitEffect {
|
|
2216
|
+
initWithNumberOfBands(numberOfBands: number): this
|
|
2217
|
+
|
|
2218
|
+
readonly bands: NSArray
|
|
2219
|
+
|
|
2220
|
+
globalGain: number
|
|
2221
|
+
}
|
|
2222
|
+
|
|
2223
|
+
declare class AVAudioNode extends NSObject {
|
|
2224
|
+
reset(): void
|
|
2225
|
+
|
|
2226
|
+
inputFormatForBus(bus: number): AVAudioFormat
|
|
2227
|
+
|
|
2228
|
+
outputFormatForBus(bus: number): AVAudioFormat
|
|
2229
|
+
|
|
2230
|
+
nameForInputBus(bus: number): string
|
|
2231
|
+
|
|
2232
|
+
nameForOutputBus(bus: number): string
|
|
2233
|
+
|
|
2234
|
+
installTapOnBusBufferSizeFormatBlock(
|
|
2235
|
+
bus: number,
|
|
2236
|
+
bufferSize: number,
|
|
2237
|
+
format: AVAudioFormat | null,
|
|
2238
|
+
tapBlock: (p1: AVAudioPCMBuffer, p2: AVAudioTime) => void,
|
|
2239
|
+
): void
|
|
2240
|
+
|
|
2241
|
+
removeTapOnBus(bus: number): void
|
|
2242
|
+
|
|
2243
|
+
readonly engine: AVAudioEngine
|
|
2244
|
+
|
|
2245
|
+
readonly numberOfInputs: number
|
|
2246
|
+
|
|
2247
|
+
readonly numberOfOutputs: number
|
|
2248
|
+
|
|
2249
|
+
readonly lastRenderTime: AVAudioTime
|
|
2250
|
+
|
|
2251
|
+
readonly AUAudioUnit: AUAudioUnit
|
|
2252
|
+
|
|
2253
|
+
readonly latency: number
|
|
2254
|
+
|
|
2255
|
+
readonly outputPresentationLatency: number
|
|
2256
|
+
}
|
|
2257
|
+
|
|
2258
|
+
declare class AVAudioUnitEffect extends AVAudioUnit {
|
|
2259
|
+
initWithAudioComponentDescription(audioComponentDescription: AudioComponentDescription): this
|
|
2260
|
+
|
|
2261
|
+
bypass: boolean
|
|
2262
|
+
}
|
|
2263
|
+
|
|
2264
|
+
declare class AVAudioUnitEQFilterParameters extends NSObject {
|
|
2265
|
+
filterType: interop.Enum<typeof AVAudioUnitEQFilterType>
|
|
2266
|
+
|
|
2267
|
+
frequency: number
|
|
2268
|
+
|
|
2269
|
+
bandwidth: number
|
|
2270
|
+
|
|
2271
|
+
gain: number
|
|
2272
|
+
|
|
2273
|
+
bypass: boolean
|
|
2274
|
+
}
|
|
2275
|
+
|
|
2276
|
+
declare class AVMIDIPlayer extends NSObject {
|
|
2277
|
+
initWithContentsOfURLSoundBankURLError(
|
|
2278
|
+
inURL: NSURL,
|
|
2279
|
+
bankURL: NSURL | null,
|
|
2280
|
+
outError: interop.PointerConvertible,
|
|
2281
|
+
): this
|
|
2282
|
+
|
|
2283
|
+
initWithDataSoundBankURLError(
|
|
2284
|
+
data: NSData,
|
|
2285
|
+
bankURL: NSURL | null,
|
|
2286
|
+
outError: interop.PointerConvertible,
|
|
2287
|
+
): this
|
|
2288
|
+
|
|
2289
|
+
prepareToPlay(): void
|
|
2290
|
+
|
|
2291
|
+
play(completionHandler: () => void | null): void
|
|
2292
|
+
|
|
2293
|
+
stop(): void
|
|
2294
|
+
|
|
2295
|
+
readonly duration: number
|
|
2296
|
+
|
|
2297
|
+
readonly playing: boolean
|
|
2298
|
+
|
|
2299
|
+
rate: number
|
|
2300
|
+
|
|
2301
|
+
currentPosition: number
|
|
2302
|
+
|
|
2303
|
+
isPlaying(): boolean
|
|
2304
|
+
}
|