Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 6cd5955b authored by Haripriya Deshmukh's avatar Haripriya Deshmukh
Browse files

Enable 12 channel decoding of raw audio format

Bug: 239888700
Test: atest CtsMediaV2TestCases:CodecDecoderValidationTest

Change-Id: Iffc43f20e30049450b2c71363970e6f9e2970333
parent bd3ca7a9
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -65,7 +65,7 @@ public:
        addParameter(
                DefineParam(mChannelCount, C2_PARAMKEY_CHANNEL_COUNT)
                .withDefault(new C2StreamChannelCountInfo::output(0u, 2))
                .withFields({C2F(mChannelCount, value).inRange(1, 8)})
                .withFields({C2F(mChannelCount, value).inRange(1, 12)})
                .withSetter(Setter<decltype(*mChannelCount)>::StrictValueWithNoDeps)
                .build());

+1 −1
Original line number Diff line number Diff line
@@ -66,7 +66,7 @@
        </MediaCodec>
        <MediaCodec name="c2.android.raw.decoder" type="audio/raw">
            <Alias name="OMX.google.raw.decoder" />
            <Limit name="channel-count" max="8" />
            <Limit name="channel-count" max="12" />
            <Limit name="sample-rate" ranges="8000-192000" />
            <Limit name="bitrate" range="1-10000000" />
        </MediaCodec>
+1 −1
Original line number Diff line number Diff line
@@ -80,7 +80,7 @@
        </MediaCodec>
        <MediaCodec name="c2.android.raw.decoder" type="audio/raw">
            <Alias name="OMX.google.raw.decoder" />
            <Limit name="channel-count" max="8" />
            <Limit name="channel-count" max="12" />
            <Limit name="sample-rate" ranges="8000-192000" />
            <Limit name="bitrate" range="1-10000000" />
            <Attribute name="software-codec" />