[vlc-commits] aout: coreaudio: increase low latency buffer size

Thomas Guillem git at videolan.org
Tue Sep 26 17:48:48 CEST 2017


vlc | branch: master | Thomas Guillem <thomas at gllm.fr> | Tue Sep 26 17:48:24 2017 +0200| [789e9279ffec5c3947078b2353e953b19150f25b] | committer: Thomas Guillem

aout: coreaudio: increase low latency buffer size

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

 modules/audio_output/coreaudio_common.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/modules/audio_output/coreaudio_common.c b/modules/audio_output/coreaudio_common.c
index 6e78b07e1a..8c98d89a81 100644
--- a/modules/audio_output/coreaudio_common.c
+++ b/modules/audio_output/coreaudio_common.c
@@ -239,8 +239,8 @@ ca_Initialize(audio_output_t *p_aout, const audio_sample_format_t *fmt,
                               / p_sys->i_frame_length;
     if (fmt->channel_type == AUDIO_CHANNEL_TYPE_AMBISONICS)
     {
-        /* low latency: 40 ms of buffering */
-        i_audiobuffer_size = i_audiobuffer_size / 25;
+        /* low latency: 200 ms of buffering */
+        i_audiobuffer_size = i_audiobuffer_size / 5;
     }
     else
     {



More information about the vlc-commits mailing list