pulsesrc: Don't use memset to set invalid channel positions
authorArun Raghavan <arun.raghavan@collabora.co.uk>
Tue, 14 Aug 2012 04:06:30 +0000 (09:36 +0530)
committerWim Taymans <wim.taymans@collabora.co.uk>
Wed, 22 Aug 2012 09:38:41 +0000 (11:38 +0200)
commitfe83843abeb9234f30bcf979c8f9e2c428caa2d0
tree252a829307552f70fd0689507419034041331184
parent2c69684b80fc2ae6f6313147b6987ef7dc8bf087
pulsesrc: Don't use memset to set invalid channel positions

This itereates over the GstAudioInfo to set invalid channel positions
rather than use memset() which works right now because it assumes that
GST_AUDIO_CHANNEL_POSITION_INVALID is -1.
ext/pulse/pulsesrc.c