A low-level library to play sound. This package offers io.WriteCloser to play PCM sound.
- Windows
- macOS
- Linux
- FreeBSD
- OpenBSD
- Android
- iOS
- Web browsers (GopherJS and WebAssembly)
Oto requies AudioToolbox.framework, but this is automatically linked.
Oto requies these frameworks:
AVFoundation.frameworkAudioToolbox.framework
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-devIn most cases this command must be run by root user or through sudo command.
OpenAL is required. Install openal-soft:
pkg install openal-softOpenAL is required. Install openal:
pkg_add -r openal