convert

package
v1.12.8 Latest Latest
Warning

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

Go to latest
Published: Feb 14, 2021 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewReaderFromFloat32Reader added in v1.9.0

func NewReaderFromFloat32Reader(r Float32Reader) io.Reader

Types

type Float32Reader added in v1.9.0

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 added in v1.6.0

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)

Jump to

Keyboard shortcuts

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