summaryrefslogtreecommitdiffstats
path: root/src/pulsecore/core.c
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2009-01-27 04:39:07 +0100
committerLennart Poettering <lennart@poettering.net>2009-01-27 04:39:07 +0100
commitd5f46e824e3f8a042e6f67dd4c3fc385545edd74 (patch)
tree8c36ed55541b3aa5429c537498b47f29fc590222 /src/pulsecore/core.c
parent4bfa5d7d13350bd0eac439dbe251812ce437ea43 (diff)
move flat volume logic into the core. while doing so add n_volume_steps field to sinks/sources
Diffstat (limited to 'src/pulsecore/core.c')
-rw-r--r--src/pulsecore/core.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/pulsecore/core.c b/src/pulsecore/core.c
index c6e96c1e..381a6779 100644
--- a/src/pulsecore/core.c
+++ b/src/pulsecore/core.c
@@ -127,6 +127,7 @@ pa_core* pa_core_new(pa_mainloop_api *m, pa_bool_t shared, size_t shm_size) {
c->exit_idle_time = -1;
c->scache_idle_time = 20;
+ c->flat_volumes = TRUE;
c->resample_method = PA_RESAMPLER_SPEEX_FLOAT_BASE + 3;