objcjs-types 0.2.1 → 0.3.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/bin/objcjs-types.ts +31 -0
- package/dist/AVFoundation/functions.d.ts +21 -0
- package/dist/AVFoundation/functions.js +32 -0
- package/dist/AVFoundation/index.d.ts +1 -0
- package/dist/AVFoundation/index.js +1 -0
- package/dist/Accessibility/functions.d.ts +16 -0
- package/dist/Accessibility/functions.js +35 -0
- package/dist/Accessibility/index.d.ts +1 -0
- package/dist/Accessibility/index.js +1 -0
- package/dist/AddressBook/functions.d.ts +98 -0
- package/dist/AddressBook/functions.js +290 -0
- package/dist/AddressBook/index.d.ts +1 -0
- package/dist/AddressBook/index.js +1 -0
- package/dist/AppKit/functions.d.ts +112 -0
- package/dist/AppKit/functions.js +272 -0
- package/dist/AppKit/index.d.ts +1 -0
- package/dist/AppKit/index.js +1 -0
- package/dist/AudioToolbox/functions.d.ts +377 -0
- package/dist/AudioToolbox/functions.js +1124 -0
- package/dist/AudioToolbox/index.d.ts +1 -0
- package/dist/AudioToolbox/index.js +1 -0
- package/dist/AuthenticationServices/functions.d.ts +2 -0
- package/dist/AuthenticationServices/functions.js +5 -0
- package/dist/AuthenticationServices/index.d.ts +1 -0
- package/dist/AuthenticationServices/index.js +1 -0
- package/dist/BrowserEngineCore/functions.d.ts +3 -0
- package/dist/BrowserEngineCore/functions.js +11 -0
- package/dist/BrowserEngineCore/index.d.ts +1 -0
- package/dist/BrowserEngineCore/index.js +1 -0
- package/dist/CoreAudio/functions.d.ts +60 -0
- package/dist/CoreAudio/functions.js +173 -0
- package/dist/CoreAudio/index.d.ts +1 -0
- package/dist/CoreAudio/index.js +1 -0
- package/dist/CoreMIDI/functions.d.ts +96 -0
- package/dist/CoreMIDI/functions.js +287 -0
- package/dist/CoreMIDI/index.d.ts +1 -0
- package/dist/CoreMIDI/index.js +1 -0
- package/dist/CoreML/functions.d.ts +2 -0
- package/dist/CoreML/functions.js +5 -0
- package/dist/CoreML/index.d.ts +1 -0
- package/dist/CoreML/index.js +1 -0
- package/dist/CoreMediaIO/functions.d.ts +38 -0
- package/dist/CoreMediaIO/functions.js +107 -0
- package/dist/CoreMediaIO/index.d.ts +1 -0
- package/dist/CoreMediaIO/index.js +1 -0
- package/dist/CoreText/functions.d.ts +209 -0
- package/dist/CoreText/functions.js +611 -0
- package/dist/CoreText/index.d.ts +1 -0
- package/dist/CoreText/index.js +1 -0
- package/dist/CoreWLAN/functions.d.ts +23 -0
- package/dist/CoreWLAN/functions.js +56 -0
- package/dist/CoreWLAN/index.d.ts +1 -0
- package/dist/CoreWLAN/index.js +1 -0
- package/dist/DeviceDiscoveryExtension/functions.d.ts +11 -0
- package/dist/DeviceDiscoveryExtension/functions.js +17 -0
- package/dist/DeviceDiscoveryExtension/index.d.ts +1 -0
- package/dist/DeviceDiscoveryExtension/index.js +1 -0
- package/dist/DiscRecording/functions.d.ts +97 -0
- package/dist/DiscRecording/functions.js +290 -0
- package/dist/DiscRecording/index.d.ts +1 -0
- package/dist/DiscRecording/index.js +1 -0
- package/dist/DiscRecordingUI/functions.d.ts +13 -0
- package/dist/DiscRecordingUI/functions.js +38 -0
- package/dist/DiscRecordingUI/index.d.ts +1 -0
- package/dist/DiscRecordingUI/index.js +1 -0
- package/dist/ExceptionHandling/functions.d.ts +1 -0
- package/dist/ExceptionHandling/functions.js +5 -0
- package/dist/ExceptionHandling/index.d.ts +1 -0
- package/dist/ExceptionHandling/index.js +1 -0
- package/dist/FSKit/functions.d.ts +4 -0
- package/dist/FSKit/functions.js +11 -0
- package/dist/FSKit/index.d.ts +1 -0
- package/dist/FSKit/index.js +1 -0
- package/dist/Foundation/functions.d.ts +145 -0
- package/dist/Foundation/functions.js +386 -0
- package/dist/Foundation/index.d.ts +1 -0
- package/dist/Foundation/index.js +1 -0
- package/dist/GLKit/functions.d.ts +51 -0
- package/dist/GLKit/functions.js +146 -0
- package/dist/GLKit/index.d.ts +1 -0
- package/dist/GLKit/index.js +1 -0
- package/dist/GameController/functions.d.ts +18 -0
- package/dist/GameController/functions.js +44 -0
- package/dist/GameController/index.d.ts +1 -0
- package/dist/GameController/index.js +1 -0
- package/dist/HealthKit/functions.d.ts +19 -0
- package/dist/HealthKit/functions.js +35 -0
- package/dist/HealthKit/index.d.ts +1 -0
- package/dist/HealthKit/index.js +1 -0
- package/dist/IOSurface/functions.d.ts +53 -0
- package/dist/IOSurface/functions.js +155 -0
- package/dist/IOSurface/index.d.ts +1 -0
- package/dist/IOSurface/index.js +1 -0
- package/dist/IOUSBHost/functions.d.ts +44 -0
- package/dist/IOUSBHost/functions.js +131 -0
- package/dist/IOUSBHost/index.d.ts +1 -0
- package/dist/IOUSBHost/index.js +1 -0
- package/dist/InstantMessage/functions.d.ts +1 -0
- package/dist/InstantMessage/functions.js +5 -0
- package/dist/InstantMessage/index.d.ts +1 -0
- package/dist/InstantMessage/index.js +1 -0
- package/dist/JavaRuntimeSupport/functions.d.ts +40 -0
- package/dist/JavaRuntimeSupport/functions.js +113 -0
- package/dist/JavaRuntimeSupport/index.d.ts +1 -0
- package/dist/JavaRuntimeSupport/index.js +1 -0
- package/dist/JavaScriptCore/functions.d.ts +120 -0
- package/dist/JavaScriptCore/functions.js +359 -0
- package/dist/JavaScriptCore/index.d.ts +1 -0
- package/dist/JavaScriptCore/index.js +1 -0
- package/dist/MLCompute/functions.d.ts +27 -0
- package/dist/MLCompute/functions.js +41 -0
- package/dist/MLCompute/index.d.ts +1 -0
- package/dist/MLCompute/index.js +1 -0
- package/dist/MapKit/functions.d.ts +23 -0
- package/dist/MapKit/functions.js +56 -0
- package/dist/MapKit/index.d.ts +1 -0
- package/dist/MapKit/index.js +1 -0
- package/dist/Matter/functions.d.ts +17 -0
- package/dist/Matter/functions.js +26 -0
- package/dist/Matter/index.d.ts +1 -0
- package/dist/Matter/index.js +1 -0
- package/dist/MediaAccessibility/functions.d.ts +28 -0
- package/dist/MediaAccessibility/functions.js +83 -0
- package/dist/MediaAccessibility/index.d.ts +1 -0
- package/dist/MediaAccessibility/index.js +1 -0
- package/dist/MediaPlayer/functions.d.ts +3 -0
- package/dist/MediaPlayer/functions.js +11 -0
- package/dist/MediaPlayer/index.d.ts +1 -0
- package/dist/MediaPlayer/index.js +1 -0
- package/dist/Metal/functions.d.ts +14 -0
- package/dist/Metal/functions.js +26 -0
- package/dist/Metal/index.d.ts +1 -0
- package/dist/Metal/index.js +1 -0
- package/dist/MetalKit/functions.d.ts +11 -0
- package/dist/MetalKit/functions.js +20 -0
- package/dist/MetalKit/index.d.ts +1 -0
- package/dist/MetalKit/index.js +1 -0
- package/dist/MetalPerformanceShaders/functions.d.ts +7 -0
- package/dist/MetalPerformanceShaders/functions.js +14 -0
- package/dist/MetalPerformanceShaders/index.d.ts +1 -0
- package/dist/MetalPerformanceShaders/index.js +1 -0
- package/dist/NearbyInteraction/functions.d.ts +3 -0
- package/dist/NearbyInteraction/functions.js +5 -0
- package/dist/NearbyInteraction/index.d.ts +1 -0
- package/dist/NearbyInteraction/index.js +1 -0
- package/dist/ParavirtualizedGraphics/functions.d.ts +7 -0
- package/dist/ParavirtualizedGraphics/functions.js +14 -0
- package/dist/ParavirtualizedGraphics/index.d.ts +1 -0
- package/dist/ParavirtualizedGraphics/index.js +1 -0
- package/dist/QuartzCore/functions.d.ts +19 -0
- package/dist/QuartzCore/functions.js +50 -0
- package/dist/QuartzCore/index.d.ts +1 -0
- package/dist/QuartzCore/index.js +1 -0
- package/dist/SceneKit/functions.d.ts +17 -0
- package/dist/SceneKit/functions.js +38 -0
- package/dist/SceneKit/index.d.ts +1 -0
- package/dist/SceneKit/index.js +1 -0
- package/dist/SensorKit/functions.d.ts +4 -0
- package/dist/SensorKit/functions.js +14 -0
- package/dist/SensorKit/index.d.ts +1 -0
- package/dist/SensorKit/index.js +1 -0
- package/dist/ServiceManagement/functions.d.ts +7 -0
- package/dist/ServiceManagement/functions.js +20 -0
- package/dist/ServiceManagement/index.d.ts +1 -0
- package/dist/ServiceManagement/index.js +1 -0
- package/dist/StoreKit/functions.d.ts +1 -0
- package/dist/StoreKit/functions.js +5 -0
- package/dist/StoreKit/index.d.ts +1 -0
- package/dist/StoreKit/index.js +1 -0
- package/dist/VideoToolbox/functions.d.ts +81 -0
- package/dist/VideoToolbox/functions.js +236 -0
- package/dist/VideoToolbox/index.d.ts +1 -0
- package/dist/VideoToolbox/index.js +1 -0
- package/dist/Vision/functions.d.ts +16 -0
- package/dist/Vision/functions.js +38 -0
- package/dist/Vision/index.d.ts +1 -0
- package/dist/Vision/index.js +1 -0
- package/generator/ast-parser.ts +1368 -0
- package/generator/clang.ts +167 -0
- package/generator/custom.ts +936 -0
- package/generator/discover.ts +111 -0
- package/generator/emitter.ts +2026 -0
- package/generator/frameworks.ts +135 -0
- package/generator/index.ts +1334 -0
- package/generator/parse-worker.ts +263 -0
- package/generator/resolve-strings.ts +121 -0
- package/generator/struct-fields.ts +46 -0
- package/generator/templates/bind.ts +100 -0
- package/generator/templates/helpers.ts +70 -0
- package/generator/templates/nsdata.ts +97 -0
- package/generator/templates/osversion.ts +91 -0
- package/generator/type-mapper.ts +615 -0
- package/generator/worker-pool.ts +309 -0
- package/package.json +13 -4
|
@@ -0,0 +1,287 @@
|
|
|
1
|
+
// AUTO-GENERATED by objcjs-types generator — DO NOT EDIT
|
|
2
|
+
import { callFunction } from "objc-js";
|
|
3
|
+
export function MIDIBluetoothDriverActivateAllConnections() {
|
|
4
|
+
return callFunction("MIDIBluetoothDriverActivateAllConnections", { returns: "i" });
|
|
5
|
+
}
|
|
6
|
+
export function MIDIBluetoothDriverDisconnect(uuid) {
|
|
7
|
+
return callFunction("MIDIBluetoothDriverDisconnect", { returns: "i", args: ["^"] }, uuid);
|
|
8
|
+
}
|
|
9
|
+
export function MIDIClientCreate(name, notifyProc, notifyRefCon, outClient) {
|
|
10
|
+
return callFunction("MIDIClientCreate", { returns: "i", args: ["^", "@", "^v", "@"] }, name, notifyProc, notifyRefCon, outClient);
|
|
11
|
+
}
|
|
12
|
+
export function MIDIClientCreateWithBlock(name, outClient, notifyBlock) {
|
|
13
|
+
return callFunction("MIDIClientCreateWithBlock", { returns: "i", args: ["^", "@", "@"] }, name, outClient, notifyBlock);
|
|
14
|
+
}
|
|
15
|
+
export function MIDIClientDispose(client) {
|
|
16
|
+
return callFunction("MIDIClientDispose", { returns: "i", args: ["I"] }, client);
|
|
17
|
+
}
|
|
18
|
+
export function MIDIDestinationCreate(client, name, readProc, refCon, outDest) {
|
|
19
|
+
return callFunction("MIDIDestinationCreate", { returns: "i", args: ["I", "^", "@", "^v", "@"] }, client, name, readProc, refCon, outDest);
|
|
20
|
+
}
|
|
21
|
+
export function MIDIDestinationCreateWithBlock(client, name, outDest, readBlock) {
|
|
22
|
+
return callFunction("MIDIDestinationCreateWithBlock", { returns: "i", args: ["I", "^", "@", "@"] }, client, name, outDest, readBlock);
|
|
23
|
+
}
|
|
24
|
+
export function MIDIDestinationCreateWithProtocol(client, name, protocol, outDest, readBlock) {
|
|
25
|
+
return callFunction("MIDIDestinationCreateWithProtocol", { returns: "i", args: ["I", "^", "@", "@", "@"] }, client, name, protocol, outDest, readBlock);
|
|
26
|
+
}
|
|
27
|
+
export function MIDIDeviceAddEntity(device, name, embedded, numSourceEndpoints, numDestinationEndpoints, newEntity) {
|
|
28
|
+
return callFunction("MIDIDeviceAddEntity", { returns: "i", args: ["I", "^", "C", "L", "L", "@"] }, device, name, embedded, numSourceEndpoints, numDestinationEndpoints, newEntity);
|
|
29
|
+
}
|
|
30
|
+
export function MIDIDeviceCreate(owner, name, manufacturer, model, outDevice) {
|
|
31
|
+
return callFunction("MIDIDeviceCreate", { returns: "i", args: ["@", "^", "^", "^", "@"] }, owner, name, manufacturer, model, outDevice);
|
|
32
|
+
}
|
|
33
|
+
export function MIDIDeviceDispose(device) {
|
|
34
|
+
return callFunction("MIDIDeviceDispose", { returns: "i", args: ["I"] }, device);
|
|
35
|
+
}
|
|
36
|
+
export function MIDIDeviceGetEntity(device, entityIndex0) {
|
|
37
|
+
return callFunction("MIDIDeviceGetEntity", { returns: "I", args: ["I", "L"] }, device, entityIndex0);
|
|
38
|
+
}
|
|
39
|
+
export function MIDIDeviceGetNumberOfEntities(device) {
|
|
40
|
+
return callFunction("MIDIDeviceGetNumberOfEntities", { returns: "L", args: ["I"] }, device);
|
|
41
|
+
}
|
|
42
|
+
export function MIDIDeviceListAddDevice(devList, dev) {
|
|
43
|
+
return callFunction("MIDIDeviceListAddDevice", { returns: "i", args: ["I", "I"] }, devList, dev);
|
|
44
|
+
}
|
|
45
|
+
export function MIDIDeviceListDispose(devList) {
|
|
46
|
+
return callFunction("MIDIDeviceListDispose", { returns: "i", args: ["I"] }, devList);
|
|
47
|
+
}
|
|
48
|
+
export function MIDIDeviceListGetDevice(devList, index0) {
|
|
49
|
+
return callFunction("MIDIDeviceListGetDevice", { returns: "I", args: ["I", "L"] }, devList, index0);
|
|
50
|
+
}
|
|
51
|
+
export function MIDIDeviceListGetNumberOfDevices(devList) {
|
|
52
|
+
return callFunction("MIDIDeviceListGetNumberOfDevices", { returns: "L", args: ["I"] }, devList);
|
|
53
|
+
}
|
|
54
|
+
export function MIDIDeviceNewEntity(device, name, protocol, embedded, numSourceEndpoints, numDestinationEndpoints, newEntity) {
|
|
55
|
+
return callFunction("MIDIDeviceNewEntity", { returns: "i", args: ["I", "^", "@", "C", "L", "L", "@"] }, device, name, protocol, embedded, numSourceEndpoints, numDestinationEndpoints, newEntity);
|
|
56
|
+
}
|
|
57
|
+
export function MIDIDeviceRemoveEntity(device, entity) {
|
|
58
|
+
return callFunction("MIDIDeviceRemoveEntity", { returns: "i", args: ["I", "I"] }, device, entity);
|
|
59
|
+
}
|
|
60
|
+
export function MIDIDriverEnableMonitoring(driver, enabled) {
|
|
61
|
+
return callFunction("MIDIDriverEnableMonitoring", { returns: "i", args: ["@", "C"] }, driver, enabled);
|
|
62
|
+
}
|
|
63
|
+
export function MIDIEndpointDispose(endpt) {
|
|
64
|
+
return callFunction("MIDIEndpointDispose", { returns: "i", args: ["I"] }, endpt);
|
|
65
|
+
}
|
|
66
|
+
export function MIDIEndpointGetEntity(inEndpoint, outEntity) {
|
|
67
|
+
return callFunction("MIDIEndpointGetEntity", { returns: "i", args: ["I", "@"] }, inEndpoint, outEntity);
|
|
68
|
+
}
|
|
69
|
+
export function MIDIEndpointGetRefCons(endpt, ref1, ref2) {
|
|
70
|
+
return callFunction("MIDIEndpointGetRefCons", { returns: "i", args: ["I", "@", "@"] }, endpt, ref1, ref2);
|
|
71
|
+
}
|
|
72
|
+
export function MIDIEndpointSetRefCons(endpt, ref1, ref2) {
|
|
73
|
+
return callFunction("MIDIEndpointSetRefCons", { returns: "i", args: ["I", "^v", "^v"] }, endpt, ref1, ref2);
|
|
74
|
+
}
|
|
75
|
+
export function MIDIEntityAddOrRemoveEndpoints(entity, numSourceEndpoints, numDestinationEndpoints) {
|
|
76
|
+
return callFunction("MIDIEntityAddOrRemoveEndpoints", { returns: "i", args: ["I", "L", "L"] }, entity, numSourceEndpoints, numDestinationEndpoints);
|
|
77
|
+
}
|
|
78
|
+
export function MIDIEntityGetDestination(entity, destIndex0) {
|
|
79
|
+
return callFunction("MIDIEntityGetDestination", { returns: "I", args: ["I", "L"] }, entity, destIndex0);
|
|
80
|
+
}
|
|
81
|
+
export function MIDIEntityGetDevice(inEntity, outDevice) {
|
|
82
|
+
return callFunction("MIDIEntityGetDevice", { returns: "i", args: ["I", "@"] }, inEntity, outDevice);
|
|
83
|
+
}
|
|
84
|
+
export function MIDIEntityGetNumberOfDestinations(entity) {
|
|
85
|
+
return callFunction("MIDIEntityGetNumberOfDestinations", { returns: "L", args: ["I"] }, entity);
|
|
86
|
+
}
|
|
87
|
+
export function MIDIEntityGetNumberOfSources(entity) {
|
|
88
|
+
return callFunction("MIDIEntityGetNumberOfSources", { returns: "L", args: ["I"] }, entity);
|
|
89
|
+
}
|
|
90
|
+
export function MIDIEntityGetSource(entity, sourceIndex0) {
|
|
91
|
+
return callFunction("MIDIEntityGetSource", { returns: "I", args: ["I", "L"] }, entity, sourceIndex0);
|
|
92
|
+
}
|
|
93
|
+
export function MIDIEventListAdd(evtlist, listSize, curPacket, time, wordCount, words) {
|
|
94
|
+
return callFunction("MIDIEventListAdd", { returns: "@", args: ["@", "L", "@", "Q", "L", "@"] }, evtlist, listSize, curPacket, time, wordCount, words);
|
|
95
|
+
}
|
|
96
|
+
export function MIDIEventListForEachEvent(evtlist, visitor, visitorContext) {
|
|
97
|
+
callFunction("MIDIEventListForEachEvent", { args: ["@", "@", "^v"] }, evtlist, visitor, visitorContext);
|
|
98
|
+
}
|
|
99
|
+
export function MIDIEventListInit(evtlist, protocol) {
|
|
100
|
+
return callFunction("MIDIEventListInit", { returns: "@" }, evtlist, protocol);
|
|
101
|
+
}
|
|
102
|
+
export function MIDIEventPacketSysexBytesForGroup(pkt, groupIndex, outData) {
|
|
103
|
+
return callFunction("MIDIEventPacketSysexBytesForGroup", { returns: "i", args: ["@", "C", "@"] }, pkt, groupIndex, outData);
|
|
104
|
+
}
|
|
105
|
+
export function MIDIExternalDeviceCreate(name, manufacturer, model, outDevice) {
|
|
106
|
+
return callFunction("MIDIExternalDeviceCreate", { returns: "i", args: ["^", "^", "^", "@"] }, name, manufacturer, model, outDevice);
|
|
107
|
+
}
|
|
108
|
+
export function MIDIFlushOutput(dest) {
|
|
109
|
+
return callFunction("MIDIFlushOutput", { returns: "i", args: ["I"] }, dest);
|
|
110
|
+
}
|
|
111
|
+
export function MIDIGetDestination(destIndex0) {
|
|
112
|
+
return callFunction("MIDIGetDestination", { returns: "I", args: ["L"] }, destIndex0);
|
|
113
|
+
}
|
|
114
|
+
export function MIDIGetDevice(deviceIndex0) {
|
|
115
|
+
return callFunction("MIDIGetDevice", { returns: "I", args: ["L"] }, deviceIndex0);
|
|
116
|
+
}
|
|
117
|
+
export function MIDIGetDriverDeviceList(driver) {
|
|
118
|
+
return callFunction("MIDIGetDriverDeviceList", { returns: "I" }, driver);
|
|
119
|
+
}
|
|
120
|
+
export function MIDIGetDriverIORunLoop() {
|
|
121
|
+
return callFunction("MIDIGetDriverIORunLoop", { returns: "^" });
|
|
122
|
+
}
|
|
123
|
+
export function MIDIGetExternalDevice(deviceIndex0) {
|
|
124
|
+
return callFunction("MIDIGetExternalDevice", { returns: "I", args: ["L"] }, deviceIndex0);
|
|
125
|
+
}
|
|
126
|
+
export function MIDIGetNumberOfDestinations() {
|
|
127
|
+
return callFunction("MIDIGetNumberOfDestinations", { returns: "L" });
|
|
128
|
+
}
|
|
129
|
+
export function MIDIGetNumberOfDevices() {
|
|
130
|
+
return callFunction("MIDIGetNumberOfDevices", { returns: "L" });
|
|
131
|
+
}
|
|
132
|
+
export function MIDIGetNumberOfExternalDevices() {
|
|
133
|
+
return callFunction("MIDIGetNumberOfExternalDevices", { returns: "L" });
|
|
134
|
+
}
|
|
135
|
+
export function MIDIGetNumberOfSources() {
|
|
136
|
+
return callFunction("MIDIGetNumberOfSources", { returns: "L" });
|
|
137
|
+
}
|
|
138
|
+
export function MIDIGetSerialPortDrivers(outDriverNames) {
|
|
139
|
+
return callFunction("MIDIGetSerialPortDrivers", { returns: "i" }, outDriverNames);
|
|
140
|
+
}
|
|
141
|
+
export function MIDIGetSerialPortOwner(portName, outDriverName) {
|
|
142
|
+
return callFunction("MIDIGetSerialPortOwner", { returns: "i", args: ["^", "@"] }, portName, outDriverName);
|
|
143
|
+
}
|
|
144
|
+
export function MIDIGetSource(sourceIndex0) {
|
|
145
|
+
return callFunction("MIDIGetSource", { returns: "I", args: ["L"] }, sourceIndex0);
|
|
146
|
+
}
|
|
147
|
+
export function MIDIInputPortCreate(client, portName, readProc, refCon, outPort) {
|
|
148
|
+
return callFunction("MIDIInputPortCreate", { returns: "i", args: ["I", "^", "@", "^v", "@"] }, client, portName, readProc, refCon, outPort);
|
|
149
|
+
}
|
|
150
|
+
export function MIDIInputPortCreateWithBlock(client, portName, outPort, readBlock) {
|
|
151
|
+
return callFunction("MIDIInputPortCreateWithBlock", { returns: "i", args: ["I", "^", "@", "@"] }, client, portName, outPort, readBlock);
|
|
152
|
+
}
|
|
153
|
+
export function MIDIInputPortCreateWithProtocol(client, portName, protocol, outPort, receiveBlock) {
|
|
154
|
+
return callFunction("MIDIInputPortCreateWithProtocol", { returns: "i", args: ["I", "^", "@", "@", "@"] }, client, portName, protocol, outPort, receiveBlock);
|
|
155
|
+
}
|
|
156
|
+
export function MIDIObjectFindByUniqueID(inUniqueID, outObject, outObjectType) {
|
|
157
|
+
return callFunction("MIDIObjectFindByUniqueID", { returns: "i", args: ["i", "@", "@"] }, inUniqueID, outObject, outObjectType);
|
|
158
|
+
}
|
|
159
|
+
export function MIDIObjectGetDataProperty(obj, propertyID, outData) {
|
|
160
|
+
return callFunction("MIDIObjectGetDataProperty", { returns: "i", args: ["I", "^", "@"] }, obj, propertyID, outData);
|
|
161
|
+
}
|
|
162
|
+
export function MIDIObjectGetDictionaryProperty(obj, propertyID, outDict) {
|
|
163
|
+
return callFunction("MIDIObjectGetDictionaryProperty", { returns: "i", args: ["I", "^", "@"] }, obj, propertyID, outDict);
|
|
164
|
+
}
|
|
165
|
+
export function MIDIObjectGetIntegerProperty(obj, propertyID, outValue) {
|
|
166
|
+
return callFunction("MIDIObjectGetIntegerProperty", { returns: "i", args: ["I", "^", "@"] }, obj, propertyID, outValue);
|
|
167
|
+
}
|
|
168
|
+
export function MIDIObjectGetProperties(obj, outProperties, deep) {
|
|
169
|
+
return callFunction("MIDIObjectGetProperties", { returns: "i", args: ["I", "@", "C"] }, obj, outProperties, deep);
|
|
170
|
+
}
|
|
171
|
+
export function MIDIObjectGetStringProperty(obj, propertyID, str) {
|
|
172
|
+
return callFunction("MIDIObjectGetStringProperty", { returns: "i", args: ["I", "^", "@"] }, obj, propertyID, str);
|
|
173
|
+
}
|
|
174
|
+
export function MIDIObjectRemoveProperty(obj, propertyID) {
|
|
175
|
+
return callFunction("MIDIObjectRemoveProperty", { returns: "i", args: ["I", "^"] }, obj, propertyID);
|
|
176
|
+
}
|
|
177
|
+
export function MIDIObjectSetDataProperty(obj, propertyID, data) {
|
|
178
|
+
return callFunction("MIDIObjectSetDataProperty", { returns: "i", args: ["I", "^", "@"] }, obj, propertyID, data);
|
|
179
|
+
}
|
|
180
|
+
export function MIDIObjectSetDictionaryProperty(obj, propertyID, dict) {
|
|
181
|
+
return callFunction("MIDIObjectSetDictionaryProperty", { returns: "i", args: ["I", "^", "@"] }, obj, propertyID, dict);
|
|
182
|
+
}
|
|
183
|
+
export function MIDIObjectSetIntegerProperty(obj, propertyID, value) {
|
|
184
|
+
return callFunction("MIDIObjectSetIntegerProperty", { returns: "i", args: ["I", "^", "i"] }, obj, propertyID, value);
|
|
185
|
+
}
|
|
186
|
+
export function MIDIObjectSetStringProperty(obj, propertyID, str) {
|
|
187
|
+
return callFunction("MIDIObjectSetStringProperty", { returns: "i", args: ["I", "^", "^"] }, obj, propertyID, str);
|
|
188
|
+
}
|
|
189
|
+
export function MIDIOutputPortCreate(client, portName, outPort) {
|
|
190
|
+
return callFunction("MIDIOutputPortCreate", { returns: "i", args: ["I", "^", "@"] }, client, portName, outPort);
|
|
191
|
+
}
|
|
192
|
+
export function MIDIPacketListAdd(pktlist, listSize, curPacket, time, nData, data) {
|
|
193
|
+
return callFunction("MIDIPacketListAdd", { returns: "@", args: ["@", "L", "@", "Q", "L", "@"] }, pktlist, listSize, curPacket, time, nData, data);
|
|
194
|
+
}
|
|
195
|
+
export function MIDIPacketListInit(pktlist) {
|
|
196
|
+
return callFunction("MIDIPacketListInit", { returns: "@" }, pktlist);
|
|
197
|
+
}
|
|
198
|
+
export function MIDIPortConnectSource(port, source, connRefCon) {
|
|
199
|
+
return callFunction("MIDIPortConnectSource", { returns: "i", args: ["I", "I", "^v"] }, port, source, connRefCon);
|
|
200
|
+
}
|
|
201
|
+
export function MIDIPortDisconnectSource(port, source) {
|
|
202
|
+
return callFunction("MIDIPortDisconnectSource", { returns: "i", args: ["I", "I"] }, port, source);
|
|
203
|
+
}
|
|
204
|
+
export function MIDIPortDispose(port) {
|
|
205
|
+
return callFunction("MIDIPortDispose", { returns: "i", args: ["I"] }, port);
|
|
206
|
+
}
|
|
207
|
+
export function MIDIReceived(src, pktlist) {
|
|
208
|
+
return callFunction("MIDIReceived", { returns: "i", args: ["I", "@"] }, src, pktlist);
|
|
209
|
+
}
|
|
210
|
+
export function MIDIReceivedEventList(src, evtlist) {
|
|
211
|
+
return callFunction("MIDIReceivedEventList", { returns: "i", args: ["I", "@"] }, src, evtlist);
|
|
212
|
+
}
|
|
213
|
+
export function MIDIRestart() {
|
|
214
|
+
return callFunction("MIDIRestart", { returns: "i" });
|
|
215
|
+
}
|
|
216
|
+
export function MIDISend(port, dest, pktlist) {
|
|
217
|
+
return callFunction("MIDISend", { returns: "i", args: ["I", "I", "@"] }, port, dest, pktlist);
|
|
218
|
+
}
|
|
219
|
+
export function MIDISendEventList(port, dest, evtlist) {
|
|
220
|
+
return callFunction("MIDISendEventList", { returns: "i", args: ["I", "I", "@"] }, port, dest, evtlist);
|
|
221
|
+
}
|
|
222
|
+
export function MIDISendSysex(request) {
|
|
223
|
+
return callFunction("MIDISendSysex", { returns: "i" }, request);
|
|
224
|
+
}
|
|
225
|
+
export function MIDISendUMPSysex(umpRequest) {
|
|
226
|
+
return callFunction("MIDISendUMPSysex", { returns: "i" }, umpRequest);
|
|
227
|
+
}
|
|
228
|
+
export function MIDISendUMPSysex8(umpRequest) {
|
|
229
|
+
return callFunction("MIDISendUMPSysex8", { returns: "i" }, umpRequest);
|
|
230
|
+
}
|
|
231
|
+
export function MIDISetSerialPortOwner(portName, driverName) {
|
|
232
|
+
return callFunction("MIDISetSerialPortOwner", { returns: "i", args: ["^", "^"] }, portName, driverName);
|
|
233
|
+
}
|
|
234
|
+
export function MIDISetupAddDevice(device) {
|
|
235
|
+
return callFunction("MIDISetupAddDevice", { returns: "i", args: ["I"] }, device);
|
|
236
|
+
}
|
|
237
|
+
export function MIDISetupAddExternalDevice(device) {
|
|
238
|
+
return callFunction("MIDISetupAddExternalDevice", { returns: "i", args: ["I"] }, device);
|
|
239
|
+
}
|
|
240
|
+
export function MIDISetupCreate(outSetup) {
|
|
241
|
+
return callFunction("MIDISetupCreate", { returns: "i" }, outSetup);
|
|
242
|
+
}
|
|
243
|
+
export function MIDISetupDispose(setup) {
|
|
244
|
+
return callFunction("MIDISetupDispose", { returns: "i", args: ["I"] }, setup);
|
|
245
|
+
}
|
|
246
|
+
export function MIDISetupFromData(data, outSetup) {
|
|
247
|
+
return callFunction("MIDISetupFromData", { returns: "i" }, data, outSetup);
|
|
248
|
+
}
|
|
249
|
+
export function MIDISetupGetCurrent(outSetup) {
|
|
250
|
+
return callFunction("MIDISetupGetCurrent", { returns: "i" }, outSetup);
|
|
251
|
+
}
|
|
252
|
+
export function MIDISetupInstall(setup) {
|
|
253
|
+
return callFunction("MIDISetupInstall", { returns: "i", args: ["I"] }, setup);
|
|
254
|
+
}
|
|
255
|
+
export function MIDISetupRemoveDevice(device) {
|
|
256
|
+
return callFunction("MIDISetupRemoveDevice", { returns: "i", args: ["I"] }, device);
|
|
257
|
+
}
|
|
258
|
+
export function MIDISetupRemoveExternalDevice(device) {
|
|
259
|
+
return callFunction("MIDISetupRemoveExternalDevice", { returns: "i", args: ["I"] }, device);
|
|
260
|
+
}
|
|
261
|
+
export function MIDISetupToData(setup, outData) {
|
|
262
|
+
return callFunction("MIDISetupToData", { returns: "i", args: ["I", "@"] }, setup, outData);
|
|
263
|
+
}
|
|
264
|
+
export function MIDISourceCreate(client, name, outSrc) {
|
|
265
|
+
return callFunction("MIDISourceCreate", { returns: "i", args: ["I", "^", "@"] }, client, name, outSrc);
|
|
266
|
+
}
|
|
267
|
+
export function MIDISourceCreateWithProtocol(client, name, protocol, outSrc) {
|
|
268
|
+
return callFunction("MIDISourceCreateWithProtocol", { returns: "i", args: ["I", "^", "@", "@"] }, client, name, protocol, outSrc);
|
|
269
|
+
}
|
|
270
|
+
export function MIDIThruConnectionCreate(inPersistentOwnerID, inConnectionParams, outConnection) {
|
|
271
|
+
return callFunction("MIDIThruConnectionCreate", { returns: "i", args: ["^", "@", "@"] }, inPersistentOwnerID, inConnectionParams, outConnection);
|
|
272
|
+
}
|
|
273
|
+
export function MIDIThruConnectionDispose(connection) {
|
|
274
|
+
return callFunction("MIDIThruConnectionDispose", { returns: "i", args: ["I"] }, connection);
|
|
275
|
+
}
|
|
276
|
+
export function MIDIThruConnectionFind(inPersistentOwnerID, outConnectionList) {
|
|
277
|
+
return callFunction("MIDIThruConnectionFind", { returns: "i", args: ["^", "@"] }, inPersistentOwnerID, outConnectionList);
|
|
278
|
+
}
|
|
279
|
+
export function MIDIThruConnectionGetParams(connection, outConnectionParams) {
|
|
280
|
+
return callFunction("MIDIThruConnectionGetParams", { returns: "i", args: ["I", "@"] }, connection, outConnectionParams);
|
|
281
|
+
}
|
|
282
|
+
export function MIDIThruConnectionParamsInitialize(inConnectionParams) {
|
|
283
|
+
callFunction("MIDIThruConnectionParamsInitialize", undefined, inConnectionParams);
|
|
284
|
+
}
|
|
285
|
+
export function MIDIThruConnectionSetParams(connection, inConnectionParams) {
|
|
286
|
+
return callFunction("MIDIThruConnectionSetParams", { returns: "i", args: ["I", "@"] }, connection, inConnectionParams);
|
|
287
|
+
}
|
package/dist/CoreMIDI/index.d.ts
CHANGED
|
@@ -60,3 +60,4 @@ export type { _MIDIUMPMutableFunctionBlock };
|
|
|
60
60
|
import type { _MIDICIProfileResponderDelegate } from "./MIDICIProfileResponderDelegate.js";
|
|
61
61
|
export type { _MIDICIProfileResponderDelegate };
|
|
62
62
|
export { MIDINetworkConnectionPolicy } from "./MIDINetworkConnectionPolicy.js";
|
|
63
|
+
export * from "./functions.js";
|
package/dist/CoreMIDI/index.js
CHANGED
|
@@ -22,3 +22,4 @@ export const MIDIUMPFunctionBlock = _bindClass(CoreMIDI, "MIDIUMPFunctionBlock")
|
|
|
22
22
|
export const MIDIUMPMutableEndpoint = _bindClass(CoreMIDI, "MIDIUMPMutableEndpoint");
|
|
23
23
|
export const MIDIUMPMutableFunctionBlock = _bindClass(CoreMIDI, "MIDIUMPMutableFunctionBlock");
|
|
24
24
|
export { MIDINetworkConnectionPolicy } from "./MIDINetworkConnectionPolicy.js";
|
|
25
|
+
export * from "./functions.js";
|
package/dist/CoreML/index.d.ts
CHANGED
|
@@ -176,3 +176,4 @@ export { MLSpecializationStrategy } from "./MLSpecializationStrategy.js";
|
|
|
176
176
|
export { MLTaskState } from "./MLTaskState.js";
|
|
177
177
|
export { MLUpdateProgressEvent } from "./MLUpdateProgressEvent.js";
|
|
178
178
|
export { MLModelMetadataKey } from "./MLModelMetadataKey.js";
|
|
179
|
+
export * from "./functions.js";
|
package/dist/CoreML/index.js
CHANGED
|
@@ -64,3 +64,4 @@ export { MLSpecializationStrategy } from "./MLSpecializationStrategy.js";
|
|
|
64
64
|
export { MLTaskState } from "./MLTaskState.js";
|
|
65
65
|
export { MLUpdateProgressEvent } from "./MLUpdateProgressEvent.js";
|
|
66
66
|
export { MLModelMetadataKey } from "./MLModelMetadataKey.js";
|
|
67
|
+
export * from "./functions.js";
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
import type { NobjcObject } from "objc-js";
|
|
2
|
+
import type { _NSObject } from "../Foundation/NSObject.js";
|
|
3
|
+
import type { CMTime } from "../structs/CMTime.js";
|
|
4
|
+
export declare function CMIODeviceProcessAVCCommand(deviceID: number, ioAVCCommand: NobjcObject): number;
|
|
5
|
+
export declare function CMIODeviceProcessRS422Command(deviceID: number, ioRS422Command: NobjcObject): number;
|
|
6
|
+
export declare function CMIODeviceStartStream(deviceID: number, streamID: number): number;
|
|
7
|
+
export declare function CMIODeviceStopStream(deviceID: number, streamID: number): number;
|
|
8
|
+
export declare function CMIOObjectAddPropertyListener(objectID: number, address: NobjcObject, listener: NobjcObject, clientData: Uint8Array): number;
|
|
9
|
+
export declare function CMIOObjectAddPropertyListenerBlock(objectID: number, address: NobjcObject, dispatchQueue: _NSObject, listener: NobjcObject): number;
|
|
10
|
+
export declare function CMIOObjectCreate(owningPlugIn: NobjcObject, owningObjectID: number, classID: number, objectID: NobjcObject): number;
|
|
11
|
+
export declare function CMIOObjectGetPropertyData(objectID: number, address: NobjcObject, qualifierDataSize: number, qualifierData: Uint8Array, dataSize: number, dataUsed: NobjcObject, data: Uint8Array): number;
|
|
12
|
+
export declare function CMIOObjectGetPropertyDataSize(objectID: number, address: NobjcObject, qualifierDataSize: number, qualifierData: Uint8Array, dataSize: NobjcObject): number;
|
|
13
|
+
export declare function CMIOObjectHasProperty(objectID: number, address: NobjcObject): NobjcObject;
|
|
14
|
+
export declare function CMIOObjectIsPropertySettable(objectID: number, address: NobjcObject, isSettable: NobjcObject): number;
|
|
15
|
+
export declare function CMIOObjectPropertiesChanged(owningPlugIn: NobjcObject, objectID: number, numberAddresses: number, addresses: NobjcObject): number;
|
|
16
|
+
export declare function CMIOObjectRemovePropertyListener(objectID: number, address: NobjcObject, listener: NobjcObject, clientData: Uint8Array): number;
|
|
17
|
+
export declare function CMIOObjectRemovePropertyListenerBlock(objectID: number, address: NobjcObject, dispatchQueue: _NSObject, listener: NobjcObject): number;
|
|
18
|
+
export declare function CMIOObjectSetPropertyData(objectID: number, address: NobjcObject, qualifierDataSize: number, qualifierData: Uint8Array, dataSize: number, data: Uint8Array): number;
|
|
19
|
+
export declare function CMIOObjectShow(objectID: number): void;
|
|
20
|
+
export declare function CMIOObjectsPublishedAndDied(owningPlugIn: NobjcObject, owningObjectID: number, numberPublishedCMIOObjects: number, publishedCMIOObjects: NobjcObject, numberDeadCMIOObjects: number, deadCMIOObjects: NobjcObject): number;
|
|
21
|
+
export declare function CMIOSampleBufferCopyNonRequiredAttachments(sourceSBuf: NobjcObject, destSBuf: NobjcObject, attachmentMode: number): number;
|
|
22
|
+
export declare function CMIOSampleBufferCopySampleAttachments(sourceSBuf: NobjcObject, destSBuf: NobjcObject): number;
|
|
23
|
+
export declare function CMIOSampleBufferCreate(allocator: NobjcObject, dataBuffer: NobjcObject, formatDescription: NobjcObject, numSamples: number, numSampleTimingEntries: number, sampleTimingArray: NobjcObject, numSampleSizeEntries: number, sampleSizeArray: NobjcObject, sequenceNumber: number, discontinuityFlags: number, sBufOut: NobjcObject): number;
|
|
24
|
+
export declare function CMIOSampleBufferCreateForImageBuffer(allocator: NobjcObject, imageBuffer: NobjcObject, formatDescription: NobjcObject, sampleTiming: NobjcObject, sequenceNumber: number, discontinuityFlags: number, sBufOut: NobjcObject): number;
|
|
25
|
+
export declare function CMIOSampleBufferCreateNoDataMarker(allocator: NobjcObject, noDataEvent: number, formatDescription: NobjcObject, sequenceNumber: number, discontinuityFlags: number, sBufOut: NobjcObject): number;
|
|
26
|
+
export declare function CMIOSampleBufferGetDiscontinuityFlags(sbuf: NobjcObject): number;
|
|
27
|
+
export declare function CMIOSampleBufferGetSequenceNumber(sbuf: NobjcObject): number;
|
|
28
|
+
export declare function CMIOSampleBufferSetDiscontinuityFlags(allocator: NobjcObject, sbuf: NobjcObject, discontinuityFlags: number): void;
|
|
29
|
+
export declare function CMIOSampleBufferSetSequenceNumber(allocator: NobjcObject, sbuf: NobjcObject, sequenceNumber: number): void;
|
|
30
|
+
export declare function CMIOStreamClockConvertHostTimeToDeviceTime(hostTime: number, clock: Uint8Array): CMTime;
|
|
31
|
+
export declare function CMIOStreamClockCreate(allocator: NobjcObject, clockName: Uint8Array, sourceIdentifier: Uint8Array, getTimeCallMinimumInterval: CMTime, numberOfEventsForRateSmoothing: number, numberOfAveragesForRateSmoothing: number, clock: NobjcObject): number;
|
|
32
|
+
export declare function CMIOStreamClockInvalidate(clock: Uint8Array): number;
|
|
33
|
+
export declare function CMIOStreamClockPostTimingEvent(eventTime: CMTime, hostTime: number, resynchronize: NobjcObject, clock: Uint8Array): number;
|
|
34
|
+
export declare function CMIOStreamCopyBufferQueue(streamID: number, queueAlteredProc: NobjcObject, queueAlteredRefCon: Uint8Array, queue: NobjcObject): number;
|
|
35
|
+
export declare function CMIOStreamDeckCueTo(streamID: number, frameNumber: number, playOnCue: NobjcObject): number;
|
|
36
|
+
export declare function CMIOStreamDeckJog(streamID: number, speed: number): number;
|
|
37
|
+
export declare function CMIOStreamDeckPlay(streamID: number): number;
|
|
38
|
+
export declare function CMIOStreamDeckStop(streamID: number): number;
|
|
@@ -0,0 +1,107 @@
|
|
|
1
|
+
// AUTO-GENERATED by objcjs-types generator — DO NOT EDIT
|
|
2
|
+
import { callFunction } from "objc-js";
|
|
3
|
+
export function CMIODeviceProcessAVCCommand(deviceID, ioAVCCommand) {
|
|
4
|
+
return callFunction("CMIODeviceProcessAVCCommand", { returns: "i", args: ["I", "@"] }, deviceID, ioAVCCommand);
|
|
5
|
+
}
|
|
6
|
+
export function CMIODeviceProcessRS422Command(deviceID, ioRS422Command) {
|
|
7
|
+
return callFunction("CMIODeviceProcessRS422Command", { returns: "i", args: ["I", "@"] }, deviceID, ioRS422Command);
|
|
8
|
+
}
|
|
9
|
+
export function CMIODeviceStartStream(deviceID, streamID) {
|
|
10
|
+
return callFunction("CMIODeviceStartStream", { returns: "i", args: ["I", "I"] }, deviceID, streamID);
|
|
11
|
+
}
|
|
12
|
+
export function CMIODeviceStopStream(deviceID, streamID) {
|
|
13
|
+
return callFunction("CMIODeviceStopStream", { returns: "i", args: ["I", "I"] }, deviceID, streamID);
|
|
14
|
+
}
|
|
15
|
+
export function CMIOObjectAddPropertyListener(objectID, address, listener, clientData) {
|
|
16
|
+
return callFunction("CMIOObjectAddPropertyListener", { returns: "i", args: ["I", "@", "@", "^v"] }, objectID, address, listener, clientData);
|
|
17
|
+
}
|
|
18
|
+
export function CMIOObjectAddPropertyListenerBlock(objectID, address, dispatchQueue, listener) {
|
|
19
|
+
return callFunction("CMIOObjectAddPropertyListenerBlock", { returns: "i", args: ["I", "@", "@", "@"] }, objectID, address, dispatchQueue, listener);
|
|
20
|
+
}
|
|
21
|
+
export function CMIOObjectCreate(owningPlugIn, owningObjectID, classID, objectID) {
|
|
22
|
+
return callFunction("CMIOObjectCreate", { returns: "i", args: ["@", "I", "I", "@"] }, owningPlugIn, owningObjectID, classID, objectID);
|
|
23
|
+
}
|
|
24
|
+
export function CMIOObjectGetPropertyData(objectID, address, qualifierDataSize, qualifierData, dataSize, dataUsed, data) {
|
|
25
|
+
return callFunction("CMIOObjectGetPropertyData", { returns: "i", args: ["I", "@", "I", "^v", "I", "@", "^v"] }, objectID, address, qualifierDataSize, qualifierData, dataSize, dataUsed, data);
|
|
26
|
+
}
|
|
27
|
+
export function CMIOObjectGetPropertyDataSize(objectID, address, qualifierDataSize, qualifierData, dataSize) {
|
|
28
|
+
return callFunction("CMIOObjectGetPropertyDataSize", { returns: "i", args: ["I", "@", "I", "^v", "@"] }, objectID, address, qualifierDataSize, qualifierData, dataSize);
|
|
29
|
+
}
|
|
30
|
+
export function CMIOObjectHasProperty(objectID, address) {
|
|
31
|
+
return callFunction("CMIOObjectHasProperty", { returns: "C", args: ["I", "@"] }, objectID, address);
|
|
32
|
+
}
|
|
33
|
+
export function CMIOObjectIsPropertySettable(objectID, address, isSettable) {
|
|
34
|
+
return callFunction("CMIOObjectIsPropertySettable", { returns: "i", args: ["I", "@", "@"] }, objectID, address, isSettable);
|
|
35
|
+
}
|
|
36
|
+
export function CMIOObjectPropertiesChanged(owningPlugIn, objectID, numberAddresses, addresses) {
|
|
37
|
+
return callFunction("CMIOObjectPropertiesChanged", { returns: "i", args: ["@", "I", "I", "@"] }, owningPlugIn, objectID, numberAddresses, addresses);
|
|
38
|
+
}
|
|
39
|
+
export function CMIOObjectRemovePropertyListener(objectID, address, listener, clientData) {
|
|
40
|
+
return callFunction("CMIOObjectRemovePropertyListener", { returns: "i", args: ["I", "@", "@", "^v"] }, objectID, address, listener, clientData);
|
|
41
|
+
}
|
|
42
|
+
export function CMIOObjectRemovePropertyListenerBlock(objectID, address, dispatchQueue, listener) {
|
|
43
|
+
return callFunction("CMIOObjectRemovePropertyListenerBlock", { returns: "i", args: ["I", "@", "@", "@"] }, objectID, address, dispatchQueue, listener);
|
|
44
|
+
}
|
|
45
|
+
export function CMIOObjectSetPropertyData(objectID, address, qualifierDataSize, qualifierData, dataSize, data) {
|
|
46
|
+
return callFunction("CMIOObjectSetPropertyData", { returns: "i", args: ["I", "@", "I", "^v", "I", "^v"] }, objectID, address, qualifierDataSize, qualifierData, dataSize, data);
|
|
47
|
+
}
|
|
48
|
+
export function CMIOObjectShow(objectID) {
|
|
49
|
+
callFunction("CMIOObjectShow", { args: ["I"] }, objectID);
|
|
50
|
+
}
|
|
51
|
+
export function CMIOObjectsPublishedAndDied(owningPlugIn, owningObjectID, numberPublishedCMIOObjects, publishedCMIOObjects, numberDeadCMIOObjects, deadCMIOObjects) {
|
|
52
|
+
return callFunction("CMIOObjectsPublishedAndDied", { returns: "i", args: ["@", "I", "I", "@", "I", "@"] }, owningPlugIn, owningObjectID, numberPublishedCMIOObjects, publishedCMIOObjects, numberDeadCMIOObjects, deadCMIOObjects);
|
|
53
|
+
}
|
|
54
|
+
export function CMIOSampleBufferCopyNonRequiredAttachments(sourceSBuf, destSBuf, attachmentMode) {
|
|
55
|
+
return callFunction("CMIOSampleBufferCopyNonRequiredAttachments", { returns: "i", args: ["@", "@", "I"] }, sourceSBuf, destSBuf, attachmentMode);
|
|
56
|
+
}
|
|
57
|
+
export function CMIOSampleBufferCopySampleAttachments(sourceSBuf, destSBuf) {
|
|
58
|
+
return callFunction("CMIOSampleBufferCopySampleAttachments", { returns: "i" }, sourceSBuf, destSBuf);
|
|
59
|
+
}
|
|
60
|
+
export function CMIOSampleBufferCreate(allocator, dataBuffer, formatDescription, numSamples, numSampleTimingEntries, sampleTimingArray, numSampleSizeEntries, sampleSizeArray, sequenceNumber, discontinuityFlags, sBufOut) {
|
|
61
|
+
return callFunction("CMIOSampleBufferCreate", { returns: "i", args: ["@", "@", "@", "I", "I", "@", "I", "@", "Q", "I", "@"] }, allocator, dataBuffer, formatDescription, numSamples, numSampleTimingEntries, sampleTimingArray, numSampleSizeEntries, sampleSizeArray, sequenceNumber, discontinuityFlags, sBufOut);
|
|
62
|
+
}
|
|
63
|
+
export function CMIOSampleBufferCreateForImageBuffer(allocator, imageBuffer, formatDescription, sampleTiming, sequenceNumber, discontinuityFlags, sBufOut) {
|
|
64
|
+
return callFunction("CMIOSampleBufferCreateForImageBuffer", { returns: "i", args: ["@", "@", "@", "@", "Q", "I", "@"] }, allocator, imageBuffer, formatDescription, sampleTiming, sequenceNumber, discontinuityFlags, sBufOut);
|
|
65
|
+
}
|
|
66
|
+
export function CMIOSampleBufferCreateNoDataMarker(allocator, noDataEvent, formatDescription, sequenceNumber, discontinuityFlags, sBufOut) {
|
|
67
|
+
return callFunction("CMIOSampleBufferCreateNoDataMarker", { returns: "i", args: ["@", "I", "@", "Q", "I", "@"] }, allocator, noDataEvent, formatDescription, sequenceNumber, discontinuityFlags, sBufOut);
|
|
68
|
+
}
|
|
69
|
+
export function CMIOSampleBufferGetDiscontinuityFlags(sbuf) {
|
|
70
|
+
return callFunction("CMIOSampleBufferGetDiscontinuityFlags", { returns: "I" }, sbuf);
|
|
71
|
+
}
|
|
72
|
+
export function CMIOSampleBufferGetSequenceNumber(sbuf) {
|
|
73
|
+
return callFunction("CMIOSampleBufferGetSequenceNumber", { returns: "Q" }, sbuf);
|
|
74
|
+
}
|
|
75
|
+
export function CMIOSampleBufferSetDiscontinuityFlags(allocator, sbuf, discontinuityFlags) {
|
|
76
|
+
callFunction("CMIOSampleBufferSetDiscontinuityFlags", { args: ["@", "@", "I"] }, allocator, sbuf, discontinuityFlags);
|
|
77
|
+
}
|
|
78
|
+
export function CMIOSampleBufferSetSequenceNumber(allocator, sbuf, sequenceNumber) {
|
|
79
|
+
callFunction("CMIOSampleBufferSetSequenceNumber", { args: ["@", "@", "Q"] }, allocator, sbuf, sequenceNumber);
|
|
80
|
+
}
|
|
81
|
+
export function CMIOStreamClockConvertHostTimeToDeviceTime(hostTime, clock) {
|
|
82
|
+
return callFunction("CMIOStreamClockConvertHostTimeToDeviceTime", { returns: "{CMTime}", args: ["Q", "^"] }, hostTime, clock);
|
|
83
|
+
}
|
|
84
|
+
export function CMIOStreamClockCreate(allocator, clockName, sourceIdentifier, getTimeCallMinimumInterval, numberOfEventsForRateSmoothing, numberOfAveragesForRateSmoothing, clock) {
|
|
85
|
+
return callFunction("CMIOStreamClockCreate", { returns: "i", args: ["@", "^", "^v", "{CMTime}", "I", "I", "@"] }, allocator, clockName, sourceIdentifier, getTimeCallMinimumInterval, numberOfEventsForRateSmoothing, numberOfAveragesForRateSmoothing, clock);
|
|
86
|
+
}
|
|
87
|
+
export function CMIOStreamClockInvalidate(clock) {
|
|
88
|
+
return callFunction("CMIOStreamClockInvalidate", { returns: "i", args: ["^"] }, clock);
|
|
89
|
+
}
|
|
90
|
+
export function CMIOStreamClockPostTimingEvent(eventTime, hostTime, resynchronize, clock) {
|
|
91
|
+
return callFunction("CMIOStreamClockPostTimingEvent", { returns: "i", args: ["{CMTime}", "Q", "C", "^"] }, eventTime, hostTime, resynchronize, clock);
|
|
92
|
+
}
|
|
93
|
+
export function CMIOStreamCopyBufferQueue(streamID, queueAlteredProc, queueAlteredRefCon, queue) {
|
|
94
|
+
return callFunction("CMIOStreamCopyBufferQueue", { returns: "i", args: ["I", "@", "^v", "@"] }, streamID, queueAlteredProc, queueAlteredRefCon, queue);
|
|
95
|
+
}
|
|
96
|
+
export function CMIOStreamDeckCueTo(streamID, frameNumber, playOnCue) {
|
|
97
|
+
return callFunction("CMIOStreamDeckCueTo", { returns: "i", args: ["I", "Q", "C"] }, streamID, frameNumber, playOnCue);
|
|
98
|
+
}
|
|
99
|
+
export function CMIOStreamDeckJog(streamID, speed) {
|
|
100
|
+
return callFunction("CMIOStreamDeckJog", { returns: "i", args: ["I", "i"] }, streamID, speed);
|
|
101
|
+
}
|
|
102
|
+
export function CMIOStreamDeckPlay(streamID) {
|
|
103
|
+
return callFunction("CMIOStreamDeckPlay", { returns: "i", args: ["I"] }, streamID);
|
|
104
|
+
}
|
|
105
|
+
export function CMIOStreamDeckStop(streamID) {
|
|
106
|
+
return callFunction("CMIOStreamDeckStop", { returns: "i", args: ["I"] }, streamID);
|
|
107
|
+
}
|
|
@@ -46,3 +46,4 @@ export { CMIOExtensionStreamClockType } from "./CMIOExtensionStreamClockType.js"
|
|
|
46
46
|
export { CMIOExtensionStreamDirection } from "./CMIOExtensionStreamDirection.js";
|
|
47
47
|
export { CMIOExtensionStreamDiscontinuityFlags } from "./CMIOExtensionStreamDiscontinuityFlags.js";
|
|
48
48
|
export { CMIOExtensionProperty } from "./CMIOExtensionProperty.js";
|
|
49
|
+
export * from "./functions.js";
|
|
@@ -18,3 +18,4 @@ export { CMIOExtensionStreamClockType } from "./CMIOExtensionStreamClockType.js"
|
|
|
18
18
|
export { CMIOExtensionStreamDirection } from "./CMIOExtensionStreamDirection.js";
|
|
19
19
|
export { CMIOExtensionStreamDiscontinuityFlags } from "./CMIOExtensionStreamDiscontinuityFlags.js";
|
|
20
20
|
export { CMIOExtensionProperty } from "./CMIOExtensionProperty.js";
|
|
21
|
+
export * from "./functions.js";
|