summaryrefslogtreecommitdiff
path: root/sys/opensles
diff options
context:
space:
mode:
authorSebastian Dröge <sebastian@centricular.com>2015-02-05 12:21:55 +0100
committerSebastian Dröge <sebastian@centricular.com>2015-02-05 12:21:55 +0100
commit616cb1bdc67369bb71bdb5019ff1502d9f3599b8 (patch)
tree1ac1b8c83f83dacbfc2037dba34a3051e78adfb3 /sys/opensles
parent9ecb530eaa7f5faa25e000d269c3ee0343c1ba69 (diff)
downloadgstreamer-plugins-bad-616cb1bdc67369bb71bdb5019ff1502d9f3599b8.tar.gz
openslessink/src: Lower default buffer time to 200ms like alsasink
Diffstat (limited to 'sys/opensles')
-rw-r--r--sys/opensles/openslessink.c2
-rw-r--r--sys/opensles/openslessrc.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/sys/opensles/openslessink.c b/sys/opensles/openslessink.c
index f511de4f1..f4a3e4016 100644
--- a/sys/opensles/openslessink.c
+++ b/sys/opensles/openslessink.c
@@ -276,6 +276,6 @@ gst_opensles_sink_init (GstOpenSLESSink * sink)
gst_audio_base_sink_set_provide_clock (GST_AUDIO_BASE_SINK (sink), TRUE);
/* Override some default values to fit on the AudioFlinger behaviour of
* processing 20ms buffers as minimum buffer size. */
- GST_AUDIO_BASE_SINK (sink)->buffer_time = 400000;
+ GST_AUDIO_BASE_SINK (sink)->buffer_time = 200000;
GST_AUDIO_BASE_SINK (sink)->latency_time = 20000;
}
diff --git a/sys/opensles/openslessrc.c b/sys/opensles/openslessrc.c
index 9e709f782..b6fc7ba1e 100644
--- a/sys/opensles/openslessrc.c
+++ b/sys/opensles/openslessrc.c
@@ -95,6 +95,6 @@ gst_opensles_src_init (GstOpenSLESSrc * src)
{
/* Override some default values to fit on the AudioFlinger behaviour of
* processing 20ms buffers as minimum buffer size. */
- GST_AUDIO_BASE_SRC (src)->buffer_time = 400000;
+ GST_AUDIO_BASE_SRC (src)->buffer_time = 200000;
GST_AUDIO_BASE_SRC (src)->latency_time = 20000;
}