diff options
author | David Robillard <d@drobilla.net> | 2007-05-10 17:42:57 +0000 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2007-05-10 17:42:57 +0000 |
commit | 809b64e41c7153ce07ad0226518efd72fdb8dab9 (patch) | |
tree | 14f575a6c392419c8271e35e159a9a0a30fff2d2 /gtk2_ardour/panner_ui.cc | |
parent | aa3bb18b173fdd8bc7f9611f3dbe52e36cfe6215 (diff) |
Switched some missed .get(DataType::AUDIO) -> n_audio.
Fixed some 8-space tabs.
git-svn-id: svn://localhost/ardour2/trunk@1832 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'gtk2_ardour/panner_ui.cc')
-rw-r--r-- | gtk2_ardour/panner_ui.cc | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/gtk2_ardour/panner_ui.cc b/gtk2_ardour/panner_ui.cc index 8f9a1b1394..42ccba992e 100644 --- a/gtk2_ardour/panner_ui.cc +++ b/gtk2_ardour/panner_ui.cc @@ -263,7 +263,7 @@ PannerUI::update_pan_state () void PannerUI::setup_pan () { - uint32_t nouts = _io->n_outputs ().get(ARDOUR::DataType::AUDIO); + uint32_t nouts = _io->n_outputs ().n_audio(); if (nouts == 0 || nouts == 1) { @@ -362,7 +362,7 @@ PannerUI::setup_pan () } update_pan_sensitive (); - panner->reset (_io->n_inputs().get(ARDOUR::DataType::AUDIO)); + panner->reset (_io->n_inputs().n_audio()); panner->set_size_request (-1, 61); /* and finally, add it to the panner frame */ @@ -449,7 +449,7 @@ PannerUI::effective_pan_display () return; } - switch (_io->n_outputs().get(ARDOUR::DataType::AUDIO)) { + switch (_io->n_outputs().n_audio()) { case 0: case 1: /* relax */ @@ -486,7 +486,7 @@ PannerUI::pan_changed (void *src) panning_link_button.set_sensitive (true); } - uint32_t nouts = _io->n_outputs().get(ARDOUR::DataType::AUDIO); + uint32_t nouts = _io->n_outputs().n_audio(); switch (nouts) { case 0: @@ -543,7 +543,7 @@ PannerUI::pan_value_changed (uint32_t which) { ENSURE_GUI_THREAD (bind (mem_fun(*this, &PannerUI::pan_value_changed), which)); - if (_io->n_outputs().get(ARDOUR::DataType::AUDIO) > 1 && which < _io->panner().size()) { + if (_io->n_outputs().n_audio() > 1 && which < _io->panner().size()) { float xpos; float val = pan_adjustments[which]->get_value (); @@ -613,7 +613,7 @@ PannerUI::update_pan_sensitive () { bool sensitive = !(_io->panner().automation_state() & Play); - switch (_io->n_outputs().get(ARDOUR::DataType::AUDIO)) { + switch (_io->n_outputs().n_audio()) { case 0: case 1: break; |