Skip to content

Latest commit

 

History

History
26 lines (18 loc) · 823 Bytes

README.md

File metadata and controls

26 lines (18 loc) · 823 Bytes

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