Home
last modified time | relevance | path

Searched refs:pa_cvolume (Results 1 – 25 of 62) 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 …]
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 …]
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 …]
Dintrospect.h274 pa_cvolume volume; /**< Volume of the sink */
307 pa_operation* pa_context_set_sink_volume_by_index(pa_context *c, uint32_t idx, const pa_cvolume *vo…
310 pa_operation* pa_context_set_sink_volume_by_name(pa_context *c, const char *name, const pa_cvolume
379 pa_cvolume volume; /**< Volume of the source */
412 pa_operation* pa_context_set_source_volume_by_index(pa_context *c, uint32_t idx, const pa_cvolume *…
415 …ntext_set_source_volume_by_name(pa_context *c, const char *name, const pa_cvolume *volume, pa_cont…
654 pa_cvolume volume; /**< The volume of this sink input. */
683 pa_operation* pa_context_set_sink_input_volume(pa_context *c, uint32_t idx, const pa_cvolume *volum…
712 pa_cvolume volume; /**< The volume of this source output \since 1.0 */
735 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…
249 pa_cvolume soft_volume;
333 pa_cvolume volume;
356 void pa_sink_input_new_data_set_volume(pa_sink_input_new_data *data, const pa_cvolume *volume);
357 …_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…
112 pa_cvolume saved_volume;
239 pa_cvolume soft_volume;
264 pa_cvolume current_hw_volume;
320 pa_cvolume volume;
343 void pa_source_new_data_set_volume(pa_source_new_data *data, const pa_cvolume *volume);
373 void pa_source_set_soft_volume(pa_source *s, const pa_cvolume *volume);
374 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…
111 pa_cvolume saved_volume;
281 pa_cvolume soft_volume;
325 pa_cvolume current_hw_volume;
386 pa_cvolume volume;
409 void pa_sink_new_data_set_volume(pa_sink_new_data *data, const pa_cvolume *volume);
440 void pa_sink_set_soft_volume(pa_sink *s, const pa_cvolume *volume);
441 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 …]
Dsource-output.c49 static void set_real_ratio(pa_source_output *o, const pa_cvolume *v);
88 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()
96 …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()
108 …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()
457 pa_cvolume remapped; in pa_source_output_new()
820 pa_cvolume v; in pa_source_output_push()
997 void pa_source_output_set_volume(pa_source_output *o, const pa_cvolume *volume, bool save, bool abs… in pa_source_output_set_volume()
998 pa_cvolume v; in pa_source_output_set_volume()
1055 static void set_real_ratio(pa_source_output *o, const pa_cvolume *v) { in set_real_ratio()
1097 pa_cvolume *pa_source_output_get_volume(pa_source_output *o, pa_cvolume *volume, bool absolute) { in pa_source_output_get_volume()
[all …]
Dsink.c63 pa_cvolume hw_volume;
124 void pa_sink_new_data_set_volume(pa_sink_new_data *data, const pa_cvolume *volume) { in pa_sink_new_data_set_volume()
1283 pa_cvolume volume; in pa_sink_render()
1363 pa_cvolume volume; in pa_sink_render_into()
1732 pa_cvolume volume; in pa_sink_enter_passthrough()
1773 pa_cvolume remapped; in compute_reference_ratio()
1774 pa_cvolume ratio; in compute_reference_ratio()
1844 pa_cvolume remapped; in compute_real_ratios()
1899 static pa_cvolume *cvolume_remap_minimal_impact( in cvolume_remap_minimal_impact()
1900 pa_cvolume *v, in cvolume_remap_minimal_impact()
[all …]
Dsink-input.c54 pa_cvolume volume;
117 static struct volume_factor_entry *volume_factor_entry_new(const char *key, const pa_cvolume *volum… in volume_factor_entry_new()
138 static void volume_factor_from_hashmap(pa_cvolume *v, pa_hashmap *items, uint8_t channels) { in volume_factor_from_hashmap()
148 static void set_real_ratio(pa_sink_input *i, const pa_cvolume *v);
207 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()
215 …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()
226 …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()
572 pa_cvolume remapped; in pa_sink_input_new()
959 …eek(pa_sink_input *i, size_t slength /* in sink bytes */, pa_memchunk *chunk, pa_cvolume *volume) { in pa_sink_input_peek()
1061 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);
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,
Dplay-memblockq.c179 pa_cvolume *volume, in pa_memblockq_sink_input_new()
244 pa_cvolume *volume, in pa_play_memblockq()
/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/pulseaudio/src/modules/
Dmodule-device-restore.c116 pa_cvolume volume;
497 pa_cvolume t; in perportentries_equal()
527 pa_cvolume volume; in legacy_entry_read()
532 pa_cvolume volume; in legacy_entry_read()
773 pa_cvolume v; in sink_fixate_hook_callback()
820 pa_cvolume v; in sink_port_hook_callback()
915 pa_cvolume v; in source_fixate_hook_callback()
962 pa_cvolume v; in source_port_hook_callback()
Dmodule-stream-restore.c122 pa_cvolume volume;
339 …sConnection *conn, DBusMessage *msg, DBusMessageIter *iter, pa_channel_map *map, pa_cvolume *vol) { in get_volume_arg()
599 pa_cvolume vol; in handle_add_entry()
800 pa_cvolume vol; in handle_entry_set_volume()
1023 pa_cvolume volume; in legacy_entry_read()
1033 pa_cvolume volume; in legacy_entry_read()
1264 pa_cvolume t; in entries_equal()
1511 pa_cvolume v; in sink_input_fixate_hook_callback()
1692 pa_cvolume v; in source_output_fixate_hook_callback()
1842 pa_cvolume v; in entry_apply()
[all …]

123