Olaf
Overly Lightweight Acoustic Fingerprinting
|
Caches and finally writes fingerprints to the database. More...
Go to the source code of this file.
Typedefs | |
typedef struct Olaf_FP_DB_Writer | Olaf_FP_DB_Writer |
Functions | |
Olaf_FP_DB_Writer * | olaf_fp_db_writer_new (Olaf_DB *db, uint32_t audio_file_identifier) |
Initialize a new db writer. | |
void | olaf_fp_db_writer_store (Olaf_FP_DB_Writer *olaf_fp_db_writer, struct extracted_fingerprints *fingerprints) |
Cache and store fingerprints. | |
void | olaf_fp_db_writer_delete (Olaf_FP_DB_Writer *olaf_fp_db_writer, struct extracted_fingerprints *fingerprints) |
Cache and delete fingerprints. | |
void | olaf_fp_db_writer_destroy (Olaf_FP_DB_Writer *olaf_fp_db_writer, bool store) |
Free up memory and release resources. | |
Caches and finally writes fingerprints to the database.
void olaf_fp_db_writer_delete | ( | Olaf_FP_DB_Writer * | olaf_fp_db_writer, |
struct extracted_fingerprints * | fingerprints | ||
) |
Cache and delete fingerprints.
olaf_fp_db_writer | The olaf fp database writer. |
fingerprints | The fingerprints. |
void olaf_fp_db_writer_destroy | ( | Olaf_FP_DB_Writer * | olaf_fp_db_writer, |
bool | store | ||
) |
Free up memory and release resources.
olaf_fp_db_writer | The olaf fp database writer | |
[in] | store | True if store needs to be called or false if delete needs to be called. |
Olaf_FP_DB_Writer * olaf_fp_db_writer_new | ( | Olaf_DB * | db, |
uint32_t | audio_file_identifier | ||
) |
Initialize a new db writer.
db | The database. | |
[in] | audio_file_identifier | The audio file identifier. |
void olaf_fp_db_writer_store | ( | Olaf_FP_DB_Writer * | olaf_fp_db_writer, |
struct extracted_fingerprints * | fingerprints | ||
) |
Cache and store fingerprints.
olaf_fp_db_writer | The olaf fp database writer. |
fingerprints | The fingerprints. |