[vlc-commits] spatialaudio: use same rate for input/output
Hannes Domani
git at videolan.org
Tue Jan 2 11:32:35 CET 2018
vlc/vlc-3.0 | branch: master | Hannes Domani <ssbssa at yahoo.de> | Sat Dec 30 13:17:09 2017 +0100| [2b9c1325f8a2adce451dba9233723e679c95a4f8] | committer: Jean-Baptiste Kempf
spatialaudio: use same rate for input/output
fixes #19369
Signed-off-by: Thomas Guillem <thomas at gllm.fr>
(cherry picked from commit 16f3fdaa38395360f503fc81e77745764609210b)
Signed-off-by: Jean-Baptiste Kempf <jb at videolan.org>
> http://git.videolan.org/gitweb.cgi/vlc/vlc-3.0.git/?a=commit;h=2b9c1325f8a2adce451dba9233723e679c95a4f8
---
modules/audio_filter/channel_mixer/spatialaudio.cpp | 1 +
1 file changed, 1 insertion(+)
diff --git a/modules/audio_filter/channel_mixer/spatialaudio.cpp b/modules/audio_filter/channel_mixer/spatialaudio.cpp
index c52e3fcd89..dbe0cae220 100644
--- a/modules/audio_filter/channel_mixer/spatialaudio.cpp
+++ b/modules/audio_filter/channel_mixer/spatialaudio.cpp
@@ -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);
More information about the vlc-commits
mailing list