Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/xlab/opus-go
- Owner: xlab
- Created: 2016-09-27T19:15:50.000Z (about 8 years ago)
- Default Branch: master
- Last Pushed: 2016-09-27T19:17:36.000Z (about 8 years ago)
- Last Synced: 2024-06-20T05:13:16.613Z (5 months ago)
- Language: C
- Size: 31.3 KB
- Stars: 16
- Watchers: 3
- Forks: 5
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
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
```