convert

package
v2.7.2 Latest Latest
Warning

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

Go to latest
Published: Apr 18, 2024 License: Apache-2.0 Imports: 3 Imported by: 0

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) Length

func (r *Resampling) Length() int64

func (*Resampling) Read

func (r *Resampling) Read(b []byte) (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 io.ReadSeeker, mono, eight bool) *Stereo16

func (*Stereo16) Read

func (s *Stereo16) Read(b []byte) (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