[vlc-commits] spatialaudio: use same rate for input/output

Hannes Domani git at videolan.org
Tue Jan 2 09:29:25 CET 2018


vlc | branch: master | Hannes Domani <ssbssa at yahoo.de> | Sat Dec 30 13:17:09 2017 +0100| [16f3fdaa38395360f503fc81e77745764609210b] | committer: Thomas Guillem

spatialaudio: use same rate for input/output

fixes #19369

Signed-off-by: Thomas Guillem <thomas at gllm.fr>

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=16f3fdaa38395360f503fc81e77745764609210b
---

 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