directsoundsink: Plug some memleak and support 22050Hz mono sound.
authorJulien Moutte <julien@fluendo.com>
Wed, 9 Jun 2010 18:07:09 +0000 (20:07 +0200)
committerJulien Moutte <julien@fluendo.com>
Wed, 9 Jun 2010 18:07:09 +0000 (20:07 +0200)
commit055586f2d9b75e9a6912ed36c8718cd94d20c2e8
tree948785d358719c9e3c9c2a163b78000efb988866
parentbd5987a3d23fe17d4253854149c0c53d6bbc5122
directsoundsink: Plug some memleak and support 22050Hz mono sound.

Segment size needs to be a multiple of the sample size in bytes.
sys/directsound/gstdirectsoundsink.c