summaryrefslogtreecommitdiffstats
path: root/src/pulsecore/sink.c
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2008-12-24 00:49:43 +0100
committerLennart Poettering <lennart@poettering.net>2008-12-24 00:49:43 +0100
commit6130c5c11b0b76cc779b52636c5635729fedf89a (patch)
treeadf3b26829f01bdf5d7db0729b54a67009daa9f2 /src/pulsecore/sink.c
parent3e3c103ed9e9e4782c12380c3735ab9aaf2611c8 (diff)
Add "base volume" field to sinks/sources
Diffstat (limited to 'src/pulsecore/sink.c')
-rw-r--r--src/pulsecore/sink.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/pulsecore/sink.c b/src/pulsecore/sink.c
index 1580cf2e..37387766 100644
--- a/src/pulsecore/sink.c
+++ b/src/pulsecore/sink.c
@@ -191,6 +191,7 @@ pa_sink* pa_sink_new(
s->n_corked = 0;
s->volume = data->volume;
+ s->base_volume = PA_VOLUME_NORM;
s->muted = data->muted;
s->refresh_volume = s->refresh_muted = FALSE;