mirror of
https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git
synced 2025-11-02 09:01:46 -05:00
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.
This commit is contained in:
parent
a68652a42c
commit
1fc2cf8425
1 changed files with 0 additions and 9 deletions
|
|
@ -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.");
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue