Audacity 3.2.0
GetAcidizerTags.h
Go to the documentation of this file.
1/* SPDX-License-Identifier: GPL-2.0-or-later */
2/*!********************************************************************
3
4 Audacity: A Digital Audio Editor
5
6 GetAcidizerTags.h
7
8 Matthieu Hodgkinson
9
10**********************************************************************/
11#pragma once
12
13#include <optional>
14#include <string>
15#include <vector>
16
17// SNDFILE is defined differently between libsndfile versions
18// making forward declarations impossible.
19#include <sndfile.h>
20
21namespace LibFileFormats
22{
23struct AcidizerTags;
24}
25
26namespace LibImportExport
27{
38std::optional<LibFileFormats::AcidizerTags> IMPORT_EXPORT_API GetAcidizerTags(
39 SNDFILE& file, const std::vector<std::string>& trustedDistributors);
40} // namespace LibImportExport
std::optional< LibFileFormats::AcidizerTags > GetAcidizerTags(SNDFILE &file, const std::vector< std::string > &trustedDistributors)
Get the Acidizer tags from a file if from a trusted distributor.