convert

package
v0.0.0-...-e130e5a Latest Latest
Warning

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

Go to latest
Published: May 26, 2018 License: MIT Imports: 2 Imported by: 0

Documentation

Overview

package convert resamples and converts audio data

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ReadSeekCloser

type ReadSeekCloser interface {
	io.ReadSeeker
	io.Closer
}

ReadSeekCloser is an io.ReadSeeker and an io.Closer

type Resampling

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

func NewResampling

func NewResampling(source ReadSeekCloser, 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 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