Olaf
Overly Lightweight Acoustic Fingerprinting
Loading...
Searching...
No Matches
olaf_stream_processor.h
Go to the documentation of this file.
1// Olaf: Overly Lightweight Acoustic Fingerprinting
2// Copyright (C) 2019-2023 Joren Six
3
4// This program is free software: you can redistribute it and/or modify
5// it under the terms of the GNU Affero General Public License as published by
6// the Free Software Foundation, either version 3 of the License, or
7// (at your option) any later version.
8
9// This program is distributed in the hope that it will be useful,
10// but WITHOUT ANY WARRANTY; without even the implied warranty of
11// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12// GNU Affero General Public License for more details.
13
14// You should have received a copy of the GNU Affero General Public License
15// along with this program. If not, see <https://www.gnu.org/licenses/>.
16
26#ifndef OLAF_STREAM_PROCESSOR_H
27#define OLAF_STREAM_PROCESSOR_H
28
29 #include "olaf_config.h"
30 #include "olaf_runner.h"
31
38
48 Olaf_Stream_Processor * olaf_stream_processor_new(Olaf_Runner * runner,const char* raw_path,const char* orig_path);
49
55 void olaf_stream_processor_process(Olaf_Stream_Processor * olaf_stream_processor);
56
62 void olaf_stream_processor_destroy(Olaf_Stream_Processor * olaf_stream_processor);
63
64#endif // OLAF_STREAM_PROCESSOR_H
Olaf configuration pramameters.
Helps to run query, store, delete or print commands. These share a lot of functionality but differ in...
void olaf_stream_processor_destroy(Olaf_Stream_Processor *olaf_stream_processor)
Free up memory and release resources.
Definition: olaf_stream_processor.c:54
Olaf_Stream_Processor * olaf_stream_processor_new(Olaf_Runner *runner, const char *raw_path, const char *orig_path)
Initialize a new stream processor.
Definition: olaf_stream_processor.c:35
void olaf_stream_processor_process(Olaf_Stream_Processor *olaf_stream_processor)
Process a file from the first to last audio sample.
Definition: olaf_stream_processor.c:63
Helps to run query, store, delete or print commands. These share a lot of functionality but differ in...
Definition: olaf_runner.h:44
An opaque struct with state information related to the stream processor.
Definition: olaf_stream_processor.c:20