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

Holds the complete processing state for the WASM-based Olaf instance. More...

Data Fields

float * audio
size_t audio_block_index
size_t audio_sample_index
PFFFT_SetupfftSetup
float * fft_in
float * fft_out
Olaf_Configconfig
Olaf_DBdb
Olaf_EP_Extractorep_extractor
Olaf_FP_Extractorfp_extractor
Olaf_FP_Matcherfp_matcher
struct extracted_event_pointseventPoints
struct extracted_fingerprintsfingerprints

Detailed Description

Holds the complete processing state for the WASM-based Olaf instance.

Field Documentation

◆ audio

float* Olaf_State::audio

Buffer for incoming audio samples

◆ audio_block_index

size_t Olaf_State::audio_block_index

Index of the current audio block

◆ audio_sample_index

size_t Olaf_State::audio_sample_index

Index of the current audio sample within the block

◆ config

Olaf_Config* Olaf_State::config

Reference to the Olaf configuration

◆ db

Olaf_DB* Olaf_State::db

Reference to the fingerprint database

◆ ep_extractor

Olaf_EP_Extractor* Olaf_State::ep_extractor

Event point extractor instance

◆ eventPoints

struct extracted_event_points* Olaf_State::eventPoints

Pointer to the current extracted event points

◆ fft_in

float* Olaf_State::fft_in

FFT input buffer

◆ fft_out

float* Olaf_State::fft_out

FFT output buffer

◆ fftSetup

PFFFT_Setup* Olaf_State::fftSetup

FFT configuration and twiddle factors

◆ fingerprints

struct extracted_fingerprints* Olaf_State::fingerprints

Pointer to the current extracted fingerprints

◆ fp_extractor

Olaf_FP_Extractor* Olaf_State::fp_extractor

Fingerprint extractor instance

◆ fp_matcher

Olaf_FP_Matcher* Olaf_State::fp_matcher

Fingerprint matcher instance


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