diff options
author | Daniel Mack <daniel@caiaq.de> | 2009-11-11 10:48:39 +0100 |
---|---|---|
committer | Daniel Mack <daniel@caiaq.de> | 2009-11-11 10:48:39 +0100 |
commit | ed7642ebac32bde8d9c47f3a1d8eabf75c3ea986 (patch) | |
tree | 9db77a271430da8abf7b6d11079bc660f7428094 /src/pulse/volume.h | |
parent | 21ffcd55a5a425870f8f4c3b4933bc7cb352e339 (diff) | |
parent | 22946427624afde1d53973fa5a2e9e2041ffc5b7 (diff) |
Merge branch 'master' of git://0pointer.de/pulseaudio
Diffstat (limited to 'src/pulse/volume.h')
-rw-r--r-- | src/pulse/volume.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/pulse/volume.h b/src/pulse/volume.h index c964020a..ded4422e 100644 --- a/src/pulse/volume.h +++ b/src/pulse/volume.h @@ -348,6 +348,10 @@ 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', but not exceeding 'limit'. + * The proportions between the channels are kept. \since 0.9.19 */ +pa_cvolume* pa_cvolume_inc_clamp(pa_cvolume *v, pa_volume_t inc, pa_volume_t limit); + /** 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); |