virtual: Fix volume callback setting.
authorTanu Kaskinen <tanuk@iki.fi>
Thu, 21 Jul 2011 03:50:56 +0000 (06:50 +0300)
committerColin Guthrie <colin@mageia.org>
Thu, 21 Jul 2011 19:38:57 +0000 (20:38 +0100)
commit1824f6de6a6e2429b9835a8da24204a09b0aa9a0
tree48cdb99be2619c861fe307bf6246b708dfecf850
parentcf0bf5a4c25fc363476620fd875da333e140dd8f
virtual: Fix volume callback setting.

We want to set the volume callbacks only if volume sharing
is not used. When volume sharing is used, we don't want to
mess with the stream volumes.

This was broken in 6c6b50
src/modules/module-virtual-sink.c
src/modules/module-virtual-source.c