sink-input, source-output: Assign to reference_ratio from a single place 45/26445/1
authorTanu Kaskinen <tanu.kaskinen@linux.intel.com>
Mon, 4 Aug 2014 17:57:55 +0000 (20:57 +0300)
committerTanu Kaskinen <tanu.kaskinen@linux.intel.com>
Fri, 22 Aug 2014 10:43:43 +0000 (13:43 +0300)
commitc9b6f327026d3045f26db96e6947a6ad43408a36
tree6d44585245190c0df6dab690fd906b037d623e8b
parent34c7654a385abbf5492e87cb3a1d14f9262081e0
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.

Change-Id: I2344ba7825f76cd72241599bd138b21e16555e01
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