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

Commit 731ed3c4 authored by TreeHugger Robot's avatar TreeHugger Robot Committed by Android (Google) Code Review
Browse files

Merge "Codec2: change C2ComponentStore::query to sm (may block briefly)"

parents 9b90ee66 14e71f4f
Loading
Loading
Loading
Loading
+5 −5
Original line number Diff line number Diff line
@@ -612,7 +612,7 @@ public:
     *
     * \note Parameter values do not depend on the order of query.
     *
     * This method MUST be "non-blocking" and return within 1ms.
     * This method may be momentarily blocking, but MUST return within 5ms.
     *
     * \param stackParams   a list of params queried. These are initialized specific to each
     *                      setting; e.g. size and index are set and rest of the members are
@@ -631,10 +631,10 @@ public:
     * \retval C2_CORRUPTED some unknown error prevented the querying of the parameters
     *                      (unexpected)
     */
    virtual status_t query_nb(
    virtual status_t query_sm(
        const std::vector<C2Param* const> &stackParams,
        const std::vector<C2Param::Index> &heapParamIndices,
        std::vector<std::unique_ptr<C2Param>>* const heapParams) = 0;
        std::vector<std::unique_ptr<C2Param>>* const heapParams) const = 0;

    /**
     * Sets a set of system-wide parameters.