diff options
Diffstat (limited to 'src/empathy-audio-sink.c')
-rw-r--r-- | src/empathy-audio-sink.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/empathy-audio-sink.c b/src/empathy-audio-sink.c index d912e1d2d..5ab14b541 100644 --- a/src/empathy-audio-sink.c +++ b/src/empathy-audio-sink.c @@ -220,6 +220,10 @@ create_sink (EmpathyGstAudioSink *self) empathy_call_set_stream_properties (sink, self->priv->echo_cancel); + /* Set latency (buffering on the PulseAudio side) of 40ms and transfer data + * in 10ms chunks */ + g_object_set (sink, "buffer-time", 40000, "latency-time", 10000, NULL); + return sink; } |