Audacity 3.2.0
|
#include <MirFakes.h>
Public Member Functions | |
FakeProjectInterface (double tempo) | |
~FakeProjectInterface () override=default | |
bool | ViewIsBeatsAndMeasures () const override |
void | ReconfigureMusicGrid (double newTempo, std::optional< MIR::TimeSignature > timeSignature) override |
double | GetTempo () const override |
bool | ShouldBeReconfigured (double qpm, bool isSingleFileImport) override |
void | OnClipsSynchronized () override |
Public Member Functions inherited from MIR::ProjectInterface | |
virtual | ~ProjectInterface ()=default |
virtual bool | ViewIsBeatsAndMeasures () const =0 |
virtual void | ReconfigureMusicGrid (double newTempo, std::optional< MIR::TimeSignature > timeSignature)=0 |
virtual double | GetTempo () const =0 |
virtual bool | ShouldBeReconfigured (double newTempo, bool isSingleFileImport)=0 |
virtual void | OnClipsSynchronized ()=0 |
Public Attributes | |
double | projectTempo |
bool | isBeatsAndMeasures = false |
bool | clipsWereSynchronized = false |
bool | shouldBeReconfigured = false |
bool | wasReconfigured = false |
Definition at line 55 of file MirFakes.h.
|
inline |
Definition at line 58 of file MirFakes.h.
|
overridedefault |
|
inlineoverridevirtual |
Implements MIR::ProjectInterface.
Definition at line 84 of file MirFakes.h.
References projectTempo.
|
inlineoverridevirtual |
Implements MIR::ProjectInterface.
Definition at line 94 of file MirFakes.h.
References clipsWereSynchronized.
|
inlineoverridevirtual |
Implements MIR::ProjectInterface.
Definition at line 76 of file MirFakes.h.
References isBeatsAndMeasures, projectTempo, and wasReconfigured.
|
inlineoverridevirtual |
Implements MIR::ProjectInterface.
Definition at line 89 of file MirFakes.h.
References shouldBeReconfigured.
|
inlineoverridevirtual |
Implements MIR::ProjectInterface.
Definition at line 71 of file MirFakes.h.
References isBeatsAndMeasures.
bool MIR::FakeProjectInterface::clipsWereSynchronized = false |
Definition at line 66 of file MirFakes.h.
Referenced by OnClipsSynchronized().
bool MIR::FakeProjectInterface::isBeatsAndMeasures = false |
Definition at line 65 of file MirFakes.h.
Referenced by ReconfigureMusicGrid(), and ViewIsBeatsAndMeasures().
double MIR::FakeProjectInterface::projectTempo |
Definition at line 64 of file MirFakes.h.
Referenced by GetTempo(), and ReconfigureMusicGrid().
bool MIR::FakeProjectInterface::shouldBeReconfigured = false |
Definition at line 67 of file MirFakes.h.
Referenced by ShouldBeReconfigured().
bool MIR::FakeProjectInterface::wasReconfigured = false |
Definition at line 69 of file MirFakes.h.
Referenced by ReconfigureMusicGrid().