flac

package
v0.0.0-...-4f25709 Latest Latest
Warning

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

Go to latest
Published: Oct 21, 2022 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetVersion

func GetVersion() string

Types

type FlacDecoder

type FlacDecoder struct {
	// contains filtered or unexported fields
}

func NewFlacFrameDecoder

func NewFlacFrameDecoder(maxOutputSampleBitDepth int) (*FlacDecoder, error)

func (*FlacDecoder) Close

func (d *FlacDecoder) Close() error

func (*FlacDecoder) DecodeSamples

func (d *FlacDecoder) DecodeSamples(samples int, audio []byte) (int, error)

func (*FlacDecoder) Delete

func (d *FlacDecoder) Delete() error

func (*FlacDecoder) GetFormat

func (d *FlacDecoder) GetFormat() (int, int, int)

func (*FlacDecoder) GetResolvedState

func (d *FlacDecoder) GetResolvedState() string

func (*FlacDecoder) Open

func (d *FlacDecoder) Open(filePath string) error

func (*FlacDecoder) Seek

func (d *FlacDecoder) Seek(offset int64, whence int) (int64, error)

func (*FlacDecoder) TellCurrentSample

func (d *FlacDecoder) TellCurrentSample() int64

func (*FlacDecoder) TotalSamples

func (d *FlacDecoder) TotalSamples() int64

Jump to

Keyboard shortcuts

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