Olaf
Overly Lightweight Acoustic Fingerprinting
Loading...
Searching...
No Matches
src
olaf_resource_meta_data.h
1
// Olaf: Overly Lightweight Acoustic Fingerprinting
2
// Copyright (C) 2019-2025 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
35
36
#ifndef OLAF_RESOURCE_META_DATA_H
37
#define OLAF_RESOURCE_META_DATA_H
38
#include <stdbool.h>
39
#include <stdint.h>
40
46
typedef
struct
Olaf_Resource_Meta_data
Olaf_Resource_Meta_data
;
47
48
struct
Olaf_Resource_Meta_data
{
50
float
duration
;
52
long
fingerprints
;
54
char
path
[512];
55
};
56
57
#endif
// OLAF_RESOURCE_META_DATA_H
Olaf_Resource_Meta_data
A struct containing meta data on indexed audio files.
Definition
olaf_resource_meta_data.h:48
Olaf_Resource_Meta_data::path
char path[512]
Definition
olaf_resource_meta_data.h:54
Olaf_Resource_Meta_data::duration
float duration
Definition
olaf_resource_meta_data.h:50
Olaf_Resource_Meta_data::fingerprints
long fingerprints
Definition
olaf_resource_meta_data.h:52
Generated by
1.14.0