summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArun Raghavan <arun.raghavan@collabora.co.uk>2011-09-14 13:18:48 +0530
committerArun Raghavan <arun.raghavan@collabora.co.uk>2011-09-14 14:15:01 +0530
commitbaccd26b6a4598f7f384a6d2a802f8f40dbee566 (patch)
tree79b9ef20187a142af15cad8685dfc3f234548e63
parent2ef7bc6a8092731e2370cd28d34cb932c191e967 (diff)
virtual: Make volume sharing on by default
People who use this code (i.e. mostly filters) would presumably want volume sharing on by default.
-rw-r--r--src/modules/module-virtual-sink.c2
-rw-r--r--src/modules/module-virtual-source.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/modules/module-virtual-sink.c b/src/modules/module-virtual-sink.c
index 34c4ae80b..dd3de862d 100644
--- a/src/modules/module-virtual-sink.c
+++ b/src/modules/module-virtual-sink.c
@@ -482,7 +482,7 @@ int pa__init(pa_module*m) {
pa_sink *master=NULL;
pa_sink_input_new_data sink_input_data;
pa_sink_new_data sink_data;
- pa_bool_t use_volume_sharing = FALSE;
+ pa_bool_t use_volume_sharing = TRUE;
pa_bool_t force_flat_volume = FALSE;
pa_memchunk silence;
diff --git a/src/modules/module-virtual-source.c b/src/modules/module-virtual-source.c
index 7530975e7..00a4b65cf 100644
--- a/src/modules/module-virtual-source.c
+++ b/src/modules/module-virtual-source.c
@@ -497,7 +497,7 @@ int pa__init(pa_module*m) {
pa_source *master=NULL;
pa_source_output_new_data source_output_data;
pa_source_new_data source_data;
- pa_bool_t use_volume_sharing = FALSE;
+ pa_bool_t use_volume_sharing = TRUE;
pa_bool_t force_flat_volume = FALSE;
/* optional for uplink_sink */