Mercurial > pidgin
diff src/gaim.h @ 4561:9df99116840a
[gaim-migrate @ 4842]
This is the new sound subsystem
Lots of stuff got renamed, and everything sound-wise is documented.
Gaim now uses libaudiofile and libao to play sounds. Lots of ugly hacks
were removed, and now we support playing audio through anything that
libao will support.
If you need to (you shouldn't) you can force libao to use a specific
output driver, by putting a line into ~/.libao like:
default_driver=esd
You shouldn't need to do this, libao is pretty good at figuring out what
driver to use.
committer: Tailor Script <tailor@pidgin.im>
author | Nathan Walp <nwalp@pidgin.im> |
---|---|
date | Sun, 09 Feb 2003 01:55:35 +0000 |
parents | 3196d9044a45 |
children | 4b1e24835bbf |
line wrap: on
line diff
--- a/src/gaim.h Sun Feb 09 00:47:57 2003 +0000 +++ b/src/gaim.h Sun Feb 09 01:55:35 2003 +0000 @@ -312,30 +312,6 @@ #define OPT_SOUND_ESD 0x00010000 #define OPT_SOUND_CMD 0x00020000 #define OPT_SOUND_CHAT_NICK 0x00040000 -/* remember to also change the struct in sound.c */ - -#define SND_BUDDY_ARRIVE 0 -#define SND_BUDDY_LEAVE 1 -#define SND_RECEIVE 2 -#define SND_FIRST_RECEIVE 3 -#define SND_SEND 4 -#define SND_CHAT_JOIN 5 -#define SND_CHAT_LEAVE 6 -#define SND_CHAT_YOU_SAY 7 -#define SND_CHAT_SAY 8 -#define SND_POUNCE_DEFAULT 9 -#define SND_CHAT_NICK 10 -#define NUM_SOUNDS 11 - -extern char *sound_file[NUM_SOUNDS]; - -/* global sound struct */ -struct sound_struct { - char *label; - guint opt; - char *def; -}; -extern struct sound_struct sounds[]; extern guint away_options; #define OPT_AWAY_DISCARD 0x00000001 @@ -355,7 +331,6 @@ extern GSList *message_queue; extern GSList *unread_message_queue; extern GSList *away_time_queue; -extern char sound_cmd[2048]; extern char web_command[2048]; extern struct save_pos blist_pos; extern struct window_size conv_size, buddy_chat_size;