rnbokit
Version:
<img width="491" alt="Screenshot 2023-06-26 at 22 29 43" src="https://github.com/SanderNotenbaert/RNBOKit/assets/34664737/5c54599e-fb9f-4131-a28a-ba4993f2f064">
74 lines (73 loc) • 1.7 kB
TypeScript
/** @typedef {typeof __propDef.props} RnboInletProps */
/** @typedef {typeof __propDef.events} RnboInletEvents */
/** @typedef {typeof __propDef.slots} RnboInletSlots */
export default class RnboInlet extends SvelteComponentTyped<{
[x: string]: any;
device: import("@rnbo/js").Device;
inlet?: {
/**
* - the port index
*/
index: number;
/**
* - the tag
*/
tag: string;
/**
* - the type
*/
type: "signal";
/**
* - the meta
*/
meta: string;
};
mode?: "default" | "mic" | "dropIn";
}, {
[evt: string]: CustomEvent<any>;
}, {
default: {
context: AudioContext;
audio: AudioNode;
};
}> {
}
export type RnboInletProps = typeof __propDef.props;
export type RnboInletEvents = typeof __propDef.events;
export type RnboInletSlots = typeof __propDef.slots;
import { SvelteComponentTyped } from "svelte";
declare const __propDef: {
props: {
[x: string]: any;
device: import('@rnbo/js').Device;
inlet?: {
/**
* - the port index
*/
index: number;
/**
* - the tag
*/
tag: string;
/**
* - the type
*/
type: 'signal';
/**
* - the meta
*/
meta: string;
};
mode?: 'default' | 'mic' | 'dropIn';
};
events: {
[evt: string]: CustomEvent<any>;
};
slots: {
default: {
context: AudioContext;
audio: AudioNode;
};
};
};
export {};