[PATCH spice-gtk 33/34] audio: use gstreamer by default

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



From: Marc-André Lureau <marcandre.lureau@xxxxxxxxxx>

The pulse backend is getting deprecated.

Signed-off-by: Marc-André Lureau <marcandre.lureau@xxxxxxxxxx>
---
 src/spice-audio.c | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/src/spice-audio.c b/src/spice-audio.c
index daf62df..a03c80b 100644
--- a/src/spice-audio.c
+++ b/src/spice-audio.c
@@ -236,11 +236,11 @@ SpiceAudio *spice_audio_new_priv(SpiceSession *session, GMainContext *context,
     if (name == NULL)
         name = g_get_application_name();
 
+    self = SPICE_AUDIO(spice_gstaudio_new(session, context, name));
 #ifdef HAVE_PULSE
-    self = SPICE_AUDIO(spice_pulse_new(session, context, name));
-#endif
     if (!self)
-        self = SPICE_AUDIO(spice_gstaudio_new(session, context, name));
+        self = SPICE_AUDIO(spice_pulse_new(session, context, name));
+#endif
     if (!self)
         return NULL;
 
-- 
2.20.1.2.gb21ebb671b

_______________________________________________
Spice-devel mailing list
Spice-devel@xxxxxxxxxxxxxxxxxxxxx
https://lists.freedesktop.org/mailman/listinfo/spice-devel




[Index of Archives]     [Linux Virtualization]     [Linux Virtualization]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux OMAP]     [Linux MIPS]     [ECOS]     [Asterisk Internet PBX]     [Linux API]     [Monitors]