Audacity 3.2.0
AcidizerTags.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 AcidizerTags.h
7
8 Matthieu Hodgkinson
9
10**********************************************************************/
11#pragma once
12
13#include <cassert>
14#include <optional>
15
17{
26{
27 struct OneShot
28 {
29 };
30
31 struct Loop
32 {
33 explicit Loop(double bpm)
34 : bpm { bpm }
35 {
36 }
37 const double bpm;
38 };
39
41 {
42 }
43
45 : isOneShot { true }
46 {
47 }
48
50 : bpm { loop.bpm }
51 {
52 }
53
54 const std::optional<double> bpm;
55 const bool isOneShot = false;
56};
57} // namespace LibFileFormats
Models how SoundForge allows the editing of ACID metadata, as far as our interest goes: setting the t...
Definition: AcidizerTags.h:26
const std::optional< double > bpm
Definition: AcidizerTags.h:54