CFileFrontend

package
v0.0.0-...-ad85edf Latest Latest
Warning

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

Go to latest
Published: Feb 2, 2019 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

View Source
const BufferSize = 65535

Variables

This section is empty.

Functions

This section is empty.

Types

type CFileFrontend

type CFileFrontend struct {
	sync.Mutex
	// contains filtered or unexported fields
}

region Struct Definition

func NewCFileFrontend

func NewCFileFrontend(filename string) *CFileFrontend

endregion region Constructor

func (*CFileFrontend) Destroy

func (f *CFileFrontend) Destroy()

func (*CFileFrontend) EnableFastAsPossible

func (f *CFileFrontend) EnableFastAsPossible()

func (*CFileFrontend) GetAvailableSampleRates

func (f *CFileFrontend) GetAvailableSampleRates() []uint32

func (*CFileFrontend) GetCenterFrequency

func (f *CFileFrontend) GetCenterFrequency() uint32

func (*CFileFrontend) GetName

func (f *CFileFrontend) GetName() string

endregion region Getters

func (*CFileFrontend) GetSampleRate

func (f *CFileFrontend) GetSampleRate() uint32

func (*CFileFrontend) GetShortName

func (f *CFileFrontend) GetShortName() string

func (*CFileFrontend) Init

func (f *CFileFrontend) Init() bool

endregion region Commands

func (*CFileFrontend) SetAGC

func (f *CFileFrontend) SetAGC(bool)

func (*CFileFrontend) SetAntenna

func (f *CFileFrontend) SetAntenna(string)

func (*CFileFrontend) SetBiasT

func (f *CFileFrontend) SetBiasT(bool)

func (*CFileFrontend) SetCenterFrequency

func (f *CFileFrontend) SetCenterFrequency(centerFrequency uint32) uint32

func (*CFileFrontend) SetGain1

func (f *CFileFrontend) SetGain1(uint8)

func (*CFileFrontend) SetGain2

func (f *CFileFrontend) SetGain2(uint8)

func (*CFileFrontend) SetGain3

func (f *CFileFrontend) SetGain3(uint8)

func (*CFileFrontend) SetSampleRate

func (f *CFileFrontend) SetSampleRate(sampleRate uint32) uint32

func (*CFileFrontend) SetSamplesAvailableCallback

func (f *CFileFrontend) SetSamplesAvailableCallback(cb Frontend.SamplesCallback)

endregion region Setters

func (*CFileFrontend) Start

func (f *CFileFrontend) Start()

func (*CFileFrontend) Stop

func (f *CFileFrontend) Stop()

Jump to

Keyboard shortcuts

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