Registry / other / hraban-opus-v2

hraban-opus-v2

JSON →
library2.0.0-20230925203106-0188a62cb302gogounverified

Package opus provides Go bindings for the Opus audio codec, enabling encoding and decoding of Opus audio streams.

go get gopkg.in/hraban/opus.v2
INSTALL
IMPORT
SIG · HRABAN-OPUS-V2
H
hraban-opus-v2
othergov2.0.0-20230925203106-0188a62cb302
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

opus
gopkg.in/hraban/opus.v2

Create a new Opus encoder for 48kHz stereo audio

package main import ( "fmt" "gopkg.in/hraban/opus.v2" ) func main() { enc, err := opus.NewEncoder(48000, 2, opus.AppAudio) if err != nil { panic(err) } fmt.Println(enc) }
Debug
Known issues
gotchaRequires libopus development headers to be installed on the system
fix
Install libopus-dev (Linux) or equivalent on your OS before building
affects: all
Upgrade
Version history
2.0.0-20230925203106-0188a62cb302latest on pkg.go.dev
Audit
Dependencies

No dependency data recorded yet.

Agent activity
7 hits · last 30 days
node
6
Meta
1
Resources
hraban-opus-v2 — go get hraban-opus-v2 · libregistry