SpectrumMathBindings class

Bindings for src/common_api_spect.h.

Regenerate bindings with dart run ffigen --config ffigen.yaml.

Constructors

SpectrumMathBindings(DynamicLibrary dynamicLibrary)
The symbols are looked up in dynamicLibrary.
SpectrumMathBindings.fromLookup(Pointer<T> lookup<T extends NativeType>(String symbolName))
The symbols are looked up with lookup.

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

createSpectrumMath(int sampl_rate, int fft_window, int process_win_freq) Pointer<NativeSpectrumMath>
freeSpectrumMath(Pointer<NativeSpectrumMath> arg0) → void
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
SpectrumMathClearData(Pointer<NativeSpectrumMath> spectrumMathPtr) → void
SpectrumMathComputeSpectrum(Pointer<NativeSpectrumMath> spectrumMathPtr, Pointer<Double> vals_arr, int arr_size) → void
SpectrumMathGetFFTBinsFor1Hz(Pointer<NativeSpectrumMath> spectrumMathPtr) double
SpectrumMathGetFFTWindow(Pointer<NativeSpectrumMath> spectrumMathPtr) int
SpectrumMathInitParams(Pointer<NativeSpectrumMath> spectrumMathPtr, int up_border_frequency, bool normalize_spect_by_bandwidth) → void
SpectrumMathProcessData(Pointer<NativeSpectrumMath> spectrumMathPtr) → void
SpectrumMathPushData(Pointer<NativeSpectrumMath> spectrumMathPtr, Pointer<Double> samples, int sampleCount) → void
SpectrumMathReadRawSpectrumInfo(Pointer<NativeSpectrumMath> spectrumMathPtr, Pointer<NativeRawSpectrumData> raw_spect_data) → void
SpectrumMathReadRawSpectrumInfoArr(Pointer<NativeSpectrumMath> spectrumMathPtr, Pointer<NativeRawSpectrumData> raw_spect_data_arr, Pointer<Uint32> arr_size) → void
SpectrumMathReadSpectrumArrSize(Pointer<NativeSpectrumMath> spectrumMathPtr) int
SpectrumMathReadWavesSpectrumInfo(Pointer<NativeSpectrumMath> spectrumMathPtr, Pointer<NativeWavesSpectrumData> waves_spect_data) → void
SpectrumMathReadWavesSpectrumInfoArr(Pointer<NativeSpectrumMath> spectrumMathPtr, Pointer<NativeWavesSpectrumData> waves_spect_data_arr, Pointer<Uint32> arr_size) → void
SpectrumMathReleaseNativeArray(Pointer<Double> arrayPtr) → void
SpectrumMathSetFFTWinLengthAndProccessFreq(Pointer<NativeSpectrumMath> spectrumMathPtr, int fft_win_length, int process_win_freq) → void
SpectrumMathSetHammingWinSpect(Pointer<NativeSpectrumMath> spectrumMathPtr) → void
SpectrumMathSetHanningWinSpect(Pointer<NativeSpectrumMath> spectrumMathPtr) → void
SpectrumMathSetNewSampleSize(Pointer<NativeSpectrumMath> spectrumMathPtr) → void
SpectrumMathSetSquaredSpect(Pointer<NativeSpectrumMath> spectrumMathPtr, bool fl) → void
SpectrumMathSetWavesCoeffs(Pointer<NativeSpectrumMath> spectrumMathPtr, double d_coef, double t_coef, double a_coef, double b_coef, double g_coef) → void
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited