diff options
Diffstat (limited to 'libs/ardour/midi_diskstream.cc')
-rw-r--r-- | libs/ardour/midi_diskstream.cc | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/libs/ardour/midi_diskstream.cc b/libs/ardour/midi_diskstream.cc index beb3e1a76e..bf5be343e2 100644 --- a/libs/ardour/midi_diskstream.cc +++ b/libs/ardour/midi_diskstream.cc @@ -475,7 +475,7 @@ trace_midi (ostream& o, MIDI::byte *msg, size_t len) #endif int -MidiDiskstream::process (framepos_t transport_frame, pframes_t nframes, bool can_record, bool rec_monitors_input, bool& need_butler) +MidiDiskstream::process (framepos_t transport_frame, pframes_t nframes, bool can_record, bool& need_butler) { int ret = -1; framecnt_t rec_offset = 0; @@ -563,7 +563,7 @@ MidiDiskstream::process (framepos_t transport_frame, pframes_t nframes, bool can } else { if (was_recording) { - finish_capture (rec_monitors_input); + finish_capture (); } } @@ -923,7 +923,7 @@ MidiDiskstream::transport_stopped_wallclock (struct tm& /*when*/, time_t /*twhen MidiRegion::SourceList::iterator src; vector<CaptureInfo*>::iterator ci; - finish_capture (true); + finish_capture (); /* butler is already stopped, but there may be work to do to flush remaining data to disk. @@ -1124,7 +1124,7 @@ MidiDiskstream::transport_looped (framepos_t transport_frame) } } - finish_capture (true); + finish_capture (); // the next region will start recording via the normal mechanism // we'll set the start position to the current transport pos @@ -1137,7 +1137,7 @@ MidiDiskstream::transport_looped (framepos_t transport_frame) } void -MidiDiskstream::finish_capture (bool /*rec_monitors_input*/) +MidiDiskstream::finish_capture () { was_recording = false; |