diff options
author | Sebastian Dröge <sebastian@centricular.com> | 2015-02-05 12:21:55 +0100 |
---|---|---|
committer | Sebastian Dröge <sebastian@centricular.com> | 2015-02-05 12:21:55 +0100 |
commit | 616cb1bdc67369bb71bdb5019ff1502d9f3599b8 (patch) | |
tree | 1ac1b8c83f83dacbfc2037dba34a3051e78adfb3 /sys/opensles | |
parent | 9ecb530eaa7f5faa25e000d269c3ee0343c1ba69 (diff) | |
download | gstreamer-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.c | 2 | ||||
-rw-r--r-- | sys/opensles/openslessrc.c | 2 |
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; } |