Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewReaderFromFloat32Reader

func NewReaderFromFloat32Reader(r Float32Reader) io.Reader

Types

type Float32Reader

type Float32Reader interface {
	Read([]float32) (int, error)
}

type Resampling

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

func NewResampling

func NewResampling(source io.ReadSeeker, size int64, from, to int) *Resampling

func (*Resampling) Close

func (r *Resampling) Close() error

func (*Resampling) Length

func (r *Resampling) Length() int64

func (*Resampling) Read

func (r *Resampling) Read(b []uint8) (int, error)

func (*Resampling) Seek

func (r *Resampling) Seek(offset int64, whence int) (int64, error)

type Stereo16

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

func NewStereo16

func NewStereo16(source audio.ReadSeekCloser, mono, eight bool) *Stereo16

func (*Stereo16) Close

func (s *Stereo16) Close() error

func (*Stereo16) Read

func (s *Stereo16) Read(b []uint8) (int, error)

func (*Stereo16) Seek

func (s *Stereo16) Seek(offset int64, whence int) (int64, error)