# HG changeset patch # User Sean Egan # Date 1179866768 0 # Node ID 5a308f09c871859c45b0ec1fcaba6bc56eb94cce # Parent cc9242ce1435e229f16ebd111e96d22a5b97b6ac ALSA Gstreamer sink. Mostly to see if this still crashes Luke. diff -r cc9242ce1435 -r 5a308f09c871 pidgin/gtkprefs.c --- a/pidgin/gtkprefs.c Tue May 15 01:06:02 2007 +0000 +++ b/pidgin/gtkprefs.c Tue May 22 20:46:08 2007 +0000 @@ -1602,6 +1602,7 @@ #ifdef USE_GSTREAMER _("Automatic"), "automatic", "ESD", "esd", + "ALSA", "alsa", #endif _("Command"), "custom", _("No sounds"), "none", diff -r cc9242ce1435 -r 5a308f09c871 pidgin/gtksound.c --- a/pidgin/gtksound.c Tue May 15 01:06:02 2007 +0000 +++ b/pidgin/gtksound.c Tue May 22 20:46:08 2007 +0000 @@ -466,6 +466,12 @@ purple_debug_error("sound", "Unable to create GStreamer audiosink.\n"); return; } + } else if (!strcmp(method, "alsa")) { + sink = gst_element_factory_make("alsasink", "sink"); + if (!sink) { + purple_debug_error("sound", "Unable to create GStreamer audiosink.\n"); + return; + } } else { purple_debug_error("sound", "Unknown sound method '%s'\n", method); return;