mirror of
https://github.com/fluxerapp/fluxer
synced 2026-10-17 13:05:32 +09:00
chore(repo): remove dead code and useless tests (#3375)
This commit is contained in:
1 parent
7e177a1c90
commit
1cd62eb661
1391 files changed
+783
-120415
No files matched your search
@@ -25,35 +25,6 @@ export interface NativeAudioFrame {
|
||||
timestampUs: number;
|
||||
}
|
||||
|
||||
export interface RoutingGraphNode {
|
||||
id: number;
|
||||
props: Record<string, string>;
|
||||
}
|
||||
|
||||
export interface RoutingGraphPort {
|
||||
id: number;
|
||||
nodeId: number;
|
||||
direction: string;
|
||||
channel: string;
|
||||
props: Record<string, string>;
|
||||
}
|
||||
|
||||
export interface RoutingGraphLink {
|
||||
outputNodeId: number;
|
||||
outputPortId: number;
|
||||
inputNodeId: number;
|
||||
inputPortId: number;
|
||||
owned: boolean;
|
||||
passive: boolean;
|
||||
}
|
||||
|
||||
export interface RoutingGraph {
|
||||
backend: 'pipewire' | 'none' | string;
|
||||
nodes: Array<RoutingGraphNode>;
|
||||
ports: Array<RoutingGraphPort>;
|
||||
ownedLinks: Array<RoutingGraphLink>;
|
||||
}
|
||||
|
||||
export declare function pipeWireAvailable(): boolean;
|
||||
|
||||
export declare function audioBackend(): 'pipewire' | 'none';
|
||||
@@ -63,8 +34,6 @@ export declare class AudioBridge {
|
||||
|
||||
inventory(fields?: Array<string> | undefined | null): Array<Record<string, string>>;
|
||||
|
||||
routingGraph(): RoutingGraph;
|
||||
|
||||
apply(rule: JsRoutingRule): boolean;
|
||||
|
||||
release(): void;
|
||||
@@ -83,25 +52,9 @@ export declare class DirectAudioCapture {
|
||||
|
||||
read(): NativeAudioFrame | null;
|
||||
|
||||
routingGraph(): RoutingGraph;
|
||||
|
||||
stop(): void;
|
||||
}
|
||||
|
||||
export declare class AudioMixRuntimeHandle {
|
||||
constructor(sourceCount: number);
|
||||
|
||||
static boundToDirectCapture(capture: DirectAudioCapture): AudioMixRuntimeHandle;
|
||||
|
||||
sourceCount(): number;
|
||||
|
||||
tick(tickAtNs?: number | null): number;
|
||||
|
||||
markPushedTotal(): number;
|
||||
|
||||
dispose(): void;
|
||||
}
|
||||
|
||||
interface ProcessLoopbackEvents {
|
||||
on(event: 'frame', listener: (frame: AudioFrame) => void): this;
|
||||
on(event: 'error', listener: (error: Error) => void): this;
|
||||
@@ -122,7 +75,5 @@ export declare class ProcessLoopback extends EventEmitter implements ProcessLoop
|
||||
|
||||
setRoutingRule(target: {linuxRule: JsRoutingRule} | number, options?: {includeProcessTree?: boolean}): boolean;
|
||||
|
||||
routingGraph(): RoutingGraph | null;
|
||||
|
||||
stop(): Promise<void>;
|
||||
}
|
||||
Reference in new issue
Block a user