From 9a4a9cbb63958484553ed981822ca97ceb1dc4f5 Mon Sep 17 00:00:00 2001 From: David Robillard Date: Thu, 10 May 2007 03:50:17 +0000 Subject: 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 --- gtk2_ardour/export_dialog.cc | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'gtk2_ardour/export_dialog.cc') 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); -- cgit v1.2.3