Skip to content

Latest commit

 

History

History
44 lines (29 loc) · 760 Bytes

README.md

File metadata and controls

44 lines (29 loc) · 760 Bytes

Oto (音)

GoDoc

A low-level library to play sound. This package offers io.WriteCloser to play PCM sound.

Platforms

  • Windows
  • macOS
  • Linux
  • FreeBSD
  • OpenBSD
  • Android
  • iOS
  • Web browsers (GopherJS and WebAssembly)

Prerequisite

Linux

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 sudo command.

FreeBSD

OpenAL is required. Install openal-soft:

pkg install openal-soft

OpenBSD

OpenAL is required. Install openal:

pkg_add -r openal