frameflow
Version:
Audio/Video stream processing library for JavaScript world
9 lines (8 loc) • 375 B
TypeScript
import { GraphInstance, TargetNode, UserNode } from './types/graph';
/**
* given endpoints, backtrace until sources.
* - make up some filterNodes (e.g. resample)
* - tree shake and optimize the graph (todo...)
* - convert to graphInstance (easy for further work)
*/
export declare function buildGraphInstance(target: TargetNode): [GraphInstance, Map<UserNode, string>];