fakeflac

package
v0.0.0-...-d2cf180 Latest Latest
Warning

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

Go to latest
Published: Feb 13, 2016 License: GPL-3.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Decoder

type Decoder struct {
	Rate int
}

func NewDecoder

func NewDecoder(name string) (d *Decoder, err error)

func (*Decoder) Close

func (d *Decoder) Close()

func (*Decoder) ReadFrame

func (d *Decoder) ReadFrame() (f *Frame, err error)

type Encoder

type Encoder struct {
	Depth int
	Rate  int
}

func NewEncoder

func NewEncoder(name string, channels int, depth int, rate int) (e *Encoder, err error)

func (*Encoder) Close

func (e *Encoder) Close()

func (*Encoder) WriteFrame

func (e *Encoder) WriteFrame(f Frame) (err error)

type Frame

type Frame struct {
	Channels int
	Depth    int
	Rate     int
	Buffer   []int32
}

Jump to

Keyboard shortcuts

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