|
Lines 96-102
Link Here
|
| 96 |
static int ctl_read(int32 *valp); |
96 |
static int ctl_read(int32 *valp); |
| 97 |
static int cmsg(int type, int verbosity_level, char *fmt, ...); |
97 |
static int cmsg(int type, int verbosity_level, char *fmt, ...); |
| 98 |
static void ctl_event(CtlEvent *e); |
98 |
static void ctl_event(CtlEvent *e); |
| 99 |
static void ctl_pass_playing_list(int n, char *args[]); |
99 |
static int ctl_pass_playing_list(int n, char *args[]); |
| 100 |
|
100 |
|
| 101 |
#ifndef __W32__ |
101 |
#ifndef __W32__ |
| 102 |
static void init_keybord(void); |
102 |
static void init_keybord(void); |
|
Lines 215-231
Link Here
|
| 215 |
|
215 |
|
| 216 |
#ifdef IA_W32G_SYN |
216 |
#ifdef IA_W32G_SYN |
| 217 |
extern void w32g_syn_doit(void); |
217 |
extern void w32g_syn_doit(void); |
| 218 |
extern void w32g_syn_ctl_pass_playing_list(int n_, char *args_[]); |
218 |
extern int w32g_syn_ctl_pass_playing_list(int n_, char *args_[]); |
| 219 |
|
219 |
|
| 220 |
|
220 |
|
| 221 |
static void ctl_pass_playing_list(int n, char *args[]) |
221 |
static int ctl_pass_playing_list(int n, char *args[]) |
| 222 |
{ |
222 |
{ |
| 223 |
w32g_syn_ctl_pass_playing_list ( n, args ); |
223 |
return w32g_syn_ctl_pass_playing_list ( n, args ); |
| 224 |
} |
224 |
} |
| 225 |
#endif |
225 |
#endif |
| 226 |
|
226 |
|
| 227 |
#ifndef IA_W32G_SYN |
227 |
#ifndef IA_W32G_SYN |
| 228 |
static void ctl_pass_playing_list(int n, char *args[]) |
228 |
static int ctl_pass_playing_list(int n, char *args[]) |
| 229 |
#else |
229 |
#else |
| 230 |
// 0: OK, 2: Require to reset. |
230 |
// 0: OK, 2: Require to reset. |
| 231 |
int ctl_pass_playing_list2(int n, char *args[]) |
231 |
int ctl_pass_playing_list2(int n, char *args[]) |
|
Lines 241-247
Link Here
|
| 241 |
#ifndef IA_W32G_SYN |
241 |
#ifndef IA_W32G_SYN |
| 242 |
if(n > MAX_PORT ){ |
242 |
if(n > MAX_PORT ){ |
| 243 |
printf( "Usage: timidity -iW [Midi interface No s]\n"); |
243 |
printf( "Usage: timidity -iW [Midi interface No s]\n"); |
| 244 |
return; |
244 |
return 1; |
| 245 |
} |
245 |
} |
| 246 |
#endif |
246 |
#endif |
| 247 |
|
247 |
|
|
Lines 347-357
Link Here
|
| 347 |
#endif /* USE_GTK_GUI */ |
347 |
#endif /* USE_GTK_GUI */ |
| 348 |
rtsyn_close(); |
348 |
rtsyn_close(); |
| 349 |
|
349 |
|
| 350 |
#ifdef IA_W32G_SYN |
|
|
| 351 |
return 0; |
350 |
return 0; |
| 352 |
#else |
|
|
| 353 |
return; |
| 354 |
#endif |
| 355 |
} |
351 |
} |
| 356 |
|
352 |
|
| 357 |
|
353 |
|