comparison: src/sound.c
src/sound.c
- changeset 2995
- 33231d4b2cd3
- parent 2781
- c021d9e6ed03
- child 3004
- 4fc45282aab6
equal
deleted
inserted
replaced
| 396 if (pid < 0) |
396 if (pid < 0) |
| 397 return; |
397 return; |
| 398 else if (pid == 0) { |
398 else if (pid == 0) { |
| 399 alarm(30); |
399 alarm(30); |
| 400 if (sound_options & OPT_SOUND_BEEP) { |
400 if (sound_options & OPT_SOUND_BEEP) { |
| 401 g_print("\a"); |
401 gdk_beep(); |
| 402 _exit(0); |
402 _exit(0); |
| 403 } |
403 } |
| 404 |
404 |
| 405 if (sound_cmd[0]) { |
405 if (sound_cmd[0]) { |
| 406 char *args[4]; |
406 char *args[4]; |
| 460 if (pid < 0) |
460 if (pid < 0) |
| 461 return; |
461 return; |
| 462 else if (pid == 0) { |
462 else if (pid == 0) { |
| 463 alarm(30); |
463 alarm(30); |
| 464 if (sound_options & OPT_SOUND_BEEP) { |
464 if (sound_options & OPT_SOUND_BEEP) { |
| 465 g_print("\a"); |
465 gdk_beep(); |
| 466 _exit(0); |
466 _exit(0); |
| 467 } |
467 } |
| 468 #ifdef ESD_SOUND |
468 #ifdef ESD_SOUND |
| 469 /* ESD is our player of choice. Are we OK to |
469 /* ESD is our player of choice. Are we OK to |
| 470 * go there? */ |
470 * go there? */ |