From 6a56f42f5d94e2be405a736a74b86ffe3ab1b37b Mon Sep 17 00:00:00 2001 From: Kelebek1 Date: Fri, 16 Dec 2022 16:01:35 +0000 Subject: Signal buffer event on audio in/out system stop, and force remove all registered audio buffers --- src/audio_core/device/device_session.h | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'src/audio_core/device/device_session.h') diff --git a/src/audio_core/device/device_session.h b/src/audio_core/device/device_session.h index 74f4dc085..75f766c68 100644 --- a/src/audio_core/device/device_session.h +++ b/src/audio_core/device/device_session.h @@ -90,6 +90,11 @@ public: */ void Stop(); + /** + * Clear out the underlying audio buffers in the backend stream. + */ + void ClearBuffers(); + /** * Set this device session's volume. * -- cgit v1.2.3