opus

package module
v0.0.0-...-6313bde Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 17, 2021 License: MIT Imports: 4 Imported by: 2

Documentation

Overview

Package opus is a thin wrapper around the opusfile library.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DecodeOpus

func DecodeOpus(b []byte) (pcm []byte, numChannels int, err error)

DecodeOpus decodes an ogg/opus file in memory to 48kHz 16-bit PCM.

func DecodeOpusFloat

func DecodeOpusFloat(b []byte) (pcm []byte, numChannels int, err error)

DecodeOpusFloat decodes an ogg/opus file in memory to 48kHz 32-bit float PCM.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL