comparison src/sound.c @ 3367:3b00d97d59aa

[gaim-migrate @ 3386] There'll be more tommorow! Thanks for coming to the party. committer: Tailor Script <tailor@pidgin.im>
author Sean Egan <seanegan@gmail.com>
date Fri, 02 Aug 2002 04:52:48 +0000
parents 03daf01a8000
children 9682c0e022c6
comparison
equal deleted inserted replaced
3366:120e08ea5aee 3367:3b00d97d59aa
71 {N_("Others talk in chat"), OPT_SOUND_CHAT_SAY, Receive, sizeof(Receive)}, 71 {N_("Others talk in chat"), OPT_SOUND_CHAT_SAY, Receive, sizeof(Receive)},
72 /* this isn't a terminator, it's the buddy pounce default sound event ;-) */ 72 /* this isn't a terminator, it's the buddy pounce default sound event ;-) */
73 {NULL, 0, RedAlert, sizeof(RedAlert)}, 73 {NULL, 0, RedAlert, sizeof(RedAlert)},
74 {N_("Someone says your name in chat"), OPT_SOUND_CHAT_NICK, Receive, sizeof(Receive)} 74 {N_("Someone says your name in chat"), OPT_SOUND_CHAT_NICK, Receive, sizeof(Receive)}
75 }; 75 };
76 int sound_order[] = {
77 SND_BUDDY_ARRIVE, SND_BUDDY_LEAVE,
78 SND_FIRST_RECEIVE, SND_RECEIVE, SND_SEND,
79 SND_CHAT_JOIN, SND_CHAT_LEAVE,
80 SND_CHAT_YOU_SAY, SND_CHAT_SAY, SND_CHAT_NICK, 0
81 };
76 82
77 static int check_dev(char *dev) 83 static int check_dev(char *dev)
78 { 84 {
79 struct stat stat_buf; 85 struct stat stat_buf;
80 uid_t user = getuid(); 86 uid_t user = getuid();