mp3encoder

package
v1.1.0 Latest Latest
Warning

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

Go to latest
Published: Jun 6, 2021 License: AGPL-3.0 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 {
	// contains filtered or unexported fields
}

func NewEncoder

func NewEncoder(channels int32, sampleRate int32, bitRate uint) *Encoder

func (*Encoder) Encode

func (encoder *Encoder) Encode(out []byte, data []byte) int

func (*Encoder) EndStream

func (encoder *Encoder) EndStream(out []byte) int

func (*Encoder) GranulePos

func (encoder *Encoder) GranulePos() int64

Jump to

Keyboard shortcuts

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