ebiten: github.com/hajimehoshi/ebiten/audio/internal/convert Index | Files

package convert

import "github.com/hajimehoshi/ebiten/audio/internal/convert"

Index

Package Files

float32.go resampling.go stereo16.go

func NewReaderFromFloat32Reader Uses

func NewReaderFromFloat32Reader(r Float32Reader) io.Reader

type Float32Reader Uses

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

type Resampling Uses

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

func NewResampling Uses

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

func (*Resampling) Close Uses

func (r *Resampling) Close() error

func (*Resampling) Length Uses

func (r *Resampling) Length() int64

func (*Resampling) Read Uses

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

func (*Resampling) Seek Uses

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

type Stereo16 Uses

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

func NewStereo16 Uses

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

func (*Stereo16) Close Uses

func (s *Stereo16) Close() error

func (*Stereo16) Read Uses

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

func (*Stereo16) Seek Uses

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

Package convert imports 3 packages (graph) and is imported by 6 packages. Updated 2019-05-10. Refresh now. Tools for package owners.