Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
23
export
function
toggleAudio() {
24
return
isRunning() ? context.suspend() : context.resume();
25
}
26
27
export
function
updateAudioNode(id: string, data: Record<string, any>) {
28
const
node = nodes.get(id);
Callers
1
OutputNode
Function · 0.90
Calls
1
isRunning
Function · 0.85
Tested by
no test coverage detected