MCPcopy Create free account
hub / github.com/QuarkGluonPlasma/react-course-code / removeAudioNode

Function removeAudioNode

audio-flow/src/Audio.ts:39–46  ·  view source on GitHub ↗
(id: string)

Source from the content-addressed store, hash-verified

37}
38
39export function removeAudioNode(id: string) {
40 const node = nodes.get(id);
41
42 node.disconnect();
43 node.stop?.();
44
45 nodes.delete(id);
46}
47
48export function connect(sourceId: string, targetId: string) {
49 const source = nodes.get(sourceId);

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected