]> code.delx.au - pulseaudio/commit
sink-input: Don't assert when removing non-existent volume factor
authorArun Raghavan <arun.raghavan@collabora.co.uk>
Sat, 3 Aug 2013 06:09:17 +0000 (11:39 +0530)
committerArun Raghavan <arun.raghavan@collabora.co.uk>
Thu, 8 Aug 2013 06:28:22 +0000 (11:58 +0530)
commitf8f0d4c26bd71214ef2be4027d39480f9eaaae9e
tree8e6c33d30e1eac6346f6260e4254995c7f4f3cc2
parentbc7aaff377d062ef3ebc113313e8391190785fb4
sink-input: Don't assert when removing non-existent volume factor

This makes it easier for users of this API to add/updated a volume
factor by doing a _remove_volume_factor() followed by an
add_volume_factor(), rather than having to either remember whether this
is the first set operation or have an API to query whether a factor has
already been set.
src/pulsecore/sink-input.c
src/pulsecore/sink-input.h