Home

Awesome

opus-go opus

Package opus provides Go bindings for Opus encoder/decoder reference implementation from Xiph.org.<br /> 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