raop: Don't use incompatible default sample spec parameters
authorTanu Kaskinen <tanu.kaskinen@linux.intel.com>
Tue, 19 Aug 2014 11:08:34 +0000 (14:08 +0300)
committerTanu Kaskinen <tanu.kaskinen@linux.intel.com>
Sun, 24 Aug 2014 09:08:12 +0000 (12:08 +0300)
commitb1c4e7bf6bae405999d3247c332a71be6b130496
tree1d3b4a3d693f374b56617b8c2720bd0210439814
parentdc2299e96132789e822527f7cbe35e8ac198ce68
raop: Don't use incompatible default sample spec parameters

Since the RAOP sink supports only some formats and channel counts, we
shouldn't blindly use pa_core.default_sample_spec. This patch changes
things so that we default to PA_SAMPLE_S16NE and 2 channels, and only
take the sample rate from pa_core.default_sample_spec.
src/modules/raop/module-raop-sink.c