mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-11-06 13:30:01 -05:00
volume: fix for old api
This commit is contained in:
parent
2a1328533f
commit
ed2f054e76
1 changed files with 4 additions and 0 deletions
|
|
@ -787,7 +787,11 @@ pa_cvolume* pa_cvolume_scale(pa_cvolume *v, pa_volume_t max) {
|
|||
return v;
|
||||
}
|
||||
|
||||
#if PA_CHECK_VERSION(12, 0, 0)
|
||||
pa_cvolume* pa_cvolume_scale_mask(pa_cvolume *v, pa_volume_t max, const pa_channel_map *cm, pa_channel_position_mask_t mask) {
|
||||
#else
|
||||
pa_cvolume* pa_cvolume_scale_mask(pa_cvolume *v, pa_volume_t max, pa_channel_map *cm, pa_channel_position_mask_t mask) {
|
||||
#endif
|
||||
unsigned c;
|
||||
pa_volume_t t = 0;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue