Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/xlab/opus-go

Package opus provides Go bindings for Opus encoder/decoder reference implementation by Xiph.org
https://github.com/xlab/opus-go

Last synced: about 1 month ago
JSON representation

Package opus provides Go bindings for Opus encoder/decoder reference implementation by Xiph.org

Awesome Lists containing this project

README

        

opus-go ![opus](https://xiph.org/images/logos/fish_xiph_org.png)
=======

Package opus provides Go bindings for Opus encoder/decoder reference implementation from [Xiph.org](https://www.xiph.org).

All the binding code has automatically been generated with rules defined in [opus.yml](/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](https://github.com/xlab/libvpx-go/blob/master/cmd/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](https://git.io/cgogen) tool installed first.

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