audio: Improving audio timing for multicore/single core

Fixes the issue with needing the timestretcher for multicore.
This commit is contained in:
David Marcec 2020-07-01 16:52:02 +10:00
parent 15a04fb704
commit 24c2930012
2 changed files with 7 additions and 20 deletions

View file

@ -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;