Home
last modified time | relevance | path

Searched refs:pa_cvolume (Results 1 – 25 of 67) sorted by relevance

123

/third_party/pulseaudio/src/pulse/
Dvolume.h145 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 …]
Dvolume.c35 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 …]
Dohos_pa_volume.c35 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 …]
Dintrospect.h268 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/
Dsink-input.h101 pa_cvolume volume; /* The volume clients are informed about */
102pa_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;
113pa_cvolume soft_volume; /* The internal software volume we apply to all PCM data while it…
115pa_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 …]
Dsource-output.h97 pa_cvolume volume; /* The volume clients are informed about */
98pa_cvolume reference_ratio; /* The ratio of the stream's volume to the source's reference volum…
99pa_cvolume real_ratio; /* The ratio of the stream's volume to the source's real volume */
100pa_cvolume volume_factor; /* An internally used volume factor that can be used by modules to …
101pa_cvolume soft_volume; /* The internal software volume we apply to all PCM data while it p…
103pa_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 …]
Dsource.h98pa_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 */
100pa_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 …]
Dsink.h97pa_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 */
99pa_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 …]
Dmix.h31 pa_cvolume volume;
49 const pa_cvolume *volume,
60 const pa_cvolume *volume);
Dplay-memblockq.h31 pa_cvolume *volume,
42 pa_cvolume *cvolume,
Dmix.c38 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()
Dsource.c54 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 …]
Dsink-input.c53 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 …]
Dtagstruct.h83 void pa_tagstruct_put_cvolume(pa_tagstruct *t, const pa_cvolume *cvolume);
101 int pa_tagstruct_get_cvolume(pa_tagstruct *t, pa_cvolume *v);
Dsource-output.c48 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 …]
Dsink.c62 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 …]
Dsound-file-stream.h25 int pa_play_file(pa_sink *sink, const char *fname, const pa_cvolume *volume);
Dstream-util.h45 int pa_stream_get_volume_channel_map(const pa_cvolume *volume, const pa_channel_map *original_map, …
Dplay-memchunk.h31 pa_cvolume *cvolume,
Dstream-util.c31 int pa_stream_get_volume_channel_map(const pa_cvolume *volume, const pa_channel_map *original_map, … in pa_stream_get_volume_channel_map()
Dplay-memchunk.c37 pa_cvolume *volume, in pa_play_memchunk()
/third_party/pulseaudio/src/modules/oss/
Doss-util.h32 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/
Dpassthrough-test.c270 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()
Dvolume-test.c34 pa_cvolume cv; in START_TEST()
80 pa_cvolume r; in START_TEST()
/third_party/gstreamer/gstplugins_good/ext/pulse/
Dpulseutil.h89 void gst_pulse_cvolume_from_linear (pa_cvolume *v, unsigned channels, gdouble volume);

123