mirror of
https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git
synced 2025-10-29 05:40:23 -04:00
volume hooks
Signed-off-by: Lennart Poettering <lennart@poettering.net>
This commit is contained in:
parent
fa93cb71e8
commit
45412740b8
6 changed files with 52 additions and 9 deletions
|
|
@ -89,6 +89,8 @@ struct pa_sink_input {
|
|||
|
||||
pa_sink_input *sync_prev, *sync_next;
|
||||
|
||||
pa_cvolume virtual_volume;
|
||||
|
||||
pa_cvolume volume;
|
||||
pa_bool_t muted;
|
||||
|
||||
|
|
@ -218,6 +220,9 @@ typedef struct pa_sink_input_new_data {
|
|||
|
||||
pa_sample_spec sample_spec;
|
||||
pa_channel_map channel_map;
|
||||
|
||||
pa_cvolume virtual_volume;
|
||||
|
||||
pa_cvolume volume;
|
||||
pa_bool_t muted:1;
|
||||
|
||||
|
|
@ -239,6 +244,12 @@ typedef struct pa_sink_input_move_hook_data {
|
|||
pa_sink *destination;
|
||||
} pa_sink_input_move_hook_data;
|
||||
|
||||
typedef struct pa_sink_set_input_volume_data {
|
||||
pa_sink_input *sink_input;
|
||||
pa_cvolume virtual_volume;
|
||||
pa_cvolume volume;
|
||||
} pa_sink_input_set_volume_data;
|
||||
|
||||
/* To be called by the implementing module only */
|
||||
|
||||
pa_sink_input* pa_sink_input_new(
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue