8f55604e86
Signed-off-by: Daniel P. Berrangé <berrange@redhat.com>
53 lines
2.3 KiB
Diff
53 lines
2.3 KiB
Diff
From ab255b17d5d0bf08ada407738f567af3c7221a50 Mon Sep 17 00:00:00 2001
|
|
From: =?UTF-8?q?Daniel=20P=2E=20Berrang=C3=A9?= <berrange@redhat.com>
|
|
Date: Wed, 13 May 2020 17:39:51 +0100
|
|
Subject: [PATCH] wixl: switch spice-glib back to dsound driver
|
|
MIME-Version: 1.0
|
|
Content-Type: text/plain; charset=UTF-8
|
|
Content-Transfer-Encoding: 8bit
|
|
|
|
The libgstwasapi.dll sink has bad interactions with spice causing it to
|
|
stop playing audio after the first time the stream was opened and
|
|
closed. Revert back to dsound driver until there is some solution that
|
|
makes the wasapi driver reliable.
|
|
|
|
Fixes https://gitlab.com/virt-viewer/virt-viewer/-/issues/2
|
|
Signed-off-by: Daniel P. Berrangé <berrange@redhat.com>
|
|
---
|
|
data/wixl/spice-glib.wxi | 11 +++++++++--
|
|
1 file changed, 9 insertions(+), 2 deletions(-)
|
|
|
|
diff --git a/data/wixl/spice-glib.wxi b/data/wixl/spice-glib.wxi
|
|
index 8debe63..916e728 100644
|
|
--- a/data/wixl/spice-glib.wxi
|
|
+++ b/data/wixl/spice-glib.wxi
|
|
@@ -62,9 +62,13 @@
|
|
<Component Win64="$(var.Win64)" Id="cmp6E40650EE781D7A31FD8621801955090" Guid="*">
|
|
<File Id="fil5FE981BB233522C4A80C71349DDCDC94" KeyPath="yes" Source="$(var.SourceDir)/lib/gstreamer-1.0/libgstautodetect.dll"/>
|
|
</Component>
|
|
-
|
|
<Component Win64="$(var.Win64)" Id="cmpEE8AD0322820C368BE403D5588B6C5A3" Guid="*">
|
|
- <File Id="FIL887859C95D334F8EAF8A10FAEC6F7CE9" KeyPath="yes" Source="$(var.SourceDir)/lib/gstreamer-1.0/libgstwasapi.dll"/>
|
|
+ <File Id="filA999BEB07C46CC2A776985F40270F7ED" KeyPath="yes" Source="$(var.SourceDir)/lib/gstreamer-1.0/libgstdirectsound.dll"/>
|
|
+ </Component>
|
|
+
|
|
+ <!-- gstreamer1-plugins-bad-free -->
|
|
+ <Component Win64="$(var.Win64)" Id="cmp83B339398D5E5381DD1E992E16858015" Guid="*">
|
|
+ <File Id="filF556FED35C41B9063691FFEB1488F4EF" KeyPath="yes" Source="$(var.SourceDir)/lib/gstreamer-1.0/libgstdirectsoundsrc.dll"/>
|
|
</Component>
|
|
</Directory>
|
|
</Directory> <!-- INSTALLDIR/lib -->
|
|
@@ -122,6 +126,9 @@
|
|
<!-- from gstreamer1-plugins-good (lib) -->
|
|
<ComponentRef Id="cmp6E40650EE781D7A31FD8621801955090"/>
|
|
<ComponentRef Id="cmpEE8AD0322820C368BE403D5588B6C5A3"/>
|
|
+
|
|
+ <!-- from gstreamer1-plugins-bad-free (lib) -->
|
|
+ <ComponentRef Id="cmp83B339398D5E5381DD1E992E16858015"/>
|
|
</ComponentGroup>
|
|
</Fragment>
|
|
</Include>
|
|
--
|
|
2.26.2
|
|
|