opus

package
Version: v0.0.0-...-944ce18 Latest Latest
Warning

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

Go to latest
Published: Nov 28, 2020 License: MPL-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

View Source
const ID = 4

Variables

Functions

This section is empty.

Types

type Decoder

type Decoder struct {
	*gopus.Decoder
}

func (*Decoder) Decode

func (d *Decoder) Decode(data []byte, frameSize int) ([]int16, error)

func (*Decoder) ID

func (*Decoder) ID() int

func (*Decoder) Reset

func (d *Decoder) Reset()

type Encoder

type Encoder struct {
	*gopus.Encoder
}

func (*Encoder) Encode

func (e *Encoder) Encode(pcm []int16, mframeSize, maxDataBytes int) ([]byte, error)

func (*Encoder) ID

func (*Encoder) ID() int

func (*Encoder) Reset

func (e *Encoder) Reset()

Source Files

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
t or T : Toggle theme light dark auto
y or Y : Canonical URL