directsoundsink: WAVEFORMATEX is unsigned for 8 bit integers, and signed for others
authorSebastian Dröge <slomo@circular-chaos.org>
Wed, 21 Aug 2013 14:32:50 +0000 (16:32 +0200)
committerSebastian Dröge <slomo@circular-chaos.org>
Wed, 21 Aug 2013 14:41:21 +0000 (16:41 +0200)
Probably fixes
https://bugzilla.gnome.org/show_bug.cgi?id=705477

sys/directsound/gstdirectsoundsink.c

index 72a02d7..56b0418 100644 (file)
@@ -114,7 +114,7 @@ static GstStaticPadTemplate directsoundsink_sink_factory =
         "layout = (string) interleaved, "
         "rate = (int) [ 1, MAX ], " "channels = (int) [ 1, 2 ]; "
         "audio/x-raw, "
-        "format = (string) S8, "
+        "format = (string) U8, "
         "layout = (string) interleaved, "
         "rate = (int) [ 1, MAX ], " "channels = (int) [ 1, 2 ];"
         "audio/x-ac3, framed = (boolean) true;"