From ecaa038b4da24fe75d3da6a4a18034285faac69d Mon Sep 17 00:00:00 2001 From: Liam Date: Sun, 12 Nov 2023 23:10:53 -0500 Subject: audio_core: ignore renderer wait when stream is paused --- src/audio_core/sink/sink_stream.h | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'src/audio_core/sink/sink_stream.h') diff --git a/src/audio_core/sink/sink_stream.h b/src/audio_core/sink/sink_stream.h index 6a4996ca3..f2ccd19b8 100644 --- a/src/audio_core/sink/sink_stream.h +++ b/src/audio_core/sink/sink_stream.h @@ -213,6 +213,12 @@ public: */ void WaitFreeSpace(std::stop_token stop_token); +protected: + /** + * Unblocks the ADSP if the stream is paused. + */ + void SignalPause(); + protected: /// Core system Core::System& system; -- cgit v1.2.3