/[pidim]/src/pidim_split_port.c
ViewVC logotype

Diff of /src/pidim_split_port.c

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 19 by ben, Thu Aug 26 20:48:36 2010 UTC revision 20 by ben, Fri Aug 27 00:11:30 2010 UTC
# Line 223  gboolean handle_midi_input (GIOChannel* Line 223  gboolean handle_midi_input (GIOChannel*
223  /* starting point */  /* starting point */
224  int main (int argc, char* argv[])  int main (int argc, char* argv[])
225  {  {
226            char* argv1;
227          GIOChannel* midi_input;          GIOChannel* midi_input;
228          int alsa_input_fd;          int alsa_input_fd;
229          alsa_t alsa;          alsa_t alsa;
# Line 239  int main (int argc, char* argv[]) Line 240  int main (int argc, char* argv[])
240    
241          memset(Instance, '\0', 1);          memset(Instance, '\0', 1);
242          strncat(Instance, "PIDIM Split Port ", 64);          strncat(Instance, "PIDIM Split Port ", 64);
243    
244          /* read extra parameters */          /* read extra parameters */
245          if (argc == 2) {          argv1 = cli_parse (argc, argv, "A Keyboard Splitter over 2 ports", \
246                  strncat(Instance, argv[1], 48);                          "Enter the split point note number to control 2 MIDI sets with one keyboard.");
247            if (argv1) {
248                    strncat(Instance, argv1, 48);
249          }          }
250    
251          /* create window */          /* create window */

Legend:
Removed from v.19  
changed lines
  Added in v.20

  ViewVC Help
Powered by ViewVC 1.1.26