mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-01-29 18:48:44 +00:00
opensles: Remove hard-coded buffer-/latency-time values
These were originally required in early Android versions, but are no longer needed.
This commit is contained in:
parent
8afc283b51
commit
d0776faf47
2 changed files with 0 additions and 9 deletions
|
@ -289,8 +289,4 @@ gst_opensles_sink_init (GstOpenSLESSink * sink)
|
|||
_opensles_query_capabilities (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 = 200000;
|
||||
GST_AUDIO_BASE_SINK (sink)->latency_time = 20000;
|
||||
}
|
||||
|
|
|
@ -144,10 +144,5 @@ gst_opensles_src_class_init (GstOpenSLESSrcClass * klass)
|
|||
static void
|
||||
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 = 200000;
|
||||
GST_AUDIO_BASE_SRC (src)->latency_time = 20000;
|
||||
|
||||
src->preset = DEFAULT_PRESET;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue