file

package
v0.0.0-...-fff4e01 Latest Latest
Warning

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

Go to latest
Published: Jan 10, 2022 License: GPL-3.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type FileDevice

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

func NewFileDevice

func NewFileDevice(file string, readSize int, sampleRate int, centerFreq int, timeBetween time.Duration) (*FileDevice, error)

func (*FileDevice) MaxSampleRate

func (f *FileDevice) MaxSampleRate() int

func (*FileDevice) Start

func (f *FileDevice) Start(ctx context.Context, centerFreq int, sampleRate int, complexSamples chan *types.SegmentComplex64) error

func (*FileDevice) Stop

func (f *FileDevice) Stop() error

Jump to

Keyboard shortcuts

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