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

Function toggleAudio

audio-flow/src/Audio.ts:23–25  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

21}
22
23export function toggleAudio() {
24 return isRunning() ? context.suspend() : context.resume();
25}
26
27export function updateAudioNode(id: string, data: Record<string, any>) {
28 const node = nodes.get(id);

Callers 1

OutputNodeFunction · 0.90

Calls 1

isRunningFunction · 0.85

Tested by

no test coverage detected