diff options
author | Carl Hetherington <carl@carlh.net> | 2011-07-03 00:45:15 +0000 |
---|---|---|
committer | Carl Hetherington <carl@carlh.net> | 2011-07-03 00:45:15 +0000 |
commit | 8f3f86b8a815da24179b893cfc6825e034c1b81b (patch) | |
tree | 42958db84339eebb381dde6ce5e9d99ca9df0de5 /gtk2_ardour/ardour_ui_options.cc | |
parent | 75eeb68e37cc32cd308762c0034557610d89b251 (diff) |
Display audio file format in the menu bar (#4016).
git-svn-id: svn://localhost/ardour2/branches/3.0@9788 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'gtk2_ardour/ardour_ui_options.cc')
-rw-r--r-- | gtk2_ardour/ardour_ui_options.cc | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/gtk2_ardour/ardour_ui_options.cc b/gtk2_ardour/ardour_ui_options.cc index bde57f4385..6bb38cd09c 100644 --- a/gtk2_ardour/ardour_ui_options.cc +++ b/gtk2_ardour/ardour_ui_options.cc @@ -403,6 +403,14 @@ ARDOUR_UI::parameter_changed (std::string p) } void +ARDOUR_UI::session_parameter_changed (std::string p) +{ + if (p == "native-file-data-format" || p == "native-file-header-format") { + update_format (); + } +} + +void ARDOUR_UI::reset_main_clocks () { ENSURE_GUI_THREAD (*this, &ARDOUR_UI::reset_main_clocks) |