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
@ -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…
x
Reference in New Issue
Block a user