]> code.delx.au - pulseaudio/commit
sink, source: Assign to reference_volume from only one place
authorTanu Kaskinen <tanu.kaskinen@linux.intel.com>
Tue, 15 Apr 2014 10:56:03 +0000 (13:56 +0300)
committerTanu Kaskinen <tanu.kaskinen@linux.intel.com>
Fri, 2 May 2014 12:50:15 +0000 (15:50 +0300)
commitfb70fa22c36f9220e8f4424948d0af476fb3d7a9
tree6f8bcbc7af263304e7f4feb2dc39048b87fd1290
parenta388b909f3a0970cf56d4007509dd1b96b4265e2
sink, source: Assign to reference_volume from only one place

Forcing all reference volume changes to go through
set_reference_volume_direct() makes it easier to check where the
reference volume is changed, and it also allows us to have only one
place where notifications for changed reference volume are sent.
src/pulsecore/sink-input.c
src/pulsecore/sink.c
src/pulsecore/sink.h
src/pulsecore/source-output.c
src/pulsecore/source.c
src/pulsecore/source.h