Go bindings for miniaudio library.
Requires cgo
but does not require linking to anything on the Windows/macOS and it links only -ldl
on Linux/BSDs.
go get -u github.com/companyzero/malgo
Documentation on GoDoc. Also check examples.
- Windows (WASAPI, DirectSound, WinMM)
- Linux (PulseAudio, ALSA, JACK)
- FreeBSD/NetBSD/OpenBSD (OSS/audio(4)/sndio)
- macOS/iOS (CoreAudio)
- Android (OpenSL|ES, AAudio)