convert

package
v2.9.0-alpha.1 Latest Latest
Warning

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

Go to latest
Published: Oct 22, 2024 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewFloat32BytesReadSeekerFromInt16BytesReadSeeker added in v2.8.0

func NewFloat32BytesReadSeekerFromInt16BytesReadSeeker(r io.ReadSeeker) io.ReadSeeker

func NewFloat32BytesReaderFromInt16BytesReader added in v2.8.0

func NewFloat32BytesReaderFromInt16BytesReader(r io.Reader) io.Reader

Types

type Resampling

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

func NewResampling

func NewResampling(source io.ReadSeeker, size int64, from, to int, bitDepthInBytes 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 StereoF32 added in v2.8.0

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

func NewStereoF32 added in v2.8.0

func NewStereoF32(source io.ReadSeeker, mono bool) *StereoF32

func (*StereoF32) Read added in v2.8.0

func (s *StereoF32) Read(b []byte) (int, error)

func (*StereoF32) Seek added in v2.8.0

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

type StereoI16 added in v2.8.0

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

func NewStereoI16 added in v2.8.0

func NewStereoI16(source io.ReadSeeker, mono, eight bool) *StereoI16

func (*StereoI16) Read added in v2.8.0

func (s *StereoI16) Read(b []byte) (int, error)

func (*StereoI16) Seek added in v2.8.0

func (s *StereoI16) 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