diff options
author | Paul Davis <paul@linuxaudiosystems.com> | 2009-11-09 20:05:18 +0000 |
---|---|---|
committer | Paul Davis <paul@linuxaudiosystems.com> | 2009-11-09 20:05:18 +0000 |
commit | 498dfebcca3b97cdd7b83444040042fe06626241 (patch) | |
tree | 09b397ba40679e67a1a265e6d227e39ee0b4b4da /libs/ardour/session.cc | |
parent | 8f508460903ef628a3f34ee60611b75ed4e1a734 (diff) |
90% done with external sync design changes (GUI now has toggle switch for ext/int sync; source chosen separately, currently in ardour prefs dialog ; fix libmidi++ and compilation scripts to correctly build JACK+ALSA support; minor contiuing tweaks on transport stuff
git-svn-id: svn://localhost/ardour2/branches/3.0@6048 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'libs/ardour/session.cc')
-rw-r--r-- | libs/ardour/session.cc | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/libs/ardour/session.cc b/libs/ardour/session.cc index 509fb0a999..9d7d32d17e 100644 --- a/libs/ardour/session.cc +++ b/libs/ardour/session.cc @@ -4444,3 +4444,21 @@ Session::route_group_changed () { RouteGroupChanged (); /* EMIT SIGNAL */ } + +vector<SyncSource> +Session::get_available_sync_options () const +{ + vector<SyncSource> ret; + + ret.push_back (JACK); + + if (mtc_port()) { + ret.push_back (MTC); + } + + if (midi_clock_port()) { + ret.push_back (MIDIClock); + } + + return ret; +} |