Documentation ¶
Index ¶
- Constants
- type CFileFrontend
- func (f *CFileFrontend) Destroy()
- func (f *CFileFrontend) EnableFastAsPossible()
- func (f *CFileFrontend) GetAvailableSampleRates() []uint32
- func (f *CFileFrontend) GetCenterFrequency() uint32
- func (f *CFileFrontend) GetName() string
- func (f *CFileFrontend) GetSampleRate() uint32
- func (f *CFileFrontend) GetShortName() string
- func (f *CFileFrontend) Init() bool
- func (f *CFileFrontend) SetAGC(bool)
- func (f *CFileFrontend) SetAntenna(string)
- func (f *CFileFrontend) SetBiasT(bool)
- func (f *CFileFrontend) SetCenterFrequency(centerFrequency uint32) uint32
- func (f *CFileFrontend) SetGain1(uint8)
- func (f *CFileFrontend) SetGain2(uint8)
- func (f *CFileFrontend) SetGain3(uint8)
- func (f *CFileFrontend) SetSampleRate(sampleRate uint32) uint32
- func (f *CFileFrontend) SetSamplesAvailableCallback(cb Frontend.SamplesCallback)
- func (f *CFileFrontend) Start()
- func (f *CFileFrontend) Stop()
Constants ¶
View Source
const BufferSize = 65535
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CFileFrontend ¶
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) GetSampleRate ¶
func (f *CFileFrontend) GetSampleRate() uint32
func (*CFileFrontend) GetShortName ¶
func (f *CFileFrontend) GetShortName() string
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()
Click to show internal directories.
Click to hide internal directories.