8000 GitHub - cswank/oto: ♪ A low-level library to play sound on multiple platforms ♪ · GitHub
[go: up one dir, main page]

Skip to content
cswankPublic
forked from ebitengine/oto

About

♪ A low-level library to play sound on multiple platforms ♪

Resources

Stars

0 stars

Watchers

0 watching

Forks

 
 

Repository files navigation

Oto (v2)

Go Reference

A low-level library to play sound.

Platforms

  • Windows
  • macOS
  • Linux
  • FreeBSD
  • OpenBSD
  • Android
  • iOS
  • WebAssembly

Prerequisite

macOS

Oto requies AudioToolbox.framework, but this is automatically linked.

iOS

Oto requies these frameworks:

  • AVFoundation.framework
  • AudioToolbox.framework

Add them to "Linked Frameworks and Libraries" on your Xcode project.

Linux

ALSA 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, OpenBSD

BSD systems are not tested well. If ALSA works, Oto should work.

Crosscompiling

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.

About

♪ A low-level library to play sound on multiple platforms ♪

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages

0