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

Function oto_OnReadCallback

driver_console.go:39–41  ·  view source on GitHub ↗

export oto_OnReadCallback

(buf *C.float, length C.size_t)

Source from the content-addressed store, hash-verified

37
38//export oto_OnReadCallback
39func oto_OnReadCallback(buf *C.float, length C.size_t) {
40 theContext.mux.ReadFloat32s(unsafe.Slice((*float32)(unsafe.Pointer(buf)), length))
41}
42
43type context struct {
44 mux *mux.Mux

Callers

nothing calls this directly

Calls 1

ReadFloat32sMethod · 0.80

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…