mirror of
https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git
synced 2025-11-04 13:29:59 -05:00
volume: introduce pa_cvolume_{inc|dec}()
This commit is contained in:
parent
1421eff0b6
commit
cfef930036
3 changed files with 44 additions and 0 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue