Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
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
65
func
(c *comThread) Run(f
func
()) {
66
ch := make(
chan
struct
{})
67
c.funcCh <-
func
() {
68
f()
69
close(ch)
70
}
71
<-ch
72
}
73
74
type
wasapiContext
struct
{
75
sampleRate int
Callers
4
isDeviceSwitched
Method · 0.80
start
Method · 0.80
TestMain
Function · 0.80
prepareOboe
Function · 0.80
Calls
no outgoing calls
Tested by
1
TestMain
Function · 0.64