You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
cointop/vendor/github.com/hajimehoshi/oto
Miguel Mota 060286af9c Set up notification package 4 years ago
..
internal/mux Set up notification package 4 years ago
.gitignore Set up notification package 4 years ago
AUTHORS Set up notification package 4 years ago
LICENSE Set up notification package 4 years ago
README.md Set up notification package 4 years ago
context.go Set up notification package 4 years ago
driver_android.go Set up notification package 4 years ago
driver_js.go Set up notification package 4 years ago
driver_linux.go Set up notification package 4 years ago
driver_openal.go Set up notification package 4 years ago
driver_windows.go Set up notification package 4 years ago
go.mod Set up notification package 4 years ago
go.sum Set up notification package 4 years ago
player.go Set up notification package 4 years ago
winmm_windows.go Set up notification package 4 years ago

README.md

Oto (音)

GoDoc

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

Platforms

  • Windows
  • macOS
  • Linux
  • FreeBSD
  • 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