Package opus provides Go bindings for Opus encoder/decoder reference implementation by Xiph.org
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
opus
Makefile
README.md
opus.yml

README.md

opus-go opus

Package opus provides Go bindings for Opus encoder/decoder reference implementation from Xiph.org.
All the binding code has automatically been generated with rules defined in opus.yml.

Installation

$ brew install opus
$ go get github.com/xlab/opus-go/opus

Usage

For an example of use see webm-player/adecoder.go, the audio decoding module of an WebM player in Golang. It's very easy in comparison with Ogg/Vorbis.

Rebuilding the package

You will need to get the cgogen tool installed first.

$ git clone https://github.com/xlab/opus-go && cd opus-go
$ make clean
$ make