]> code.delx.au - pulseaudio/commit
sink-input: Check flat volume with pa_sink_flat_volume_enabled().
authorTanu Kaskinen <tanuk@iki.fi>
Fri, 15 Apr 2011 15:36:38 +0000 (18:36 +0300)
committerColin Guthrie <colin@mageia.org>
Mon, 18 Apr 2011 08:31:51 +0000 (10:31 +0200)
commita2581e6688c3fdcde4734f52a6b5fbc489f782b3
treeb31ded6592ac698642659dcd898604badce65ea5
parent0e60a80afae49fbde327388be485f7f5691828b8
sink-input: Check flat volume with pa_sink_flat_volume_enabled().

Checking just the flag doesn't work if the sink uses volume sharing, because
such sinks never have PA_SINK_FLAT_VOLUME set.
src/pulsecore/sink-input.c