Searched refs:new_reference_volume (Results 1 – 2 of 2) sorted by relevance
/third_party/pulseaudio/src/pulsecore/ |
D | source.c | 1654 pa_cvolume new_reference_volume, root_real_volume; in pa_source_set_volume() local 1683 new_reference_volume = *volume; in pa_source_set_volume() 1685 new_reference_volume = s->reference_volume; in pa_source_set_volume() 1686 pa_cvolume_scale(&new_reference_volume, pa_cvolume_max(volume)); in pa_source_set_volume() 1689 pa_cvolume_remap(&new_reference_volume, &s->channel_map, &root_source->channel_map); in pa_source_set_volume() 1691 …if (update_reference_volume(root_source, &new_reference_volume, &root_source->channel_map, save)) { in pa_source_set_volume() 1721 pa_cvolume_merge(&new_reference_volume, &s->reference_volume, &root_real_volume); in pa_source_set_volume() 1724 pa_cvolume_remap(&new_reference_volume, &s->channel_map, &root_source->channel_map); in pa_source_set_volume() 1726 … update_reference_volume(root_source, &new_reference_volume, &root_source->channel_map, save); in pa_source_set_volume()
|
D | sink.c | 2140 pa_cvolume new_reference_volume; in pa_sink_set_volume() local 2169 new_reference_volume = *volume; in pa_sink_set_volume() 2171 new_reference_volume = s->reference_volume; in pa_sink_set_volume() 2172 pa_cvolume_scale(&new_reference_volume, pa_cvolume_max(volume)); in pa_sink_set_volume() 2175 pa_cvolume_remap(&new_reference_volume, &s->channel_map, &root_sink->channel_map); in pa_sink_set_volume() 2177 … if (update_reference_volume(root_sink, &new_reference_volume, &root_sink->channel_map, save)) { in pa_sink_set_volume() 2198 pa_cvolume_merge(&new_reference_volume, &s->reference_volume, &root_sink->real_volume); in pa_sink_set_volume() 2201 pa_cvolume_remap(&new_reference_volume, &s->channel_map, &root_sink->channel_map); in pa_sink_set_volume() 2202 update_reference_volume(root_sink, &new_reference_volume, &root_sink->channel_map, save); in pa_sink_set_volume()
|