13
0

triggerbox: add TriggerBox::active_scene()

This commit is contained in:
Paul Davis 2021-12-28 18:02:13 -07:00
parent 2c00379220
commit 87974562d3
2 changed files with 7 additions and 0 deletions

View File

@ -565,6 +565,7 @@ class LIBARDOUR_API TriggerBox : public Processor
static void clear_scene_bang (); static void clear_scene_bang ();
static void scene_bang (uint32_t scene_number); static void scene_bang (uint32_t scene_number);
static void scene_unbang (uint32_t scene_number); static void scene_unbang (uint32_t scene_number);
static int32_t active_scene ();
static void init (); static void init ();

View File

@ -1939,6 +1939,12 @@ TriggerBox::scene_unbang (uint32_t n)
{ {
} }
int32_t
TriggerBox::active_scene ()
{
return _active_scene.load ();
}
void void
TriggerBox::maybe_find_scene_bang () TriggerBox::maybe_find_scene_bang ()
{ {