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:
Josep Torra 2012-09-28 14:39:01 +02:00 committed by Sebastian Dröge
parent 9cc7e6a74d
commit 1d9f48a33d

View file

@ -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,