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

Commit edba5005 authored by Ray Essick's avatar Ray Essick
Browse files

Allow codec2/g711 codec to handle 6 channels

OMX allowed 6, but codec2 was restricting to 1 channel.

Bug: 140469404
Test: playback clip from bug
parent 6d1464aa
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -73,7 +73,7 @@ public:

        addParameter(
                DefineParam(mChannelCount, C2_PARAMKEY_CHANNEL_COUNT)
                .withDefault(new C2StreamChannelCountInfo::output(0u, 1))
                .withDefault(new C2StreamChannelCountInfo::output(0u, 6))
                .withFields({C2F(mChannelCount, value).equalTo(1)})
                .withSetter(Setter<decltype(*mChannelCount)>::StrictValueWithNoDeps)
                .build());