summaryrefslogtreecommitdiff
path: root/libs/ardour/midi_diskstream.cc
diff options
context:
space:
mode:
authorCarl Hetherington <carl@carlh.net>2011-09-18 19:49:26 +0000
committerCarl Hetherington <carl@carlh.net>2011-09-18 19:49:26 +0000
commit87d57a1de9125e9b2c2e0c46178906edaf7c122a (patch)
treeaa0e716086f49c97023171f2eb4e1c473c20c398 /libs/ardour/midi_diskstream.cc
parente65636a0873dfe78af1625ea1c9d15d6c0e8b881 (diff)
Remove unused rec_monitors_input variables.
git-svn-id: svn://localhost/ardour2/branches/3.0@10091 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'libs/ardour/midi_diskstream.cc')
-rw-r--r--libs/ardour/midi_diskstream.cc10
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;