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

Commit 14e71f4f authored by Lajos Molnar's avatar Lajos Molnar
Browse files

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

Bug: 64121714
Test: unittest
Change-Id: I53b4f8746004ea43de66ff9135183952eb1aded9
parent bb0a61a8
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.