fclib

package
v0.0.0-...-b8cf02d Latest Latest
Warning

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

Go to latest
Published: Nov 8, 2020 License: GPL-3.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

View Source
const BLOCK_SIZE int = 256
View Source
const E_FAIL int = 0
View Source
const FALSE int = 0
View Source
const FEC_BLOCK_SIZE int = 650
View Source
const MASK_FFT_RANGE_LIMIT int = 0x07
View Source
const MASK_FFT_TUNER int = 0x30
View Source
const MASK_PREMIX_ENABLE int = 0x40
View Source
const PREAMBLE_SIZE int = 768
View Source
const SYNC_VECTOR int = 0x1acffc1d
View Source
const SYNC_VECTOR_SIZE int = 32
View Source
const S_FALSE int = 0
View Source
const S_OK int = 1
View Source
const TRUE int = 1

Variables

View Source
var Swig_escape_always_false bool
View Source
var Swig_escape_val interface{}

Functions

func Callback_ClearOnDecodeReady

func Callback_ClearOnDecodeReady(callbackFunc OnDecodeReadyFunc)

Callback_ClearOnDecodeReady clears the function to be called when data is decoded and ready to collect

func Callback_SetOnDecodeReady

func Callback_SetOnDecodeReady(callbackFunc OnDecodeReadyFunc)

Callback_SetOnDecodeReady sets the function to be called when data is decoded and ready to collect

func Callback_Test

func Callback_Test()

func CleanupCallbackShim

func CleanupCallbackShim()

func Decode_CollectFftOutput

func Decode_CollectFftOutput(arg1 *float32, arg2 *uint32) (_swig_ret int)

func Decode_CollectFftOutputByRange

func Decode_CollectFftOutputByRange(arg1 float32, arg2 float32, arg3 *float32, arg4 *uint32) (_swig_ret int)

func Decode_CollectLastData

func Decode_CollectLastData(arg1 *byte, arg2 *uint32, arg3 *float32, arg4 *int) (_swig_ret int)

func Decode_EnableMonitorAudio

func Decode_EnableMonitorAudio(arg1 int)

func Decode_EnumDevices

func Decode_EnumDevices(arg1 *_swig_fnptr) (_swig_ret int)

func Decode_ExcludePeaks

func Decode_ExcludePeaks(arg1 *float32, arg2 *uint32) (_swig_ret int)

func Decode_GetWorkerAvailability

func Decode_GetWorkerAvailability(arg1 *uint, arg2 *uint32) (_swig_ret int)

func Decode_GetWorkerPeaks

func Decode_GetWorkerPeaks(arg1 *float32, arg2 *uint32) (_swig_ret int)

func Decode_Initialize

func Decode_Initialize() (_swig_ret int)

func Decode_IsStarted

func Decode_IsStarted() (_swig_ret int)

func Decode_LastError

func Decode_LastError() (_swig_ret string)

func Decode_RefreshAudioDevices

func Decode_RefreshAudioDevices() (_swig_ret int)

func Decode_RemoveDCOffset

func Decode_RemoveDCOffset(arg1 int)

func Decode_SetAutoTuneFrequencyRange

func Decode_SetAutoTuneFrequencyRange(arg1 float32, arg2 float32)

func Decode_SetManualTuneFrequency

func Decode_SetManualTuneFrequency(arg1 float32)

func Decode_SetOnDataCallback

func Decode_SetOnDataCallback(arg1 *_swig_fnptr) (_swig_ret int)

func Decode_SetOnDataReadyCallback

func Decode_SetOnDataReadyCallback(arg1 *_swig_fnptr) (_swig_ret int)

func Decode_SetPeakDetectParams

func Decode_SetPeakDetectParams(arg1 uint, arg2 float64)

func Decode_SetTrackingParams

func Decode_SetTrackingParams(arg1 int) (_swig_ret int)

func Decode_SetWorkerCount

func Decode_SetWorkerCount(arg1 uint32) (_swig_ret int)

func Decode_Shutdown

func Decode_Shutdown() (_swig_ret int)

func Decode_Start

func Decode_Start(arg1 string, arg2 string, arg3 int, arg4 int) (_swig_ret int)

func Decode_StartByIndex

func Decode_StartByIndex(arg1 int, arg2 int, arg3 int, arg4 int) (_swig_ret int)

func Decode_Stop

func Decode_Stop() (_swig_ret int)

func DeleteCallbackShim

func DeleteCallbackShim(arg1 CallbackShim)

func DeleteDirectorCallbackShim

func DeleteDirectorCallbackShim(arg1 CallbackShim)

func DirectorCallbackShimRun

func DirectorCallbackShimRun(p CallbackShim)

func Dongle_BiasTEnable

func Dongle_BiasTEnable(arg1 int) (_swig_ret int)

func Dongle_Exists

func Dongle_Exists() (_swig_ret int)

func Dongle_GetFrequency

func Dongle_GetFrequency() (_swig_ret uint32)

func Dongle_Initialize

func Dongle_Initialize() (_swig_ret int)

func Dongle_SetFrequency

func Dongle_SetFrequency(arg1 uint32) (_swig_ret int)

func Dongle_Shutdown

func Dongle_Shutdown() (_swig_ret int)

