Mercurial > pidgin.yaz
diff pidgin/gtksound.c @ 18020:3c4811489e30
propagate from branch 'im.pidgin.rlaager.merging.for_2_1_0' (head 24ee3feb7b0e68036eebb50b90278e581fea942a)
to branch 'im.pidgin.pidgin.2.1.0' (head 996b7212bd0ff741b6d317a46490f9e903bd624d)
author | Richard Laager <rlaager@wiktel.com> |
---|---|
date | Mon, 28 May 2007 08:06:28 +0000 |
parents | 5a308f09c871 |
children | 177ff4b22285 |
line wrap: on
line diff
--- a/pidgin/gtksound.c Sun May 20 18:40:58 2007 +0000 +++ b/pidgin/gtksound.c Mon May 28 08:06:28 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;