sink-input, source-output: Assign to reference_ratio from a single place
authorTanu Kaskinen <tanu.kaskinen@linux.intel.com>
Mon, 4 Aug 2014 18:12:53 +0000 (21:12 +0300)
committerTanu Kaskinen <tanu.kaskinen@linux.intel.com>
Sun, 17 Aug 2014 05:17:59 +0000 (08:17 +0300)
commitf480fb38a7ca0da07801e90f907fb98228261bf6
tree279fde0168eec0004fd8d50f6bfe0f2f8ce34e13
parent8a4a4f408c3e71a67b2134c21b971ce54a571fd1
sink-input, source-output: Assign to reference_ratio from a single place

This makes it easy to log a message every time the reference ratio
changes. I also need to add a hook for reference ratio changes, but
that need will go away if the stream relative volume controls will be
created by the core in the future.
src/pulsecore/sink-input.c
src/pulsecore/sink-input.h
src/pulsecore/sink.c
src/pulsecore/source-output.c
src/pulsecore/source-output.h
src/pulsecore/source.c