source-output: Get the correct source for "direct_on_input" streams
authorTanu Kaskinen <tanu.kaskinen@linux.intel.com>
Wed, 14 Aug 2013 13:54:28 +0000 (16:54 +0300)
committerTanu Kaskinen <tanu.kaskinen@linux.intel.com>
Wed, 21 Aug 2013 13:59:01 +0000 (16:59 +0300)
commit8cca3b3c1007fd81d57534b4f3b5280b08df9272
treeb622631c1f68284351832fc2dec636dc5b391a18
parentdf0a9e12d8e1af6321bba7e56a54e6d188b7f77c
source-output: Get the correct source for "direct_on_input" streams

If a capture stream captures from a single sink input (so the capture
stream is a so called "direct on input" stream), then it needs to
connect to the monitor source of the sink to which the sink input is
connected. Previously the correct source was not figured out
automatically, causing the capture stream creation to fail.
src/pulsecore/source-output.c