Searched refs:real_ratio (Results 1 – 8 of 8) sorted by relevance
/third_party/pulseaudio/src/pulsecore/ |
D | sink-input.c | 526 i->real_ratio = i->reference_ratio = data->volume; in pa_sink_input_new() 528 pa_cvolume_reset(&i->real_ratio, i->sample_spec.channels); in pa_sink_input_new() 1334 pa_sw_cvolume_multiply(&i->soft_volume, &i->real_ratio, &i->volume_factor); in pa_sink_input_add_volume_factor() 1365 pa_sw_cvolume_multiply(&i->soft_volume, &i->real_ratio, &i->volume_factor); in pa_sink_input_remove_volume_factor() 1386 i->real_ratio = *v; in set_real_ratio() 1388 pa_cvolume_reset(&i->real_ratio, i->sample_spec.channels); in set_real_ratio() 1390 pa_sw_cvolume_multiply(&i->soft_volume, &i->real_ratio, &i->volume_factor); in set_real_ratio() 1799 pa_assert(pa_cvolume_is_norm(&i->real_ratio)); in update_volume_due_to_moving() 1821 pa_assert(pa_cvolume_is_norm(&i->real_ratio)); in update_volume_due_to_moving() 1880 i->real_ratio = i->reference_ratio; in update_volume_due_to_moving() [all …]
|
D | source-output.c | 467 o->real_ratio = o->reference_ratio = data->volume; in pa_source_output_new() 469 pa_cvolume_reset(&o->real_ratio, o->sample_spec.channels); in pa_source_output_new() 1038 o->real_ratio = *v; in set_real_ratio() 1040 pa_cvolume_reset(&o->real_ratio, o->sample_spec.channels); in set_real_ratio() 1042 pa_sw_cvolume_multiply(&o->soft_volume, &o->real_ratio, &o->volume_factor); in set_real_ratio() 1432 pa_assert(pa_cvolume_is_norm(&o->real_ratio)); in update_volume_due_to_moving() 1454 pa_assert(pa_cvolume_is_norm(&o->real_ratio)); in update_volume_due_to_moving() 1513 o->real_ratio = o->reference_ratio; in update_volume_due_to_moving() 1514 pa_sw_cvolume_multiply(&o->soft_volume, &o->real_ratio, &o->volume_factor); in update_volume_due_to_moving()
|
D | source-output.h | 99 … pa_cvolume real_ratio; /* The ratio of the stream's volume to the source's real volume */ member
|
D | source.c | 1364 pa_cvolume_reset(&o->real_ratio, o->real_ratio.channels); in compute_real_ratios() 1383 o->real_ratio.channels = o->sample_spec.channels; in compute_real_ratios() 1396 o->real_ratio.values[c], in compute_real_ratios() 1399 o->real_ratio.values[c] = pa_sw_volume_divide( in compute_real_ratios() 1404 o->real_ratio.values[c], in compute_real_ratios() 1805 pa_source_output_set_reference_ratio(o, &o->real_ratio); in propagate_real_volume()
|
D | sink-input.h | 103 pa_cvolume real_ratio; /* The ratio of the stream's volume to the sink's real volume */ member
|
D | sink.c | 1801 pa_cvolume_reset(&i->real_ratio, i->real_ratio.channels); in compute_real_ratios() 1820 i->real_ratio.channels = i->sample_spec.channels; in compute_real_ratios() 1833 i->real_ratio.values[c], in compute_real_ratios() 1836 i->real_ratio.values[c] = pa_sw_volume_divide( in compute_real_ratios() 1841 i->real_ratio.values[c], in compute_real_ratios() 2233 pa_sink_input_set_reference_ratio(i, &i->real_ratio); in propagate_real_volume()
|
D | cli-command.c | 1931 … pa_cvolume_snprint_verbose(v_str, sizeof(v_str), &i->real_ratio, map, true)); in pa_cli_command_dump_volumes() 1983 … pa_cvolume_snprint_verbose(v_str, sizeof(v_str), &o->real_ratio, map, true)); in pa_cli_command_dump_volumes()
|
/third_party/mindspore/tests/st/fl/cross_silo_faster_rcnn/src/FasterRcnn/ |
D | rpn.py | 120 self.real_ratio = Tensor(np.ones((1, 1)).astype(self.dtype))
|