mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-11-19 07:00:10 -05:00
pulse: Deal with header consitification in PulseAudio 13.0
The 13.0 release included changes to constify various parameters in the public headers, which breaks our implementation. This adds an optional const qualifier based on the version we're compiling against to deal with that. There are some warnings caused by bad annotations upstream which should be fixed separately.
This commit is contained in:
parent
2308318b39
commit
8666bcac65
9 changed files with 47 additions and 39 deletions
|
|
@ -953,7 +953,7 @@ pa_cvolume* pa_cvolume_set_position(
|
|||
|
||||
SPA_EXPORT
|
||||
pa_volume_t pa_cvolume_get_position(
|
||||
pa_cvolume *cv,
|
||||
PA_CONST pa_cvolume *cv,
|
||||
const pa_channel_map *map,
|
||||
pa_channel_position_t t) {
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue