mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-19 06:46:38 +00:00
openslessink: Allow openslessink to handle 48kHz streams.
The most common audio sample rate in AV streams is 48kHz, and the most common device output sample rate is 48kHz. This allows handing of 48kHz input streams without resampling. Remove comments about avoiding the use of 48kHz.
This commit is contained in:
parent
03cf2d42a5
commit
3e2d86ea18
1 changed files with 1 additions and 4 deletions
|
@ -57,10 +57,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 Hz is also claimed to be supported but the AudioFlinger downsampling
|
||||
* doesn't seems to work properly so we relay GStreamer audioresample element
|
||||
* to cope with this samplerate. */
|
||||
#define RATES "8000, 11025, 12000, 16000, 22050, 24000, 32000, 44100, 48000"
|
||||
|
||||
static GstStaticPadTemplate sink_factory = GST_STATIC_PAD_TEMPLATE ("sink",
|
||||
GST_PAD_SINK,
|
||||
|
|
Loading…
Reference in a new issue