summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTanu Kaskinen <tanu.kaskinen@digia.com>2012-08-14 14:08:35 (GMT)
committerTanu Kaskinen <tanuk@iki.fi>2012-10-30 14:27:17 (GMT)
commit1fc2cf8425eff768e117bb4eff659204fdaf81dc (patch)
tree3b7adc1e49ea26ee390f0d81ce2b0fffe3b61dde
parenta68652a42c14e6d2136601d4a34ad1a2e7336e92 (diff)
downloadpulseaudio-1fc2cf8425eff768e117bb4eff659204fdaf81dc.tar.gz
pulseaudio-1fc2cf8425eff768e117bb4eff659204fdaf81dc.tar.xz
loopback: Don't fix the source output format/rate/channels.
Once the sink input has been routed in pa_sink_input_new(), the sample spec and channel map have already become fixed. The sink input and source output must use the same stream format, because the data is copied as-is.
-rw-r--r--src/modules/module-loopback.c9
1 files changed, 0 insertions, 9 deletions
diff --git a/src/modules/module-loopback.c b/src/modules/module-loopback.c
index d80494a..461c4a7 100644
--- a/src/modules/module-loopback.c
+++ b/src/modules/module-loopback.c
@@ -887,15 +887,6 @@ int pa__init(pa_module *m) {
if (!remix)
source_output_data.flags |= PA_SOURCE_OUTPUT_NO_REMIX;
- if (!format_set)
- source_output_data.flags |= PA_SOURCE_OUTPUT_FIX_FORMAT;
-
- if (!rate_set)
- source_output_data.flags |= PA_SOURCE_OUTPUT_FIX_RATE;
-
- if (!channels_set)
- source_output_data.flags |= PA_SOURCE_OUTPUT_FIX_CHANNELS;
-
source_dont_move = FALSE;
if (pa_modargs_get_value_boolean(ma, "source_dont_move", &source_dont_move) < 0) {
pa_log("source_dont_move= expects a boolean argument.");