Olaf
Overly Lightweight Acoustic Fingerprinting
Loading...
Searching...
No Matches
Olaf_Runner Struct Reference

Helps to run query, store, delete or print commands. These share a lot of functionality but differ in crucial parts. To keep this organized the runner keeps some shared state. More...

#include <olaf_runner.h>

Data Fields

Olaf_Configconfig
int mode
Olaf_DBdb
PFFFT_SetupfftSetup
float * fft_in
float * fft_out
FILE * fp_cache_file
FILE * fp_meta_file

Detailed Description

Helps to run query, store, delete or print commands. These share a lot of functionality but differ in crucial parts. To keep this organized the runner keeps some shared state.

Field Documentation

◆ config

Olaf_Config* Olaf_Runner::config

The olaf configuration.

◆ db

Olaf_DB* Olaf_Runner::db

The database.

◆ fft_in

float* Olaf_Runner::fft_in

Input buffer for FFT data.

◆ fft_out

float* Olaf_Runner::fft_out

Output buffer for FFT data.

◆ fftSetup

PFFFT_Setup* Olaf_Runner::fftSetup

The FFT struct that is reused.

◆ fp_cache_file

FILE* Olaf_Runner::fp_cache_file

Cache file for printing fingerprints to if in PRINT or CACHE mode.

◆ fp_meta_file

FILE* Olaf_Runner::fp_meta_file

Meta data file for storing resource meta data.

◆ mode

int Olaf_Runner::mode

The current runner mode (query, store, delete, print, cache).


The documentation for this struct was generated from the following file: