diff options
author | Paul Davis <paul@linuxaudiosystems.com> | 2006-01-19 05:01:43 +0000 |
---|---|---|
committer | Paul Davis <paul@linuxaudiosystems.com> | 2006-01-19 05:01:43 +0000 |
commit | 6ef5c8da56800bbce1c23a9ea51c9a1646d5887f (patch) | |
tree | 71e115b6543f58802329fa2b9c337fddcd5f7f1c /gtk2_ardour/utils.cc | |
parent | cd87dceb0fda44d7c8fcc2b7844f65def25edb23 (diff) |
add GUI support to create tape/destructive tracks
git-svn-id: svn://localhost/trunk/ardour2@278 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'gtk2_ardour/utils.cc')
-rw-r--r-- | gtk2_ardour/utils.cc | 17 |
1 files changed, 0 insertions, 17 deletions
diff --git a/gtk2_ardour/utils.cc b/gtk2_ardour/utils.cc index acc9574a18..e609d0e33b 100644 --- a/gtk2_ardour/utils.cc +++ b/gtk2_ardour/utils.cc @@ -291,23 +291,6 @@ get_canvas_points (string who, uint32_t npoints) return new ArdourCanvas::Points (npoints); } -int -channel_combo_get_channel_count (Gtk::ComboBoxText& combo) -{ - string str = combo.get_active_text(); - int chns; - - if (str == _("mono")) { - return 1; - } else if (str == _("stereo")) { - return 2; - } else if ((chns = atoi (str)) != 0) { - return chns; - } else { - return 0; - } -} - static int32_t int_from_hex (char hic, char loc) { |