Olaf
Overly Lightweight Acoustic Fingerprinting
|
Olaf fingerprint extractor: combines event points into fingerprints. More...
Go to the source code of this file.
Typedefs | |
typedef struct Olaf_FP_File_Writer | Olaf_FP_File_Writer |
Functions | |
Olaf_FP_File_Writer * | olaf_fp_file_writer_new (Olaf_Config *olaf_config, uint32_t audio_file_identifier) |
Create a new file writer. | |
void | olaf_fp_file_writer_store (Olaf_FP_File_Writer *olaf_fp_file_writer, struct extracted_fingerprints *fingerprints) |
Store fingerprints in memory to write to a file later on. | |
void | olaf_fp_file_writer_destroy (Olaf_FP_File_Writer *olaf_fp_file_writer) |
Free resources related to the file writer. Also write the fingerprints to a ".tdb" file in the configured cache directory. | |
Olaf fingerprint extractor: combines event points into fingerprints.
The fingerprint extractor is responsible for combining event points into fingerprints and also defines the fingerprint struct.
void olaf_fp_file_writer_destroy | ( | Olaf_FP_File_Writer * | olaf_fp_file_writer | ) |
Free resources related to the file writer. Also write the fingerprints to a ".tdb" file in the configured cache directory.
olaf_fp_file_writer | The olaf fp file writer state info. |
Olaf_FP_File_Writer * olaf_fp_file_writer_new | ( | Olaf_Config * | olaf_config, |
uint32_t | audio_file_identifier | ||
) |
Create a new file writer.
olaf_config | The olaf configuration with the location to store the cached file. | |
[in] | audio_file_identifier | The audio file identifier. The audio file identifier is used in the file name. |
void olaf_fp_file_writer_store | ( | Olaf_FP_File_Writer * | olaf_fp_file_writer, |
struct extracted_fingerprints * | fingerprints | ||
) |
Store fingerprints in memory to write to a file later on.
olaf_fp_file_writer | The olaf fp file writer state information. |
fingerprints | The fingerprint list to store. |