projects
/
ardour.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f62c8c6
)
Non-layered MIDI recording
author
Robin Gareus
<robin@gareus.org>
Thu, 20 Jul 2017 22:39:22 +0000
(
00:39
+0200)
committer
Robin Gareus
<robin@gareus.org>
Thu, 20 Jul 2017 22:39:22 +0000
(
00:39
+0200)
This does not merge MIDI data, but trims MIDI regions at rec-stop like
non-layered audio-recording does.
libs/ardour/midi_diskstream.cc
patch
|
blob
|
history
diff --git
a/libs/ardour/midi_diskstream.cc
b/libs/ardour/midi_diskstream.cc
index 79b357de711c060d09d45a84a1878dd02b5f8dca..148881bc70e3729134d49317d46fd1e8f56277f6 100644
(file)
--- a/
libs/ardour/midi_diskstream.cc
+++ b/
libs/ardour/midi_diskstream.cc
@@
-1073,7
+1073,7
@@
MidiDiskstream::transport_stopped_wallclock (struct tm& /*when*/, time_t /*twhen
// cerr << "add new region, buffer position = " << buffer_position << " @ " << (*ci)->start << endl;
i_am_the_modifier++;
- _playlist->add_region (region, (*ci)->start + preroll_off);
+ _playlist->add_region (region, (*ci)->start + preroll_off
, 1, non_layered()
);
i_am_the_modifier--;
}