/third_party/pulseaudio/src/pulse/ |
D | volume.h | 145 typedef struct pa_cvolume { struct 148 } pa_cvolume; typedef 153 int pa_cvolume_equal(const pa_cvolume *a, const pa_cvolume *b) PA_GCC_PURE; 158 pa_cvolume* pa_cvolume_init(pa_cvolume *a); 167 pa_cvolume* pa_cvolume_set(pa_cvolume *a, unsigned channels, pa_volume_t v); 177 char *pa_cvolume_snprint(char *s, size_t l, const pa_cvolume *c); 187 char *pa_sw_cvolume_snprint_dB(char *s, size_t l, const pa_cvolume *c); 199 char *pa_cvolume_snprint_verbose(char *s, size_t l, const pa_cvolume *c, const pa_channel_map *map,… 233 pa_volume_t pa_cvolume_avg(const pa_cvolume *a) PA_GCC_PURE; 240 pa_volume_t pa_cvolume_avg_mask(const pa_cvolume *a, const pa_channel_map *cm, pa_channel_position_… [all …]
|
D | volume.c | 35 int pa_cvolume_equal(const pa_cvolume *a, const pa_cvolume *b) { in pa_cvolume_equal() 57 pa_cvolume* pa_cvolume_init(pa_cvolume *a) { in pa_cvolume_init() 70 pa_cvolume* pa_cvolume_set(pa_cvolume *a, unsigned channels, pa_volume_t v) { in pa_cvolume_set() 86 pa_volume_t pa_cvolume_avg(const pa_cvolume *a) { in pa_cvolume_avg() 101 pa_volume_t pa_cvolume_avg_mask(const pa_cvolume *a, const pa_channel_map *cm, pa_channel_position_… in pa_cvolume_avg_mask() 127 pa_volume_t pa_cvolume_max(const pa_cvolume *a) { in pa_cvolume_max() 141 pa_volume_t pa_cvolume_min(const pa_cvolume *a) { in pa_cvolume_min() 155 pa_volume_t pa_cvolume_max_mask(const pa_cvolume *a, const pa_channel_map *cm, pa_channel_position_… in pa_cvolume_max_mask() 178 pa_volume_t pa_cvolume_min_mask(const pa_cvolume *a, const pa_channel_map *cm, pa_channel_position_… in pa_cvolume_min_mask() 294 char *pa_cvolume_snprint(char *s, size_t l, const pa_cvolume *c) { in pa_cvolume_snprint() [all …]
|
D | ohos_pa_volume.c | 35 int pa_cvolume_equal(const pa_cvolume *a, const pa_cvolume *b) { in pa_cvolume_equal() 57 pa_cvolume* pa_cvolume_init(pa_cvolume *a) { in pa_cvolume_init() 70 pa_cvolume* pa_cvolume_set(pa_cvolume *a, unsigned channels, pa_volume_t v) { in pa_cvolume_set() 86 pa_volume_t pa_cvolume_avg(const pa_cvolume *a) { in pa_cvolume_avg() 101 pa_volume_t pa_cvolume_avg_mask(const pa_cvolume *a, const pa_channel_map *cm, pa_channel_position_… in pa_cvolume_avg_mask() 127 pa_volume_t pa_cvolume_max(const pa_cvolume *a) { in pa_cvolume_max() 141 pa_volume_t pa_cvolume_min(const pa_cvolume *a) { in pa_cvolume_min() 155 pa_volume_t pa_cvolume_max_mask(const pa_cvolume *a, const pa_channel_map *cm, pa_channel_position_… in pa_cvolume_max_mask() 178 pa_volume_t pa_cvolume_min_mask(const pa_cvolume *a, const pa_channel_map *cm, pa_channel_position_… in pa_cvolume_min_mask() 299 char *pa_cvolume_snprint(char *s, size_t l, const pa_cvolume *c) { in pa_cvolume_snprint() [all …]
|
D | introspect.h | 268 pa_cvolume volume; /**< Volume of the sink */ 301 pa_operation* pa_context_set_sink_volume_by_index(pa_context *c, uint32_t idx, const pa_cvolume *vo… 304 pa_operation* pa_context_set_sink_volume_by_name(pa_context *c, const char *name, const pa_cvolume … 373 pa_cvolume volume; /**< Volume of the source */ 406 pa_operation* pa_context_set_source_volume_by_index(pa_context *c, uint32_t idx, const pa_cvolume *… 409 …ntext_set_source_volume_by_name(pa_context *c, const char *name, const pa_cvolume *volume, pa_cont… 637 pa_cvolume volume; /**< The volume of this sink input. */ 666 pa_operation* pa_context_set_sink_input_volume(pa_context *c, uint32_t idx, const pa_cvolume *volum… 695 pa_cvolume volume; /**< The volume of this source output \since 1.0 */ 718 pa_operation* pa_context_set_source_output_volume(pa_context *c, uint32_t idx, const pa_cvolume *vo… [all …]
|
/third_party/pulseaudio/src/pulsecore/ |
D | sink-input.h | 101 pa_cvolume volume; /* The volume clients are informed about */ 102 …pa_cvolume reference_ratio; /* The ratio of the stream's volume to the sink's reference volume … 103 pa_cvolume real_ratio; /* The ratio of the stream's volume to the sink's real volume */ 111 pa_cvolume volume_factor; 113 …pa_cvolume soft_volume; /* The internal software volume we apply to all PCM data while it… 115 …pa_cvolume volume_factor_sink; /* A second volume factor in format of the sink this stream is conn… 237 pa_cvolume soft_volume; 309 pa_cvolume volume; 332 void pa_sink_input_new_data_set_volume(pa_sink_input_new_data *data, const pa_cvolume *volume); 333 …_add_volume_factor(pa_sink_input_new_data *data, const char *key, const pa_cvolume *volume_factor); [all …]
|
D | source-output.h | 97 pa_cvolume volume; /* The volume clients are informed about */ 98 …pa_cvolume reference_ratio; /* The ratio of the stream's volume to the source's reference volum… 99 … pa_cvolume real_ratio; /* The ratio of the stream's volume to the source's real volume */ 100 …pa_cvolume volume_factor; /* An internally used volume factor that can be used by modules to … 101 …pa_cvolume soft_volume; /* The internal software volume we apply to all PCM data while it p… 103 …pa_cvolume volume_factor_source; /* A second volume factor in format of the source this stream is … 207 pa_cvolume soft_volume; 271 pa_cvolume volume, volume_factor, volume_factor_source; 292 void pa_source_output_new_data_set_volume(pa_source_output_new_data *data, const pa_cvolume *volume… 293 …put_new_data_apply_volume_factor(pa_source_output_new_data *data, const pa_cvolume *volume_factor); [all …]
|
D | source.h | 98 …pa_cvolume reference_volume; /* The volume exported and taken as reference base for relative sourc… 99 pa_cvolume real_volume; /* The volume that the hardware is configured to */ 100 …pa_cvolume soft_volume; /* The internal software volume we apply to all PCM data while it pas… 111 pa_cvolume saved_volume; 238 pa_cvolume soft_volume; 263 pa_cvolume current_hw_volume; 319 pa_cvolume volume; 342 void pa_source_new_data_set_volume(pa_source_new_data *data, const pa_cvolume *volume); 372 void pa_source_set_soft_volume(pa_source *s, const pa_cvolume *volume); 373 void pa_source_volume_changed(pa_source *s, const pa_cvolume *new_volume); [all …]
|
D | sink.h | 97 …pa_cvolume reference_volume; /* The volume exported and taken as reference base for relative sink … 98 pa_cvolume real_volume; /* The volume that the hardware is configured to */ 99 …pa_cvolume soft_volume; /* The internal software volume we apply to all PCM data while it pas… 110 pa_cvolume saved_volume; 280 pa_cvolume soft_volume; 321 pa_cvolume current_hw_volume; 381 pa_cvolume volume; 404 void pa_sink_new_data_set_volume(pa_sink_new_data *data, const pa_cvolume *volume); 435 void pa_sink_set_soft_volume(pa_sink *s, const pa_cvolume *volume); 436 void pa_sink_volume_changed(pa_sink *s, const pa_cvolume *new_volume); [all …]
|
D | mix.h | 31 pa_cvolume volume; 49 const pa_cvolume *volume, 60 const pa_cvolume *volume);
|
D | play-memblockq.h | 31 pa_cvolume *volume, 42 pa_cvolume *cvolume,
|
D | mix.c | 38 static void calc_linear_integer_volume(int32_t linear[], const pa_cvolume *volume) { in calc_linear_integer_volume() 53 static void calc_linear_float_volume(float linear[], const pa_cvolume *volume) { in calc_linear_float_volume() 68 …integer_stream_volumes(pa_mix_info streams[], unsigned nstreams, const pa_cvolume *volume, const p… in calc_linear_integer_stream_volumes() 87 …r_float_stream_volumes(pa_mix_info streams[], unsigned nstreams, const pa_cvolume *volume, const p… in calc_linear_float_stream_volumes() 106 …tream_volumes_func_t) (pa_mix_info streams[], unsigned nstreams, const pa_cvolume *volume, const p… 621 const pa_cvolume *volume, in pa_mix() 624 pa_cvolume full_volume; in pa_mix() 672 typedef void (*pa_calc_volume_func_t) (void *volumes, const pa_cvolume *volume); 693 const pa_cvolume *volume) { in pa_volume_memchunk()
|
D | source.c | 54 pa_cvolume hw_volume; 114 void pa_source_new_data_set_volume(pa_source_new_data *data, const pa_cvolume *volume) { in pa_source_new_data_set_volume() 1265 pa_cvolume volume; in pa_source_enter_passthrough() 1287 pa_cvolume remapped; in compute_reference_ratio() 1288 pa_cvolume ratio; in compute_reference_ratio() 1358 pa_cvolume remapped; in compute_real_ratios() 1413 static pa_cvolume *cvolume_remap_minimal_impact( in cvolume_remap_minimal_impact() 1414 pa_cvolume *v, in cvolume_remap_minimal_impact() 1415 const pa_cvolume *template, in cvolume_remap_minimal_impact() 1419 pa_cvolume t; in cvolume_remap_minimal_impact() [all …]
|
D | sink-input.c | 53 pa_cvolume volume; 56 static struct volume_factor_entry *volume_factor_entry_new(const char *key, const pa_cvolume *volum… in volume_factor_entry_new() 77 static void volume_factor_from_hashmap(pa_cvolume *v, pa_hashmap *items, uint8_t channels) { in volume_factor_from_hashmap() 87 static void set_real_ratio(pa_sink_input *i, const pa_cvolume *v); 146 void pa_sink_input_new_data_set_volume(pa_sink_input_new_data *data, const pa_cvolume *volume) { in pa_sink_input_new_data_set_volume() 154 …add_volume_factor(pa_sink_input_new_data *data, const char *key, const pa_cvolume *volume_factor) { in pa_sink_input_new_data_add_volume_factor() 165 …olume_factor_sink(pa_sink_input_new_data *data, const char *key, const pa_cvolume *volume_factor) { in pa_sink_input_new_data_add_volume_factor_sink() 508 pa_cvolume remapped; in pa_sink_input_new() 870 …eek(pa_sink_input *i, size_t slength /* in sink bytes */, pa_memchunk *chunk, pa_cvolume *volume) { in pa_sink_input_peek() 971 pa_cvolume v; in pa_sink_input_peek() [all …]
|
D | tagstruct.h | 83 void pa_tagstruct_put_cvolume(pa_tagstruct *t, const pa_cvolume *cvolume); 101 int pa_tagstruct_get_cvolume(pa_tagstruct *t, pa_cvolume *v);
|
D | source-output.c | 48 static void set_real_ratio(pa_source_output *o, const pa_cvolume *v); 87 void pa_source_output_new_data_set_volume(pa_source_output_new_data *data, const pa_cvolume *volume… in pa_source_output_new_data_set_volume() 95 …ut_new_data_apply_volume_factor(pa_source_output_new_data *data, const pa_cvolume *volume_factor) { in pa_source_output_new_data_apply_volume_factor() 107 …data_apply_volume_factor_source(pa_source_output_new_data *data, const pa_cvolume *volume_factor) { in pa_source_output_new_data_apply_volume_factor_source() 455 pa_cvolume remapped; in pa_source_output_new() 813 pa_cvolume v; in pa_source_output_push() 968 void pa_source_output_set_volume(pa_source_output *o, const pa_cvolume *volume, bool save, bool abs… in pa_source_output_set_volume() 969 pa_cvolume v; in pa_source_output_set_volume() 1026 static void set_real_ratio(pa_source_output *o, const pa_cvolume *v) { in set_real_ratio() 1068 pa_cvolume *pa_source_output_get_volume(pa_source_output *o, pa_cvolume *volume, bool absolute) { in pa_source_output_get_volume() [all …]
|
D | sink.c | 62 pa_cvolume hw_volume; 123 void pa_sink_new_data_set_volume(pa_sink_new_data *data, const pa_cvolume *volume) { in pa_sink_new_data_set_volume() 1268 pa_cvolume volume; in pa_sink_render() 1348 pa_cvolume volume; in pa_sink_render_into() 1683 pa_cvolume volume; in pa_sink_enter_passthrough() 1724 pa_cvolume remapped; in compute_reference_ratio() 1725 pa_cvolume ratio; in compute_reference_ratio() 1795 pa_cvolume remapped; in compute_real_ratios() 1850 static pa_cvolume *cvolume_remap_minimal_impact( in cvolume_remap_minimal_impact() 1851 pa_cvolume *v, in cvolume_remap_minimal_impact() [all …]
|
D | sound-file-stream.h | 25 int pa_play_file(pa_sink *sink, const char *fname, const pa_cvolume *volume);
|
D | stream-util.h | 45 int pa_stream_get_volume_channel_map(const pa_cvolume *volume, const pa_channel_map *original_map, …
|
D | play-memchunk.h | 31 pa_cvolume *cvolume,
|
D | stream-util.c | 31 int pa_stream_get_volume_channel_map(const pa_cvolume *volume, const pa_channel_map *original_map, … in pa_stream_get_volume_channel_map()
|
D | play-memchunk.c | 37 pa_cvolume *volume, in pa_play_memchunk()
|
/third_party/pulseaudio/src/modules/oss/ |
D | oss-util.h | 32 int pa_oss_set_volume(int fd, unsigned long mixer, const pa_sample_spec *ss, const pa_cvolume *volu… 33 int pa_oss_get_volume(int fd, unsigned long mixer, const pa_sample_spec *ss, pa_cvolume *volume);
|
/third_party/pulseaudio/src/tests/ |
D | passthrough-test.c | 270 pa_cvolume *v = (pa_cvolume *) userdata; in sink_info_cb() 280 static void get_sink_volume(pa_cvolume *v) { in get_sink_volume() 297 pa_cvolume volume, tmp; in START_TEST()
|
D | volume-test.c | 34 pa_cvolume cv; in START_TEST() 80 pa_cvolume r; in START_TEST()
|
/third_party/gstreamer/gstplugins_good/ext/pulse/ |
D | pulseutil.h | 89 void gst_pulse_cvolume_from_linear (pa_cvolume *v, unsigned channels, gdouble volume);
|