diff options
author | Marc-André Lureau <marcandre.lureau@gmail.com> | 2008-11-10 16:59:09 +0200 |
---|---|---|
committer | Marc-André Lureau <marcandre.lureau@gmail.com> | 2009-01-14 21:38:12 +0200 |
commit | 6ec01626869763720c88b7eea605c14dc7c6ab91 (patch) | |
tree | 3ab1d07ccaa39868d6954c9eb19c0717b3b90a2c /src/pulsecore/sink.h | |
parent | 20edd846d073507adcfd30d2eb678f965de37e2d (diff) |
sink: add a virtual_volume to sink
Diffstat (limited to 'src/pulsecore/sink.h')
-rw-r--r-- | src/pulsecore/sink.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/pulsecore/sink.h b/src/pulsecore/sink.h index 092e30f2..fb5e1e89 100644 --- a/src/pulsecore/sink.h +++ b/src/pulsecore/sink.h @@ -79,6 +79,7 @@ struct pa_sink { pa_source *monitor_source; pa_cvolume volume; + pa_cvolume virtual_volume; pa_bool_t muted; pa_volume_t base_volume; /* shall be constant */ @@ -211,6 +212,7 @@ void pa_sink_new_data_done(pa_sink_new_data *data); typedef struct pa_sink_set_volume_data { pa_sink *sink; pa_cvolume volume; + pa_cvolume virtual_volume; } pa_sink_set_volume_data; /* To be called exclusively by the sink driver, from main context */ |