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