aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/empathy-audio-sink.c5
-rw-r--r--src/empathy-audio-src.c2
2 files changed, 5 insertions, 2 deletions
diff --git a/src/empathy-audio-sink.c b/src/empathy-audio-sink.c
index 5ab14b541..d88555fe5 100644
--- a/src/empathy-audio-sink.c
+++ b/src/empathy-audio-sink.c
@@ -222,7 +222,10 @@ create_sink (EmpathyGstAudioSink *self)
/* 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);
+ g_object_set (sink,
+ "buffer-time", (gint64) 40000,
+ "latency-time", (gint64) 10000,
+ NULL);
return sink;
}
diff --git a/src/empathy-audio-src.c b/src/empathy-audio-src.c
index aa271fa1c..9a882c146 100644
--- a/src/empathy-audio-src.c
+++ b/src/empathy-audio-src.c
@@ -332,7 +332,7 @@ create_src (void)
empathy_call_set_stream_properties (src, TRUE);
/* Set latency (buffering on the PulseAudio side) of 20ms */
- g_object_set (src, "buffer-time", 20000, NULL);
+ g_object_set (src, "buffer-time", (gint64) 20000, NULL);
return src;
}