MCPcopy
hub / github.com/ebitengine/oto / Run

Method Run

driver_wasapi_windows.go:65–72  ·  view source on GitHub ↗
(f func())

Source from the content-addressed store, hash-verified

63}
64
65func (c *comThread) Run(f func()) {
66 ch := make(chan struct{})
67 c.funcCh <- func() {
68 f()
69 close(ch)
70 }
71 <-ch
72}
73
74type wasapiContext struct {
75 sampleRate int

Callers 4

isDeviceSwitchedMethod · 0.80
startMethod · 0.80
TestMainFunction · 0.80
prepareOboeFunction · 0.80

Calls

no outgoing calls

Tested by 1

TestMainFunction · 0.64