mirror of
https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git
synced 2025-10-29 05:40:23 -04:00
add missing 'const'
This commit is contained in:
parent
0ca16caff7
commit
ee17772cea
2 changed files with 2 additions and 2 deletions
|
|
@ -341,7 +341,7 @@ static pa_bool_t on_lfe(pa_channel_position_t p) {
|
|||
p == PA_CHANNEL_POSITION_LFE;
|
||||
}
|
||||
|
||||
pa_cvolume *pa_cvolume_remap(pa_cvolume *v, pa_channel_map *from, pa_channel_map *to) {
|
||||
pa_cvolume *pa_cvolume_remap(pa_cvolume *v, const pa_channel_map *from, const pa_channel_map *to) {
|
||||
int a, b;
|
||||
pa_cvolume result;
|
||||
|
||||
|
|
|
|||
|
|
@ -228,7 +228,7 @@ double pa_sw_volume_to_linear(pa_volume_t v) PA_GCC_CONST;
|
|||
#endif
|
||||
|
||||
/** Remap a volume from one channel mapping to a different channel mapping. \since 0.9.12 */
|
||||
pa_cvolume *pa_cvolume_remap(pa_cvolume *v, pa_channel_map *from, pa_channel_map *to);
|
||||
pa_cvolume *pa_cvolume_remap(pa_cvolume *v, const pa_channel_map *from, const pa_channel_map *to);
|
||||
|
||||
/** Return non-zero if the specified volume is compatible with
|
||||
* the specified sample spec. \since 0.9.13 */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue