Mercurial > pidgin
comparison src/sound.c @ 1694:bea407767ac1
[gaim-migrate @ 1704]
Sounds on buddy pounce. This may need a better AU file, im not sure yet.
committer: Tailor Script <tailor@pidgin.im>
author | Rob Flynn <gaim@robflynn.com> |
---|---|
date | Mon, 09 Apr 2001 08:33:09 +0000 |
parents | e6f9acc31500 |
children | caa605e70917 |
comparison
equal
deleted
inserted
replaced
1693:6ccd49e6f24c | 1694:bea407767ac1 |
---|---|
46 #include "gaim.h" | 46 #include "gaim.h" |
47 #include "sounds/BuddyArrive.h" | 47 #include "sounds/BuddyArrive.h" |
48 #include "sounds/BuddyLeave.h" | 48 #include "sounds/BuddyLeave.h" |
49 #include "sounds/Send.h" | 49 #include "sounds/Send.h" |
50 #include "sounds/Receive.h" | 50 #include "sounds/Receive.h" |
51 #include "sounds/RedAlert.h" | |
51 | 52 |
52 static int check_dev(char *dev) | 53 static int check_dev(char *dev) |
53 { | 54 { |
54 struct stat stat_buf; | 55 struct stat stat_buf; |
55 uid_t user = getuid(); | 56 uid_t user = getuid(); |
482 } else { | 483 } else { |
483 play(Receive, sizeof(Receive)); | 484 play(Receive, sizeof(Receive)); |
484 } | 485 } |
485 } | 486 } |
486 break; | 487 break; |
487 } | 488 case POUNCE_DEFAULT: |
488 } | 489 if (sound_file[POUNCE_DEFAULT]) { |
490 play_file(sound_file[POUNCE_DEFAULT]); | |
491 } else { | |
492 play(RedAlert, sizeof(RedAlert)); | |
493 } | |
494 break; | |
495 } | |
496 } |