dsp

package
v0.0.1 Latest Latest
Warning

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

Go to latest
Published: Nov 23, 2019 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type JitterBuf

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

func NewJitterBuf

func NewJitterBuf(p JitterBufParams) (*JitterBuf, error)

func (*JitterBuf) Read

func (j *JitterBuf) Read() ([]int16, error)

func (*JitterBuf) Stop

func (j *JitterBuf) Stop()

func (*JitterBuf) Write

func (j *JitterBuf) Write(buf []int16)

type JitterBufParams

type JitterBufParams struct {
	Rate         int
	Channels     int
	FrameLength  time.Duration
	BufferLength time.Duration
	MaxDrift     time.Duration
	Debug        bool
}

Jump to

Keyboard shortcuts

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