mirror of
https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git
synced 2025-10-29 05:40:23 -04:00
volume: pa_cvolume_scale_mask: constify param
This commit is contained in:
parent
2f1dcea363
commit
a049e7e8bd
2 changed files with 2 additions and 2 deletions
|
|
@ -789,7 +789,7 @@ pa_cvolume* pa_cvolume_scale(pa_cvolume *v, pa_volume_t max) {
|
|||
return v;
|
||||
}
|
||||
|
||||
pa_cvolume* pa_cvolume_scale_mask(pa_cvolume *v, pa_volume_t max, pa_channel_map *cm, pa_channel_position_mask_t mask) {
|
||||
pa_cvolume* pa_cvolume_scale_mask(pa_cvolume *v, pa_volume_t max, const pa_channel_map *cm, pa_channel_position_mask_t mask) {
|
||||
unsigned c;
|
||||
pa_volume_t t = 0;
|
||||
|
||||
|
|
|
|||
|
|
@ -396,7 +396,7 @@ pa_cvolume* pa_cvolume_scale(pa_cvolume *v, pa_volume_t max);
|
|||
* of all channels selected via cm/mask equals max. This also modifies
|
||||
* the volume of those channels that are unmasked. The proportions
|
||||
* between the channel volumes are kept. \since 0.9.16 */
|
||||
pa_cvolume* pa_cvolume_scale_mask(pa_cvolume *v, pa_volume_t max, pa_channel_map *cm, pa_channel_position_mask_t mask);
|
||||
pa_cvolume* pa_cvolume_scale_mask(pa_cvolume *v, pa_volume_t max, const pa_channel_map *cm, pa_channel_position_mask_t mask);
|
||||
|
||||
/** Set the passed volume to all channels at the specified channel
|
||||
* position. Will return the updated volume struct, or NULL if there
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue