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 year 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 (almost 10 years ago)
- Default Branch: master
- Last Pushed: 2025-03-25T08:18:35.000Z (over 1 year ago)
- Last Synced: 2025-03-25T09:26:07.580Z (over 1 year ago)
- Language: C
- Size: 35.2 KB
- Stars: 17
- Watchers: 2
- Forks: 6
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
opus-go 
=======
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 [c-for-go](https://git.io/c-for-go) tool installed first.
```
$ git clone https://github.com/xlab/opus-go && cd opus-go
$ make clean
$ make
```