A low-level library to play sound. This package offers
io.WriteCloser to play PCM sound.
- Web browsers (GopherJS and WebAssembly)
AudioToolbox.framework, but this is automatically linked.
Oto requies these frameworks:
Add them to "Linked Frameworks and Libraries" on your Xcode project.
libasound2-dev is required. On Ubuntu or Debian, run this command:
apt install libasound2-dev
In most cases this command must be run by root user or through
To crosscompile, make sure the libraries for the target architecture are installed, and set
CGO_ENABLED=1 as Go disables Cgo on crosscompiles by default
OpenAL is required. Install openal-soft:
pkg install openal-soft
OpenAL is required. Install openal:
pkg_add -r openal