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

Christophe Fergeau cfergeau at redhat.com
Mon Jan 7 16:22:37 UTC 2019


On Mon, Jan 07, 2019 at 12:01:02PM +0400, marcandre.lureau at redhat.com wrote:
> From: Marc-André Lureau <marcandre.lureau at redhat.com>
> 
> The pulse backend is getting deprecated.

Not sure this is something we should do right before a release rather
than right after the release so that the gstreamer backend on linux gets
a bit more testing than usual.

Christophe

> 
> Signed-off-by: Marc-André Lureau <marcandre.lureau at redhat.com>
> ---
>  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 at lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/spice-devel
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <https://lists.freedesktop.org/archives/spice-devel/attachments/20190107/bcbaaa6a/attachment.sig>


More information about the Spice-devel mailing list