opus

package
v0.0.0-...-69b8586 Latest Latest
Warning

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

Go to latest
Published: Apr 9, 2023 License: BSD-2-Clause Imports: 10 Imported by: 0

Documentation

Index

Constants

View Source
const FixedSampleRate int = 48000

Variables

This section is empty.

Functions

This section is empty.

Types

type Format

type Format struct {
}

func NewFormat

func NewFormat() Format

func (Format) DecoderDescription

func (f Format) DecoderDescription() string

func (Format) Encode

func (f Format) Encode(source audio.Source, writer io.WriteCloser, options map[string]interface{}) error

func (Format) EncoderDescription

func (f Format) EncoderDescription() string

func (Format) Identify

func (f Format) Identify(peek [format.IdentifyPeekBytes]byte, extension string) bool

func (Format) Name

func (f Format) Name() string

func (Format) Open

func (f Format) Open(r io.ReadSeekCloser) (audio.Source, error)

Jump to

Keyboard shortcuts

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