summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWonsik Kim <wonsik@google.com>2018-06-05 17:41:22 -0700
committerWonsik Kim <wonsik@google.com>2018-06-06 06:29:52 +0000
commit52af081f269fb716fb44fec6c2686f0f1604c9bd (patch)
treef7498ae59570d9c93870c92ea4240315a3779c68
parent45aa76c78e7acca8b14a225797a649d23eb98fe1 (diff)
downloadav-52af081f269fb716fb44fec6c2686f0f1604c9bd.tar.gz
rawdec: allow sample rate up to 192kHz
Bug: 109587569 Test: Play high sample rate wav files Change-Id: I19030a740f600e3a20cdad3ea69089370b146998
-rw-r--r--media/codecs/raw/C2SoftRawDec.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/media/codecs/raw/C2SoftRawDec.cpp b/media/codecs/raw/C2SoftRawDec.cpp
index 88b34e8..963bd21 100644
--- a/media/codecs/raw/C2SoftRawDec.cpp
+++ b/media/codecs/raw/C2SoftRawDec.cpp
@@ -61,7 +61,7 @@ public:
addParameter(
DefineParam(mSampleRate, C2_NAME_STREAM_SAMPLE_RATE_SETTING)
.withDefault(new C2StreamSampleRateInfo::output(0u, 44100))
- .withFields({C2F(mSampleRate, value).inRange(8000, 96000)})
+ .withFields({C2F(mSampleRate, value).inRange(8000, 192000)})
.withSetter((Setter<decltype(*mSampleRate)>::StrictValueWithNoDeps))
.build());