From 24c2930012baa60379da6f8c23f2cf35e38ef2d2 Mon Sep 17 00:00:00 2001 From: David Marcec Date: Wed, 1 Jul 2020 16:52:02 +1000 Subject: audio: Improving audio timing for multicore/single core Fixes the issue with needing the timestretcher for multicore. --- src/audio_core/stream.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/audio_core/stream.h') diff --git a/src/audio_core/stream.h b/src/audio_core/stream.h index e309d60fe..524376257 100644 --- a/src/audio_core/stream.h +++ b/src/audio_core/stream.h @@ -90,10 +90,10 @@ public: private: /// Plays the next queued buffer in the audio stream, starting playback if necessary - void PlayNextBuffer(); + void PlayNextBuffer(s64 cycles_late = 0); /// Releases the actively playing buffer, signalling that it has been completed - void ReleaseActiveBuffer(); + void ReleaseActiveBuffer(s64 cycles_late = 0); /// Gets the number of core cycles when the specified buffer will be released s64 GetBufferReleaseNS(const Buffer& buffer) const; -- cgit v1.2.3