mirror of
https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git
synced 2025-10-29 05:40:23 -04:00
sink: Set monitor source's avoid-resampling value to its sink's
It was omitted. This patch fixes unexpected behavior that avoid- resampling does not work in some cases. Signed-off-by: Sangchul Lee <sangchul1011@gmail.com>
This commit is contained in:
parent
37dbeae031
commit
8a4e0c167b
1 changed files with 1 additions and 0 deletions
|
|
@ -367,6 +367,7 @@ pa_sink* pa_sink_new(
|
|||
source_data.driver = data->driver;
|
||||
source_data.module = data->module;
|
||||
source_data.card = data->card;
|
||||
source_data.avoid_resampling = data->avoid_resampling;
|
||||
|
||||
dn = pa_proplist_gets(s->proplist, PA_PROP_DEVICE_DESCRIPTION);
|
||||
pa_proplist_setf(source_data.proplist, PA_PROP_DEVICE_DESCRIPTION, "Monitor of %s", dn ? dn : s->name);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue