Mercurial > pidgin
diff 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 |
line wrap: on
line diff
--- a/src/sound.c Sun Apr 08 20:20:56 2001 +0000 +++ b/src/sound.c Mon Apr 09 08:33:09 2001 +0000 @@ -48,6 +48,7 @@ #include "sounds/BuddyLeave.h" #include "sounds/Send.h" #include "sounds/Receive.h" +#include "sounds/RedAlert.h" static int check_dev(char *dev) { @@ -484,5 +485,12 @@ } } break; + case POUNCE_DEFAULT: + if (sound_file[POUNCE_DEFAULT]) { + play_file(sound_file[POUNCE_DEFAULT]); + } else { + play(RedAlert, sizeof(RedAlert)); + } + break; } }
