mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-01-11 09:55:36 +00:00
opensles: drop 48kHz sample rate
OpenSL ES implementation in Android is just a 'facade' API on top of AudioFlinger which will downsample 48kHz into 44.1kHz before delivering the audio to the underlaying hardware. We found that it suffer some sort of underrun when the downsample enters in action so relay on our good resampler to take care of that and fix the clicks issue. And get an extra bonus of a lower latency.
This commit is contained in:
parent
9cc7e6a74d
commit
1d9f48a33d
1 changed files with 1 additions and 1 deletions
|
@ -39,7 +39,7 @@ enum
|
|||
|
||||
|
||||
/* According to Android's NDK doc the following are the supported rates */
|
||||
#define RATES "8000, 11025, 12000, 16000, 22050, 24000, 32000, 44100, 48000"
|
||||
#define RATES "8000, 11025, 12000, 16000, 22050, 24000, 32000, 44100"
|
||||
|
||||
static GstStaticPadTemplate sink_factory = GST_STATIC_PAD_TEMPLATE ("sink",
|
||||
GST_PAD_SINK,
|
||||
|
|
Loading…
Reference in a new issue