diff options
author | Lennart Poettering <lennart@poettering.net> | 2008-10-08 00:15:18 +0200 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2008-10-08 00:15:18 +0200 |
commit | 2dfc2654832e5124f263bc7ee2718ff6913e6d46 (patch) | |
tree | 1d7fcb4696fe9cc8c6e971b1fb489b94980c5e6b /src/pulsecore/sink-input.h | |
parent | 5925d44013e2d559d1755176af0e26f69fc46458 (diff) | |
parent | 37b8c45e2b4d996b328a4fc74f491498abbc9348 (diff) |
Merge branch 'flatvol'
Diffstat (limited to 'src/pulsecore/sink-input.h')
-rw-r--r-- | src/pulsecore/sink-input.h | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/src/pulsecore/sink-input.h b/src/pulsecore/sink-input.h index 7663f22c..ed95fe4b 100644 --- a/src/pulsecore/sink-input.h +++ b/src/pulsecore/sink-input.h @@ -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( |