filter/Filter: Flush() also invalidates the returned buffer

Just API documentation.
This commit is contained in:
Max Kellermann 2024-11-05 11:58:28 +01:00
parent f59f17013d
commit b7b4c6b4ea
1 changed files with 3 additions and 3 deletions

View File

@ -41,9 +41,9 @@ public:
* Throws on error. * Throws on error.
* *
* @param src the input buffer * @param src the input buffer
* @return the destination buffer on success (will be * @return the output buffer (will be invalidated by deleting
* invalidated by deleting this object or the next FilterPCM() * this object or any call to Reset(), FilterPCM() or
* or Reset() call) * Flush())
*/ */
virtual std::span<const std::byte> FilterPCM(std::span<const std::byte> src) = 0; virtual std::span<const std::byte> FilterPCM(std::span<const std::byte> src) = 0;