audio

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: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Init

func Init() error

func Terminate

func Terminate() error

Types

type Context

type Context struct {
	*portaudio.Stream
	Input chan struct{ Left, Right float32 }
}

func NewContext

func NewContext(input chan struct{ Left, Right float32 }, sampleRate float64) (*Context, error)

func (*Context) Process

func (c *Context) Process(out [][]float32)

type ProcessCallback

type ProcessCallback func([]float32)

Jump to

Keyboard shortcuts

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