mirror of
https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git
synced 2025-11-26 07:00:07 -05:00
sink, source: Add comment about not reconfiguring channel map
There is no meaningful usecase at the moment for it.
This commit is contained in:
parent
96c119fbe4
commit
8d6f415c85
2 changed files with 2 additions and 0 deletions
|
|
@ -1606,6 +1606,7 @@ int pa_sink_reconfigure(pa_sink *s, pa_sample_spec *spec, pa_channel_map *map, b
|
|||
desired_spec.rate = default_rate;
|
||||
}
|
||||
|
||||
/* We don't expect to change only the channel map, so we don't check that */
|
||||
if (pa_sample_spec_equal(&desired_spec, &s->sample_spec) && passthrough == pa_sink_is_passthrough(s))
|
||||
return 0;
|
||||
|
||||
|
|
|
|||
|
|
@ -1170,6 +1170,7 @@ int pa_source_reconfigure(pa_source *s, pa_sample_spec *spec, pa_channel_map *ma
|
|||
desired_spec.rate = default_rate;
|
||||
}
|
||||
|
||||
/* We don't expect to change only the channel map, so we don't check that */
|
||||
if (pa_sample_spec_equal(&desired_spec, &s->sample_spec) && passthrough == pa_source_is_passthrough(s))
|
||||
return 0;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue