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

Commit da43aa5a authored by Treehugger Robot's avatar Treehugger Robot Committed by Gerrit Code Review
Browse files

Merge "MediaCodec: define ID for metrics flushed callback" into main

parents 01dd111f 32a850f2
Loading
Loading
Loading
Loading
+7 −0
Original line number Diff line number Diff line
@@ -123,6 +123,13 @@ struct MediaCodec : public AHandler {
        CB_RESOURCE_RECLAIMED = 5,
        CB_CRYPTO_ERROR = 6,
        CB_LARGE_FRAME_OUTPUT_AVAILABLE = 7,

        /** Callback ID for when the metrics for this codec have been flushed
         * due to the start of a new subsession. The associated AMessage will
         * contain an sp<WrapperObject<std::unique_ptr<mediametrics::Item>>>
         * Object at the "metrics" key.
         */
        CB_METRICS_FLUSHED = 8,
    };

    static const pid_t kNoPid = -1;