Commit 2b9c1325 authored by Hannes Domani's avatar Hannes Domani Committed by Jean-Baptiste Kempf

spatialaudio: use same rate for input/output

fixes #19369
Signed-off-by: Thomas Guillem's avatarThomas Guillem <thomas@gllm.fr>
(cherry picked from commit 16f3fdaa)
Signed-off-by: Jean-Baptiste Kempf's avatarJean-Baptiste Kempf <jb@videolan.org>
parent de4a188f
......@@ -371,6 +371,7 @@ static int OpenBinauralizer(vlc_object_t *p_this)
p_sys->binauralizer.Reset();
outfmt->i_format = infmt->i_format = VLC_CODEC_FL32;
outfmt->i_rate = infmt->i_rate;
outfmt->i_physical_channels = AOUT_CHANS_STEREO;
aout_FormatPrepare(infmt);
aout_FormatPrepare(outfmt);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment