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

Function alsaError

driver_unix.go:50–52  ·  view source on GitHub ↗
(name string, err C.int)

Source from the content-addressed store, hash-verified

48var theContext *context
49
50func alsaError(name string, err C.int) error {
51 return fmt.Errorf("oto: ALSA error at %s: %s", name, C.GoString(C.snd_strerror(err)))
52}
53
54func deviceCandidates() []string {
55 const getAllDevices = -1

Callers 2

alsaPcmHwParamsMethod · 0.85
readAndWriteMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…