From fe229a830e0164e56d3aceaf3d539e4148f322a6 Mon Sep 17 00:00:00 2001 From: Paul Davis Date: Thu, 24 Jun 2010 01:37:24 +0000 Subject: GUI-created MIDI regions now steal the pending MIDISource from the track's diskstream, to keep numbering sane; don't create any new MIDI regions if capture collected no data (fixes a crash in my previous commit, and is just logically much more sensible git-svn-id: svn://localhost/ardour2/branches/3.0@7295 d708f5d6-7413-0410-9779-e7cbd77b26cf --- libs/ardour/ardour/audio_diskstream.h | 1 + 1 file changed, 1 insertion(+) (limited to 'libs/ardour/ardour/audio_diskstream.h') diff --git a/libs/ardour/ardour/audio_diskstream.h b/libs/ardour/ardour/audio_diskstream.h index 54ddbea14a..7b7cdd7e3f 100644 --- a/libs/ardour/ardour/audio_diskstream.h +++ b/libs/ardour/ardour/audio_diskstream.h @@ -165,6 +165,7 @@ class AudioDiskstream : public Diskstream int internal_playback_seek (nframes_t distance); int can_internal_playback_seek (nframes_t distance); int rename_write_sources (); + std::list > steal_write_sources(); void reset_write_sources (bool, bool force = false); void non_realtime_input_change (); void non_realtime_locate (nframes_t location); -- cgit v1.2.3