|
Zrythm v2.0.0-alpha.1
a highly automated and intuitive digital audio workstation
|
Undoable command that sets or clears a TimebaseProvider's override. More...
#include <src/commands/change_timebase_override_command.h>


Public Member Functions | |
| ChangeTimebaseOverrideCommand (dsp::TimebaseProvider &provider, std::optional< dsp::Timebase > timebase) | |
| void | undo () override |
| void | redo () override |
Undoable command that sets or clears a TimebaseProvider's override.
Works at any level of the provider chain (track, lane, clip). Pass a concrete Timebase to set an override, or std::nullopt to clear it (inherit from the parent provider).
provider. The caller must ensure the provider outlives this command on the undo stack (guaranteed by the reference-counted UUID system — deleting a track keeps it alive in the registry until the delete command itself is destroyed). Definition at line 27 of file change_timebase_override_command.h.
|
inline |
Definition at line 30 of file change_timebase_override_command.h.
|
inlineoverride |
Definition at line 46 of file change_timebase_override_command.h.
|
inlineoverride |
Definition at line 38 of file change_timebase_override_command.h.