MCPcopy
hub / github.com/EngoEngine/engo / Restart

Method Restart

common/audio.go:241–246  ·  view source on GitHub ↗

Restart restarts the AudioSystem's loop when it's paused.

()

Source from the content-addressed store, hash-verified

239
240// Restart restarts the AudioSystem's loop when it's paused.
241func (a *AudioSystem) Restart() {
242 if len(a.restartCh) > 0 { // so it doesn't block
243 return
244 }
245 a.restartCh <- struct{}{}
246}

Callers 1

UpdateMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected