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

Commit 04121d6b authored by Lajos Molnar's avatar Lajos Molnar
Browse files

codec2: expose the underlying struct type for C2Param

This allows accessing types from the base struct type in a uniform
way.

Bug: 165694889
Change-Id: Ide01063feaa003103e9e730f66728c49b981a6e8
parent d6648a9b
Loading
Loading
Loading
Loading
+3 −0
Original line number Original line Diff line number Diff line
@@ -97,6 +97,9 @@ public:
        PARAM_TYPE = CoreIndex | TypeFlags
        PARAM_TYPE = CoreIndex | TypeFlags
    };
    };


    // the underlying param struct type
    typedef S Struct;

protected:
protected:
    enum : uint32_t {
    enum : uint32_t {
        FLEX_SIZE = 0,
        FLEX_SIZE = 0,