mirror of
https://git.suyu.dev/suyu/suyu
synced 2025-09-04 10:26:31 -05:00
audio: Improving audio timing for multicore/single core
Fixes the issue with needing the timestretcher for multicore.
This commit is contained in:
@@ -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;
|
||||
|
Reference in New Issue
Block a user