summaryrefslogtreecommitdiff
path: root/gtk2_ardour/add_route_dialog.h
diff options
context:
space:
mode:
authorPaul Davis <paul@linuxaudiosystems.com>2012-06-22 01:45:16 +0000
committerPaul Davis <paul@linuxaudiosystems.com>2012-06-22 01:45:16 +0000
commitd70429a066dfd33cca0b6f64be7014649a9910ca (patch)
treeb5a1df98535bd30d2485778c699f6d7dd758b649 /gtk2_ardour/add_route_dialog.h
parent774e55bcc03139089105a20809d9557d38452486 (diff)
provide an easier way to add mixed (audio+MIDI) tracks to a session, to facilitate the use of plugins like Reaktor which accept both audio & MIDI data. there's probably still a paradigm shift waiting to happen here but its likely post-3.0.
git-svn-id: svn://localhost/ardour2/branches/3.0@12816 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'gtk2_ardour/add_route_dialog.h')
-rw-r--r--gtk2_ardour/add_route_dialog.h12
1 files changed, 9 insertions, 3 deletions
diff --git a/gtk2_ardour/add_route_dialog.h b/gtk2_ardour/add_route_dialog.h
index a39c1ff8b9..f2e2168f14 100644
--- a/gtk2_ardour/add_route_dialog.h
+++ b/gtk2_ardour/add_route_dialog.h
@@ -48,9 +48,15 @@ class AddRouteDialog : public ArdourDialog
AddRouteDialog (ARDOUR::Session*);
~AddRouteDialog ();
- bool audio_tracks_wanted ();
- bool midi_tracks_wanted ();
- int channels ();
+ enum TypeWanted {
+ AudioTrack,
+ MidiTrack,
+ MixedTrack,
+ AudioBus
+ };
+ TypeWanted type_wanted() const;
+
+ ARDOUR::ChanCount channels ();
int count ();
std::string name_template ();