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

Models how SoundForge allows the editing of ACID metadata, as far as our interest goes: setting the type to one-shot prevents the setting of BPM. Conversely, loops must have their BPM set (normally by setting the number of beats in the loop, but provided that the file duration is available, this is equivalent). More...

#include <AcidizerTags.h>

Inheritance diagram for LibFileFormats::AcidizerTags:
[legend]

Classes

struct  Loop
 
struct  OneShot
 

Public Member Functions

 AcidizerTags ()
 
 AcidizerTags (OneShot)
 
 AcidizerTags (Loop loop)
 

Public Attributes

const std::optional< double > bpm
 
const bool isOneShot = false
 

Detailed Description

Models how SoundForge allows the editing of ACID metadata, as far as our interest goes: setting the type to one-shot prevents the setting of BPM. Conversely, loops must have their BPM set (normally by setting the number of beats in the loop, but provided that the file duration is available, this is equivalent).

Definition at line 25 of file AcidizerTags.h.

Constructor & Destructor Documentation

◆ AcidizerTags() [1/3]

LibFileFormats::AcidizerTags::AcidizerTags ( )
inline

Definition at line 40 of file AcidizerTags.h.

41 {
42 }

◆ AcidizerTags() [2/3]

LibFileFormats::AcidizerTags::AcidizerTags ( OneShot  )
inline

Definition at line 44 of file AcidizerTags.h.

45 : isOneShot { true }
46 {
47 }

◆ AcidizerTags() [3/3]

LibFileFormats::AcidizerTags::AcidizerTags ( Loop  loop)
inline

Definition at line 49 of file AcidizerTags.h.

50 : bpm { loop.bpm }
51 {
52 }
const std::optional< double > bpm
Definition: AcidizerTags.h:54

Member Data Documentation

◆ bpm

const std::optional<double> LibFileFormats::AcidizerTags::bpm

◆ isOneShot

const bool LibFileFormats::AcidizerTags::isOneShot = false

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