diff options
author | Lennart Poettering <lennart@poettering.net> | 2008-08-13 13:52:20 +0200 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2008-08-13 13:52:20 +0200 |
commit | e4adcf7071a34d6338c564db11d8bc97a7b3c264 (patch) | |
tree | cd0807299ef46fbdda4f3af6235aef807407d52e /src/pulse/volume.h | |
parent | a176f68e0abb32331223dbb0dfa2dfcbe8af1cd6 (diff) | |
download | pulseaudio-e4adcf7071a34d6338c564db11d8bc97a7b3c264.tar.gz |
add new API function pa_cvolume_max()
Diffstat (limited to 'src/pulse/volume.h')
-rw-r--r-- | src/pulse/volume.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/pulse/volume.h b/src/pulse/volume.h index 4fdbf658c..a356f749a 100644 --- a/src/pulse/volume.h +++ b/src/pulse/volume.h @@ -134,6 +134,9 @@ char *pa_cvolume_snprint(char *s, size_t l, const pa_cvolume *c); /** Return the average volume of all channels */ pa_volume_t pa_cvolume_avg(const pa_cvolume *a) PA_GCC_PURE; +/** Return the maximum volume of all channels. \since 0.9.12 */ +pa_volume_t pa_cvolume_max(const pa_cvolume *a) PA_GCC_PURE; + /** Return TRUE when the passed cvolume structure is valid, FALSE otherwise */ int pa_cvolume_valid(const pa_cvolume *v) PA_GCC_PURE; |