opus

package
v0.0.0-...-771d5d4 Latest Latest
Warning

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

Go to latest
Published: Dec 5, 2024 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Encoder

type Encoder struct {
	SampleRate int
	Channels   int
	// contains filtered or unexported fields
}

func NewEncoder

func NewEncoder(sampleRate int) (*Encoder, error)

func (*Encoder) Encode

func (e *Encoder) Encode(pcm []float32) ([]byte, error)

Jump to

Keyboard shortcuts

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