Update of /cvsroot/pure-data/pd/src In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv10784
Modified Files: Tag: devel_0_38 s_main.c Log Message: command line flags for callback-based scheduler
Index: s_main.c =================================================================== RCS file: /cvsroot/pure-data/pd/src/s_main.c,v retrieving revision 1.7.4.13 retrieving revision 1.7.4.14 diff -C2 -d -r1.7.4.13 -r1.7.4.14 *** s_main.c 7 Apr 2005 21:04:58 -0000 1.7.4.13 --- s_main.c 8 Apr 2005 12:37:48 -0000 1.7.4.14 *************** *** 371,374 **** --- 371,375 ---- "-dacblocksize <n>-- specify audio dac~block size in samples\n", "-sleepgrain <n> -- specify number of milliseconds to sleep when idle\n", + "-cb_scheduler -- use callback-based scheduler (jack and native asio only)\n", "-nodac -- suppress audio output\n", "-noadc -- suppress audio input\n", *************** *** 624,633 **** argc -= 2; argv += 2; } ! else if (!strcmp(*argv, "-dacblocksize") && argc > 1 && ! sscanf(argv[1], "%d", &sys_main_dacblocksize) >= 1) ! { argc -= 2; argv += 2; ! } else if (!strcmp(*argv, "-sleepgrain")) { --- 625,634 ---- argc -= 2; argv += 2; } ! else if (!strcmp(*argv, "-dacblocksize") && argc > 1 && ! sscanf(argv[1], "%d", &sys_main_dacblocksize) >= 1) ! { argc -= 2; argv += 2; ! } else if (!strcmp(*argv, "-sleepgrain")) { *************** *** 635,638 **** --- 636,646 ---- argc -= 2; argv += 2; } + /* tb: callback-based scheduling { */ + else if (!strcmp(*argv, "-cb_scheduler")) + { + sys_callbackscheduler = 1; + argc--; argv++; + } + /* tb } */ else if (!strcmp(*argv, "-nodac")) { /* IOhannes */