mirror of
https://github.com/Ardour/ardour.git
synced 2026-01-06 05:35:47 +01:00
use region name for trigger name
This commit is contained in:
parent
ccf1c4fb57
commit
b0e9ad07ca
1 changed files with 2 additions and 1 deletions
|
|
@ -1,5 +1,6 @@
|
|||
#include <iostream>
|
||||
|
||||
#include "pbd/basename.h"
|
||||
#include "pbd/failed_constructor.h"
|
||||
|
||||
#include "ardour/audioregion.h"
|
||||
|
|
@ -84,7 +85,7 @@ TriggerBox::load_some_samples ()
|
|||
|
||||
plist.add (Properties::start, 0);
|
||||
plist.add (Properties::length, src_list.front()->length ());
|
||||
plist.add (Properties::name, string ("bang"));
|
||||
plist.add (Properties::name, basename_nosuffix (path));
|
||||
plist.add (Properties::layer, 0);
|
||||
plist.add (Properties::layering_index, 0);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue