file

package
v0.0.0-...-6593704 Latest Latest
Warning

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

Go to latest
Published: Mar 24, 2024 License: Unlicense Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	RIFF []byte = []byte{0x52, 0x49, 0x46, 0x46}
	WAVE []byte = []byte{0x57, 0x41, 0x56, 0x45}
	FMT  []byte = []byte{0x66, 0x6d, 0x74, 0x20}
	DATA []byte = []byte{0x64, 0x61, 0x74, 0x61}
)

Functions

This section is empty.

Types

type Loader

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

func NewLoader

func NewLoader(ctl *control.Control, log *ui.Logger, file string) (*Loader, error)

func (*Loader) Close

func (l *Loader) Close() error

func (*Loader) Load

func (l *Loader) Load() error

func (*Loader) StartWatching

func (l *Loader) StartWatching()

func (*Loader) Watch

func (l *Loader) Watch(file string) error

type Recorder

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

func NewRecorder

func NewRecorder(in, out chan struct{ Left, Right float32 }, file string) Recorder

func (*Recorder) StartRecording

func (r *Recorder) StartRecording()

func (*Recorder) StopRecording

func (r *Recorder) StopRecording() error

Jump to

Keyboard shortcuts

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