Audacity 3.2.0
Classes | Public Member Functions | Public Attributes | List of all members
LibImportExport::Test::AcidizerTags Struct Reference

In the Audacity code, we only are interested in LibFileFormats::AcidizerTags and the information it carries, but for testing we need to mimic more than one way ACID metadata may be set out there. We therefore need to be able to set tempo, beats and one-shot status independently. More...

#include <LibsndfileTagger.h>

Inheritance diagram for LibImportExport::Test::AcidizerTags:
[legend]
Collaboration diagram for LibImportExport::Test::AcidizerTags:
[legend]

Classes

struct  Beats
 

Public Member Functions

 AcidizerTags (Beats beats)
 
- Public Member Functions inherited from LibFileFormats::AcidizerTags
 AcidizerTags ()
 
 AcidizerTags (OneShot)
 
 AcidizerTags (Loop loop)
 

Public Attributes

const std::optional< int > beats
 
- Public Attributes inherited from LibFileFormats::AcidizerTags
const std::optional< double > bpm
 
const bool isOneShot = false
 

Detailed Description

In the Audacity code, we only are interested in LibFileFormats::AcidizerTags and the information it carries, but for testing we need to mimic more than one way ACID metadata may be set out there. We therefore need to be able to set tempo, beats and one-shot status independently.

Definition at line 33 of file LibsndfileTagger.h.

Constructor & Destructor Documentation

◆ AcidizerTags()

LibImportExport::Test::AcidizerTags::AcidizerTags ( Beats  beats)
inline

Definition at line 46 of file LibsndfileTagger.h.

47 : beats { beats.beats }
48 {
49 }
const std::optional< int > beats

Member Data Documentation

◆ beats

const std::optional<int> LibImportExport::Test::AcidizerTags::beats

The documentation for this struct was generated from the following file: