mirror of
https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git
synced 2025-11-04 13:29:59 -05:00
volume: pa_cvolume_get_position: constify
This commit is contained in:
parent
3455d62e49
commit
d851021cf5
2 changed files with 2 additions and 2 deletions
|
|
@ -911,7 +911,7 @@ pa_cvolume* pa_cvolume_set_position(
|
|||
}
|
||||
|
||||
pa_volume_t pa_cvolume_get_position(
|
||||
pa_cvolume *cv,
|
||||
const pa_cvolume *cv,
|
||||
const pa_channel_map *map,
|
||||
pa_channel_position_t t) {
|
||||
|
||||
|
|
|
|||
|
|
@ -416,7 +416,7 @@ pa_cvolume* pa_cvolume_set_position(pa_cvolume *cv, const pa_channel_map *map, p
|
|||
* position. Will return 0 if there is no channel at the position
|
||||
* specified. You can check if a channel map includes a specific
|
||||
* position by calling pa_channel_map_has_position(). \since 0.9.16 */
|
||||
pa_volume_t pa_cvolume_get_position(pa_cvolume *cv, const pa_channel_map *map, pa_channel_position_t t) PA_GCC_PURE;
|
||||
pa_volume_t pa_cvolume_get_position(const pa_cvolume *cv, const pa_channel_map *map, pa_channel_position_t t) PA_GCC_PURE;
|
||||
|
||||
/** This goes through all channels in a and b and sets the
|
||||
* corresponding channel in dest to the greater volume of both. a, b
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue