triggerbox: initial implementation of thread-based deleter for Triggers

Multimedia / Ardour - Paul Davis [linuxaudiosystems.com] - 24 December 2021 21:17 UTC

Uses a custom deleter for the shared_ptr's that we create. Will likely evolve to use an allocator so that we can use make_shared's cousin allocate_shared().

401411d5c3 triggerbox: initial implementation of thread-based deleter for Triggers
libs/ardour/ardour/triggerbox.h | 13 ++++++++++++-
libs/ardour/triggerbox.cc | 28 +++++++++++++++++++++++++++-
2 files changed, 39 insertions(+), 2 deletions(-)

  • Share