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

A matcher matches extracted fingerprints with a database. A struct to keep the internal state of the matcher hidden and should not be used in other places. More...

#include <olaf_fp_matcher.h>

Data Fields

HashTableresult_hash_table
Olaf_DBdb
Olaf_Configconfig
uint64_t * db_results
Olaf_FP_Matcher_Result_Callback result_callback
const char * header
int last_print_at

Detailed Description

A matcher matches extracted fingerprints with a database. A struct to keep the internal state of the matcher hidden and should not be used in other places.

Field Documentation

◆ config

Olaf_Config* Olaf_FP_Matcher::config

The configuration of Olaf

◆ db

Olaf_DB* Olaf_FP_Matcher::db

The database to use

◆ db_results

uint64_t* Olaf_FP_Matcher::db_results

List of results returned by the database, limited to maxDBCollisions

◆ header

const char* Olaf_FP_Matcher::header

Optional header string for result output

◆ last_print_at

int Olaf_FP_Matcher::last_print_at

Audio block index of the last printed result

◆ result_callback

Olaf_FP_Matcher_Result_Callback Olaf_FP_Matcher::result_callback

Callback invoked for each match result

◆ result_hash_table

HashTable* Olaf_FP_Matcher::result_hash_table

Hash table mapping match_id/time-diff combinations to match structs


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