MCPcopy Create free account
hub / github.com/SolarLune/masterplan / Pause

Method Pause

sound.go:128–132  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

126}
127
128func (sound *Sound) Pause() {
129 speaker.Lock()
130 sound.control.Paused = true
131 speaker.Unlock()
132}
133
134func (sound *Sound) IsPaused() bool {
135 return sound.control.Paused

Callers 6

DestroyMethod · 0.95
LoadFileMethod · 0.80
TogglePlaybackMethod · 0.80
StopPlaybackMethod · 0.80
TriggerMethod · 0.80
ReceiveMessageMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected