Home
last modified time | relevance | path

Searched refs:root_source (Results 1 – 2 of 2) sorted by relevance

/third_party/pulseaudio/src/pulsecore/
Dsource.c646 pa_source *root_source = pa_source_get_master(s); in pa_source_put() local
648 pa_assert(PA_LIKELY(root_source)); in pa_source_put()
650 s->reference_volume = root_source->reference_volume; in pa_source_put()
651 pa_cvolume_remap(&s->reference_volume, &root_source->channel_map, &s->channel_map); in pa_source_put()
653 s->real_volume = root_source->real_volume; in pa_source_put()
654 pa_cvolume_remap(&s->real_volume, &root_source->channel_map, &s->channel_map); in pa_source_put()
1655 pa_source *root_source; in pa_source_set_volume() local
1673 root_source = pa_source_get_master(s); in pa_source_set_volume()
1675 if (PA_UNLIKELY(!root_source)) in pa_source_set_volume()
1689 pa_cvolume_remap(&new_reference_volume, &s->channel_map, &root_source->channel_map); in pa_source_set_volume()
[all …]
Dsource-output.c1436 pa_source *root_source; in update_volume_due_to_moving() local
1440 root_source = pa_source_get_master(o->source); in update_volume_due_to_moving()
1442 if (PA_UNLIKELY(!root_source)) in update_volume_due_to_moving()
1495 new_volume = root_source->reference_volume; in update_volume_due_to_moving()
1496 … pa_cvolume_remap(&new_volume, &root_source->channel_map, &o->destination_source->channel_map); in update_volume_due_to_moving()
1499 o->destination_source->real_volume = root_source->real_volume; in update_volume_due_to_moving()
1500 …pa_cvolume_remap(&o->destination_source->real_volume, &root_source->channel_map, &o->destination_s… in update_volume_due_to_moving()