oto

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

  • Owner: ebitengine/oto
  • Platform:
  • License:: Apache License 2.0
  • Category::
  • Topic:
  • Like:
    0
      Compare:

Github stars Tracking Chart

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

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

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

Main metrics

Overview
Name With Ownerebitengine/oto
Primary LanguageGo
Program languageGo (Language Count: 2)
Platform
License:Apache License 2.0
所有者活动
Created At2017-05-04 12:16:30
Pushed At2025-04-07 16:31:03
Last Commit At
Release Count129
Last Release Namev3.4.0-alpha.7 (Posted on )
First Release Namev0.1.0 (Posted on )
用户参与
Stargazers Count1.7k
Watchers Count14
Fork Count145
Commits Count501
Has Issues Enabled
Issues Count195
Issue Open Count24
Pull Requests Count52
Pull Requests Open Count0
Pull Requests Close Count14
项目设置
Has Wiki Enabled
Is Archived
Is Fork
Is Locked
Is Mirror
Is Private