| 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(); |