Canonical loop-region construction for sequencer edits. More...
Go to the source code of this file.
Namespaces | |
| namespace | pulp |
| namespace | pulp::timeline_editor |
| ScriptedUiHost is a SequencerUiHost whose playhead is written by the caller instead of an engine, and which keeps what a view emitted so a test can read it back. | |
Enumerations | |
| enum class | pulp::timeline_editor::LoopRangeError : std::uint8_t { pulp::timeline_editor::LoopRangeError::CollapsedSpan } |
| Why an already-snapped loop range could not be constructed. More... | |
Functions | |
| runtime::Result< timebase::LoopRegion, LoopRangeError > | pulp::timeline_editor::loop_region_from_snapped_endpoints (timebase::TickPosition first, timebase::TickPosition second) noexcept |
| Build an enabled, structurally canonical loop candidate. | |
| constexpr timebase::LoopRegion | pulp::timeline_editor::with_loop_enabled (timebase::LoopRegion loop, bool enabled) noexcept |
| Return loop with only its enabled state changed. | |
Canonical loop-region construction for sequencer edits.