mirror of
https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git
synced 2025-12-16 08:56:40 -05:00
streams: Fix the actual resampler method shown in debug messages.
This commit is contained in:
parent
71e936da58
commit
51d53016f3
2 changed files with 2 additions and 0 deletions
|
|
@ -1662,6 +1662,7 @@ int pa_sink_input_finish_move(pa_sink_input *i, pa_sink *dest, pa_bool_t save) {
|
||||||
1,
|
1,
|
||||||
0,
|
0,
|
||||||
&i->sink->silence);
|
&i->sink->silence);
|
||||||
|
i->actual_resample_method = new_resampler ? pa_resampler_get_method(new_resampler) : PA_RESAMPLER_INVALID;
|
||||||
}
|
}
|
||||||
pa_sink_update_status(dest);
|
pa_sink_update_status(dest);
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -838,6 +838,7 @@ int pa_source_output_finish_move(pa_source_output *o, pa_source *dest, pa_bool_t
|
||||||
1,
|
1,
|
||||||
0,
|
0,
|
||||||
&o->source->silence);
|
&o->source->silence);
|
||||||
|
o->actual_resample_method = new_resampler ? pa_resampler_get_method(new_resampler) : PA_RESAMPLER_INVALID;
|
||||||
}
|
}
|
||||||
|
|
||||||
pa_source_update_status(dest);
|
pa_source_update_status(dest);
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue