diff options
| author | Kelebek1 <eeeedddccc@hotmail.co.uk> | 2022-12-16 16:01:35 +0000 |
|---|---|---|
| committer | Kelebek1 <eeeedddccc@hotmail.co.uk> | 2022-12-16 16:07:24 +0000 |
| commit | 6a56f42f5d94e2be405a736a74b86ffe3ab1b37b (patch) | |
| tree | f110ff43899da31442d31c219c36f2b8a20ef974 /src/audio_core/device/device_session.h | |
| parent | 9ff891ce71bfe89f46a1b6f018e421db5dec5762 (diff) | |
Signal buffer event on audio in/out system stop, and force remove all registered audio buffers
Diffstat (limited to 'src/audio_core/device/device_session.h')
| -rw-r--r-- | src/audio_core/device/device_session.h | 5 |
1 files changed, 5 insertions, 0 deletions
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 @@ -91,6 +91,11 @@ public: void Stop(); /** + * Clear out the underlying audio buffers in the backend stream. + */ + void ClearBuffers(); + + /** * Set this device session's volume. * * @param volume - New volume for this session. |
