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

Commit ab170531 authored by Xiao Huang's avatar Xiao Huang Committed by Automerger Merge Worker
Browse files

Merge "Change comments for numActiveSlots" am: 92f6d9a5 am: 5fd5c38b

parents 50836f85 5fd5c38b
Loading
Loading
Loading
Loading
+3 −5
Original line number Diff line number Diff line
@@ -72,7 +72,7 @@ public:
    virtual void getArray(Vector<sp<MediaCodecBuffer>> *) const {}

    /**
     * Return number of buffers the client owns.
     * Return number of buffers owned by the client or the component.
     */
    virtual size_t numActiveSlots() const = 0;

@@ -595,8 +595,7 @@ public:
    void flush();

    /**
     * Return the number of buffers that are sent to the client but not released
     * yet.
     * Return the number of buffers that are sent to the client or the component.
     */
    size_t numActiveSlots() const;

@@ -716,8 +715,7 @@ public:
    void grow(size_t newSize, std::function<sp<Codec2Buffer>()> alloc);

    /**
     * Return the number of buffers that are sent to the client but not released
     * yet.
     * Return the number of buffers that are sent to the client or the component.
     */
    size_t numActiveSlots() const;