summaryrefslogtreecommitdiffstats
path: root/src/pulse/volume.h
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2009-08-19 02:32:36 +0200
committerLennart Poettering <lennart@poettering.net>2009-08-19 02:32:36 +0200
commitcfef930036572e2770a4c17e57f139737a99444a (patch)
tree379dda7eaafe5a5d29b53a0cbd53fbf895f6c8af /src/pulse/volume.h
parent1421eff0b69f6b0173835afe6b857d39e719d1d0 (diff)
volume: introduce pa_cvolume_{inc|dec}()
Diffstat (limited to 'src/pulse/volume.h')
-rw-r--r--src/pulse/volume.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/pulse/volume.h b/src/pulse/volume.h
index 349ca49f..543b0af1 100644
--- a/src/pulse/volume.h
+++ b/src/pulse/volume.h
@@ -345,6 +345,14 @@ pa_volume_t pa_cvolume_get_position(pa_cvolume *cv, const pa_channel_map *map, p
* and dest may point to the same structure. \since 0.9.16 */
pa_cvolume* pa_cvolume_merge(pa_cvolume *dest, const pa_cvolume *a, const pa_cvolume *b);
+/** Increase the volume passed in by 'inc'. The proportions between
+ * the channels are kept. \since 0.9.16 */
+pa_cvolume* pa_cvolume_inc(pa_cvolume *v, pa_volume_t inc);
+
+/** Increase the volume passed in by 'inc'. The proportions between
+ * the channels are kept. \since 0.9.16 */
+pa_cvolume* pa_cvolume_dec(pa_cvolume *v, pa_volume_t dec);
+
PA_C_DECL_END
#endif