directsoundsink: 16-bit audio is signed, 8-bit is unsigned.
authorPhilip Jägenstedt <philipj@opera.com>
Fri, 20 Nov 2009 09:07:43 +0000 (10:07 +0100)
committerDavid Schleef <ds@schleef.org>
Sat, 9 Jul 2011 23:45:51 +0000 (16:45 -0700)
commitfbe726c3da9bb8e46291c1186a11e53866f14a9e
tree0dfaf4295393a868752f1520358f66ce808c77e7
parenta2e0bda3b5d40b545355267bea042a4bdccc46c9
directsoundsink: 16-bit audio is signed, 8-bit is unsigned.

Pretending to handle 8-bit signed causes distorted audio when
actually given such audio, which you will get if passing 8-bit
unsigned through audioconvert ! audioresample, as audioresample
only handles 8-bit signed.  Fixes #605834.

Signed-off-by: David Schleef <ds@schleef.org>
sys/directsound/gstdirectsoundsink.c