diff options
author | Lennart Poettering <lennart@poettering.net> | 2009-08-17 03:40:36 +0200 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2009-08-17 03:40:36 +0200 |
commit | 82082148821d5ebe05fea12fd57d68b31740e04b (patch) | |
tree | 41ce317387ad06463087e3c36ce7a497d8298153 /src/pulse/volume.h | |
parent | 01e4b61a910afdd21f860fadbe98075735c2bf51 (diff) |
volume: add pa_cvolume_merge() call
Diffstat (limited to 'src/pulse/volume.h')
-rw-r--r-- | src/pulse/volume.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/pulse/volume.h b/src/pulse/volume.h index 05b7ebb4..14692b8d 100644 --- a/src/pulse/volume.h +++ b/src/pulse/volume.h @@ -326,6 +326,11 @@ pa_cvolume* pa_cvolume_set_position(pa_cvolume *cv, const pa_channel_map *map, p * position by calling pa_channel_map_has_position(). \since 0.9.16 */ pa_volume_t pa_cvolume_get_position(pa_cvolume *cv, const pa_channel_map *map, pa_channel_position_t t) PA_GCC_PURE; +/** This goes through all channels in a and b and sets the + * corresponding channel in dest to the greater volume of both. a, b + * 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); + PA_C_DECL_END #endif |