source: Deal with filter having more channels than the master
authorArun Raghavan <git@arunraghavan.net>
Tue, 3 Nov 2015 17:12:08 +0000 (22:42 +0530)
committerArun Raghavan <git@arunraghavan.net>
Fri, 20 Nov 2015 12:04:38 +0000 (17:34 +0530)
commitf5f677236436e030a56f890b45c43d03e1bc9544
treefbfb01f159e641971dffca6d54ed1fd10bdca8d9
parent1c5005ef77737a21b513eaa322d2f119e12f31e3
source: Deal with filter having more channels than the master

Without this, we hit an assert because the channel count in
new_reference (which was inherited from the master) is lower than the
channel count of the filter.
src/pulsecore/source.c