diff options
author | David Robillard <d@drobilla.net> | 2007-05-10 03:50:17 +0000 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2007-05-10 03:50:17 +0000 |
commit | 9a4a9cbb63958484553ed981822ca97ceb1dc4f5 (patch) | |
tree | 6888079450c5ba74d195732fafc99de8d8531c36 /gtk2_ardour/export_dialog.cc | |
parent | 2a52135c663e9a60b5f0cc9cc6673799c3ea5549 (diff) |
Added nicer looking wrapper methods for ChanCount::get(DataType), sedified code to use it.
git-svn-id: svn://localhost/ardour2/trunk@1816 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'gtk2_ardour/export_dialog.cc')
-rw-r--r-- | gtk2_ardour/export_dialog.cc | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/gtk2_ardour/export_dialog.cc b/gtk2_ardour/export_dialog.cc index 27bc80a6bd..0707dd8230 100644 --- a/gtk2_ardour/export_dialog.cc +++ b/gtk2_ardour/export_dialog.cc @@ -494,7 +494,7 @@ ExportDialog::set_state() } TreeModel::Children rows = master_selector.get_model()->children(); - for (uint32_t r = 0; r < session->master_out()->n_outputs().get(DataType::AUDIO); ++r) { + for (uint32_t r = 0; r < session->master_out()->n_outputs().n_audio(); ++r) { if (nchns == 2) { if (r % 2) { rows[r][exp_cols.right] = true; @@ -1096,9 +1096,9 @@ ExportDialog::fill_lists () continue; } - for (uint32_t i=0; i < route->n_outputs().get(DataType::AUDIO); ++i) { + for (uint32_t i=0; i < route->n_outputs().n_audio(); ++i) { string name; - if (route->n_outputs().get(DataType::AUDIO) == 1) { + if (route->n_outputs().n_audio() == 1) { name = route->name(); } else { name = string_compose("%1: out-%2", route->name(), i+1); |