/third_party/pulseaudio/src/pulsecore/ |
D | source.c | 279 pa_cvolume_reset(&s->soft_volume, s->sample_spec.channels); in pa_source_new() 325 s->thread_info.soft_volume = s->soft_volume; in pa_source_new() 337 pa_sw_cvolume_divide(&s->thread_info.current_hw_volume, &s->real_volume, &s->soft_volume); in pa_source_new() 637 s->soft_volume = s->reference_volume; in pa_source_put() 661 s->thread_info.soft_volume = s->soft_volume; in pa_source_put() 663 pa_sw_cvolume_divide(&s->thread_info.current_hw_volume, &s->real_volume, &s->soft_volume); in pa_source_put() 987 if (s->thread_info.soft_muted || !pa_cvolume_is_norm(&s->thread_info.soft_volume)) { in pa_source_post() 993 if (s->thread_info.soft_muted || pa_cvolume_is_muted(&s->thread_info.soft_volume)) in pa_source_post() 996 pa_volume_memchunk(&vchunk, &s->sample_spec, &s->thread_info.soft_volume); in pa_source_post() 1029 if (s->thread_info.soft_muted || !pa_cvolume_is_norm(&s->thread_info.soft_volume)) { in pa_source_post_direct() [all …]
|
D | sink.c | 292 pa_cvolume_reset(&s->soft_volume, s->sample_spec.channels); in pa_sink_new() 338 s->thread_info.soft_volume = s->soft_volume; in pa_sink_new() 354 pa_sw_cvolume_divide(&s->thread_info.current_hw_volume, &s->real_volume, &s->soft_volume); in pa_sink_new() 689 s->soft_volume = s->reference_volume; in pa_sink_put() 713 s->thread_info.soft_volume = s->soft_volume; in pa_sink_put() 715 pa_sw_cvolume_divide(&s->thread_info.current_hw_volume, &s->real_volume, &s->soft_volume); in pa_sink_put() 1291 pa_sw_cvolume_multiply(&volume, &s->thread_info.soft_volume, &info[0].volume); in pa_sink_render() 1312 &s->thread_info.soft_volume, in pa_sink_render() 1368 pa_sw_cvolume_multiply(&volume, &s->thread_info.soft_volume, &info[0].volume); in pa_sink_render_into() 1398 &s->thread_info.soft_volume, in pa_sink_render_into() [all …]
|
D | source-output.c | 470 pa_cvolume_reset(&o->soft_volume, o->sample_spec.channels); in pa_source_output_new() 488 o->thread_info.soft_volume = o->soft_volume; in pa_source_output_new() 711 o->thread_info.soft_volume = o->soft_volume; in pa_source_output_put() 775 volume_is_norm = pa_cvolume_is_norm(&o->thread_info.soft_volume) && !o->thread_info.muted; in pa_source_output_push() 825 pa_sw_cvolume_multiply(&v, &o->thread_info.soft_volume, &o->volume_factor_source); in pa_source_output_push() 830 pa_volume_memchunk(&qchunk, &o->source->sample_spec, &o->thread_info.soft_volume); in pa_source_output_push() 1071 pa_sw_cvolume_multiply(&o->soft_volume, &o->real_ratio, &o->volume_factor); in set_real_ratio() 1462 pa_assert(pa_cvolume_equal(&o->soft_volume, &o->volume_factor)); in update_volume_due_to_moving() 1484 pa_assert(pa_cvolume_equal(&o->soft_volume, &o->volume_factor)); in update_volume_due_to_moving() 1502 pa_assert(pa_cvolume_is_norm(&o->destination_source->soft_volume)); in update_volume_due_to_moving() [all …]
|
D | sink-input.c | 591 pa_cvolume_reset(&i->soft_volume, i->sample_spec.channels); in pa_sink_input_new() 619 i->thread_info.soft_volume = i->soft_volume; in pa_sink_input_new() 919 i->thread_info.soft_volume = i->soft_volume; in pa_sink_input_put() 1010 volume_is_norm = pa_cvolume_is_norm(&i->thread_info.soft_volume) && !i->thread_info.muted; in pa_sink_input_peek() 1066 pa_sw_cvolume_multiply(&v, &i->thread_info.soft_volume, &i->volume_factor_sink); in pa_sink_input_peek() 1071 … pa_volume_memchunk(&wchunk, &i->thread_info.sample_spec, &i->thread_info.soft_volume); in pa_sink_input_peek() 1136 *volume = i->thread_info.soft_volume; in pa_sink_input_peek() 1489 pa_sw_cvolume_multiply(&i->soft_volume, &i->real_ratio, &i->volume_factor); in pa_sink_input_add_volume_factor() 1520 pa_sw_cvolume_multiply(&i->soft_volume, &i->real_ratio, &i->volume_factor); in pa_sink_input_remove_volume_factor() 1545 pa_sw_cvolume_multiply(&i->soft_volume, &i->real_ratio, &i->volume_factor); in set_real_ratio() [all …]
|
D | source-output.h | 101 …pa_cvolume soft_volume; /* The internal software volume we apply to all PCM data while it p… member 207 pa_cvolume soft_volume; member
|
D | sink-input.h | 113 …pa_cvolume soft_volume; /* The internal software volume we apply to all PCM data while it… member 249 pa_cvolume soft_volume; member
|
D | source.h | 100 …pa_cvolume soft_volume; /* The internal software volume we apply to all PCM data while it pas… member 239 pa_cvolume soft_volume; member
|
D | sink.h | 99 …pa_cvolume soft_volume; /* The internal software volume we apply to all PCM data while it pas… member 281 pa_cvolume soft_volume; member
|
D | cli-command.c | 1956 …(buf, "soft = %s, ", pa_cvolume_snprint_verbose(v_str, sizeof(v_str), &s->soft_volume, map, true)); in pa_cli_command_dump_volumes() 1976 …(buf, "soft = %s, ", pa_cvolume_snprint_verbose(v_str, sizeof(v_str), &i->soft_volume, map, true)); in pa_cli_command_dump_volumes() 2008 …buf, "soft = %s, ", pa_cvolume_snprint_verbose(v_str, sizeof(v_str), &so->soft_volume, map, true)); in pa_cli_command_dump_volumes() 2028 …(buf, "soft = %s, ", pa_cvolume_snprint_verbose(v_str, sizeof(v_str), &o->soft_volume, map, true)); in pa_cli_command_dump_volumes()
|
/third_party/pulseaudio/src/modules/raop/ |
D | raop-sink.c | 398 pa_sw_cvolume_divide(&s->soft_volume, &s->real_volume, &hw); in sink_set_volume_cb() 403 pa_cvolume_snprint_verbose(t, sizeof(t), &s->soft_volume, &s->channel_map, true)); in sink_set_volume_cb()
|
/third_party/pulseaudio/src/modules/alsa/ |
D | alsa-source.c | 1456 s->soft_volume = new_soft_volume; in source_set_volume_cb()
|
D | alsa-sink.c | 1582 s->soft_volume = new_soft_volume; in sink_set_volume_cb()
|