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/gen2brain/malgo
Documentation on GoDoc. Also check examples.
- Windows (WASAPI, DirectSound, WinMM)
- Linux (PulseAudio, ALSA, JACK)
- FreeBSD/NetBSD/OpenBSD (OSS/audio(4)/sndio)
- macOS (CoreAudio)
- Android (OpenSL|ES, AAudio)