Pulp 1.88.0
Cross-platform audio plugin framework
Loading...
Searching...
No Matches
pulp::timeline::UndoLimits Struct Reference

Bounds the number and retained memory of undo groups in a session. More...

#include <undo.hpp>

Public Attributes

std::size_t max_groups = 128
std::size_t max_retained_bytes = 8 * 1024 * 1024

Detailed Description

Bounds the number and retained memory of undo groups in a session.

Closed oldest groups are evicted to admit new work. An open gesture that cannot fit is rejected rather than partially discarded.

Member Data Documentation

◆ max_groups

std::size_t pulp::timeline::UndoLimits::max_groups = 128

◆ max_retained_bytes

std::size_t pulp::timeline::UndoLimits::max_retained_bytes = 8 * 1024 * 1024

The documentation for this struct was generated from the following file:
  • /home/runner/work/pulp/pulp/core/timeline/include/pulp/timeline/undo.hpp