func Encode_AllDataCollected

func Encode_AllDataCollected() (_swig_ret int)

func Encode_CanCollect

func Encode_CanCollect() (_swig_ret int)

func Encode_CollectSamples

func Encode_CollectSamples(arg1 *byte, arg2 *uint32) (_swig_ret int)

func Encode_Initialize

func Encode_Initialize() (_swig_ret int)

func Encode_PushData

func Encode_PushData(arg1 *byte, arg2 uint32) (_swig_ret int)

func Encode_Shutdown

func Encode_Shutdown() (_swig_ret int)

func GetHALF_PI

func GetHALF_PI() (_swig_ret float64)

func GetHZ_PER_BIN

func GetHZ_PER_BIN() (_swig_ret float32)

func GetPI

func GetPI() (_swig_ret float64)

func GetTWO_PI

func GetTWO_PI() (_swig_ret float64)

func InitialiseCallbackShim

func InitialiseCallbackShim(arg1 CallbackShim)

func Library_CheckFftwExists

func Library_CheckFftwExists() (_swig_ret int)

func Library_GetVersion

func Library_GetVersion() (_swig_ret uint)

func Library_SetOnLogMessageCallback

func Library_SetOnLogMessageCallback(arg1 *_swig_fnptr) (_swig_ret int)

func LogMessage

func LogMessage(arg1 int, arg2 Std_string)

func OnDataReadyShim

func OnDataReadyShim()

func RunCallback

func RunCallback()

func SetG_shimInstance

func SetG_shimInstance(arg1 CallbackShim)

func Swig_DirectorCallbackShim_callback_run_fclib_a388184c668b9ee2

func Swig_DirectorCallbackShim_callback_run_fclib_a388184c668b9ee2(swig_c int)

func Swig_free

func Swig_free(arg1 uintptr)

func Swig_malloc

func Swig_malloc(arg1 int) (_swig_ret uintptr)

func Swiggo_DeleteDirector_CallbackShim_fclib_a388184c668b9ee2

func Swiggo_DeleteDirector_CallbackShim_fclib_a388184c668b9ee2(c int)

func TimeGetTime

func TimeGetTime() (_swig_ret uint32)

Types

type CallbackShim

type CallbackShim interface {
	Swigcptr() uintptr
	SwigIsCallbackShim()
	DirectorInterface() interface{}
	Run()
}

func GetG_shimInstance

func GetG_shimInstance() (_swig_ret CallbackShim)

func NewCallbackShim

func NewCallbackShim() (_swig_ret CallbackShim)

func NewDirectorCallbackShim

func NewDirectorCallbackShim(v interface{}) CallbackShim

type FFTRangeLimit

type FFTRangeLimit int
var FFTRangeLimit_010 FFTRangeLimit = _swig_getFFTRangeLimit_010()
var FFTRangeLimit_020 FFTRangeLimit = _swig_getFFTRangeLimit_020()
var FFTRangeLimit_040 FFTRangeLimit = _swig_getFFTRangeLimit_040()
var FFTRangeLimit_080 FFTRangeLimit = _swig_getFFTRangeLimit_080()
var FFTRangeLimit_140 FFTRangeLimit = _swig_getFFTRangeLimit_140()
var FFTRangeLimit_200 FFTRangeLimit = _swig_getFFTRangeLimit_200()
var FFTRangeLimit_Off FFTRangeLimit = _swig_getFFTRangeLimit_Off()
var FFTRangeLimit_Slope FFTRangeLimit = _swig_getFFTRangeLimit_Slope()

type FFTTunerState

type FFTTunerState int
var FFTTunerState_Lock FFTTunerState = _swig_getFFTTunerState_Lock()
var FFTTunerState_Off FFTTunerState = _swig_getFFTTunerState_Off()
var FFTTunerState_On FFTTunerState = _swig_getFFTTunerState_On()

type OnDecodeReadyFunc

type OnDecodeReadyFunc func()

OnDecodeReadyFunc Signature of method required to receive notifications data ready

type Std_string

type Std_string interface {
	Swigcptr() uintptr
}

type SwigDirector_CallbackShim

type SwigDirector_CallbackShim interface {
	Swigcptr() uintptr
}

type SwigcptrCallbackShim

type SwigcptrCallbackShim uintptr

func (SwigcptrCallbackShim) DirectorInterface

func (p SwigcptrCallbackShim) DirectorInterface() interface{}

func (SwigcptrCallbackShim) Run

func (arg1 SwigcptrCallbackShim) Run()

func (SwigcptrCallbackShim) SwigIsCallbackShim

func (p SwigcptrCallbackShim) SwigIsCallbackShim()

func (SwigcptrCallbackShim) Swigcptr

func (p SwigcptrCallbackShim) Swigcptr() uintptr

type SwigcptrStd_string

type SwigcptrStd_string uintptr

func (SwigcptrStd_string) Swigcptr

func (p SwigcptrStd_string) Swigcptr() uintptr

type SwigcptrSwigDirector_CallbackShim

type SwigcptrSwigDirector_CallbackShim uintptr

func (SwigcptrSwigDirector_CallbackShim) Swigcptr

Jump to

Keyboard shortcuts

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