mirror of
https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git
synced 2025-12-17 08:56:42 -05: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;
|
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;
|
int a, b;
|
||||||
pa_cvolume result;
|
pa_cvolume result;
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -228,7 +228,7 @@ double pa_sw_volume_to_linear(pa_volume_t v) PA_GCC_CONST;
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
/** Remap a volume from one channel mapping to a different channel mapping. \since 0.9.12 */
|
/** 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
|
/** Return non-zero if the specified volume is compatible with
|
||||||
* the specified sample spec. \since 0.9.13 */
|
* the specified sample spec. \since 0.9.13 */
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue