mirror of
https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git
synced 2025-11-05 13:29:57 -05:00
volume: add pa_cvolume_inc_clamp function
added function to increase volume not exceeding specified limit simply changed PA_VOLUME_MAX to 'limit' in pa_cvolume_inc pa_cvolume_inc now calls pa_cvolume_inc_clamp with PA_VOLUME_MAX limit
This commit is contained in:
parent
53b046d5c9
commit
d2c59354d5
3 changed files with 12 additions and 3 deletions
|
|
@ -130,6 +130,7 @@ pa_cvolume_get_balance;
|
|||
pa_cvolume_get_fade;
|
||||
pa_cvolume_get_position;
|
||||
pa_cvolume_inc;
|
||||
pa_cvolume_inc_clamp;
|
||||
pa_cvolume_init;
|
||||
pa_cvolume_max;
|
||||
pa_cvolume_max_mask;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue