diff options
author | IOhannes m zmölnig <zmoelnig@users.sourceforge.net> | 2005-10-27 13:14:09 +0000 |
---|---|---|
committer | IOhannes m zmölnig <zmoelnig@users.sourceforge.net> | 2005-10-27 13:14:09 +0000 |
commit | 16b9d16e8997b6a216f12dbe8d498e2e22e90ee8 (patch) | |
tree | 5b6e667550ff3268a0ec5a0377ba1371d4bc939d /aconnect.c | |
parent | a3fe7ee730e79934e10ab31e4d028a146d851a2e (diff) |
use "src"/"dst" instead of "input"/"output"
added [aconnects] (depending on zexy), which can connect using symbolic names for ports,...
svn path=/trunk/externals/iem/aconnect/; revision=3770
Diffstat (limited to 'aconnect.c')
-rw-r--r-- | aconnect.c | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -113,13 +113,13 @@ static void print_port(t_aconnect *x, t_symbol*s, snd_seq_t *seq, snd_seq_client static void print_output(t_aconnect *x, snd_seq_t *seq, snd_seq_client_info_t *cinfo, snd_seq_port_info_t *pinfo) { - print_port(x, gensym("output"), seq, cinfo, pinfo); + print_port(x, gensym("dst"), seq, cinfo, pinfo); } static void print_input(t_aconnect *x, snd_seq_t *seq, snd_seq_client_info_t *cinfo, snd_seq_port_info_t *pinfo) { - print_port(x, gensym("input"), seq, cinfo, pinfo); + print_port(x, gensym("src"), seq, cinfo, pinfo); } static void print_connections(t_aconnect *x, snd_seq_t *seq, snd_seq_client_info_t *cinfo, @@ -232,10 +232,10 @@ static void aconnect_listdevices(t_aconnect *x, t_symbol *s) outlet_float(x->x_error, (float)(-2)); return; } - if(&s_==s || gensym("input")==s) + if(&s_==s || gensym("src")==s) do_search_port(x, seq, LIST_INPUT, print_input); - if(&s_==s || gensym("output")==s) + if(&s_==s || gensym("dst")==s) do_search_port(x, seq, LIST_OUTPUT, print_output); if(!ac_seq)snd_seq_close(seq); |