mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-27 12:11:13 +00:00
opensles: change the defaults to use 20 ms ringbuffer segments
In my nexus7 seems that the internal min buffer size is 20 ms so make our segments match.
This commit is contained in:
parent
97a1ccfab1
commit
9cc7e6a74d
1 changed files with 2 additions and 0 deletions
|
@ -269,4 +269,6 @@ gst_opensles_sink_init (GstOpenSLESSink * sink, GstOpenSLESSinkClass * gclass)
|
|||
_opensles_query_capabilities (sink);
|
||||
|
||||
gst_base_audio_sink_set_provide_clock (GST_BASE_AUDIO_SINK (sink), TRUE);
|
||||
GST_BASE_AUDIO_SINK (sink)->buffer_time = 400000;
|
||||
GST_BASE_AUDIO_SINK (sink)->latency_time = 20000;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue