mirror of
https://git.eden-emu.dev/eden-emu/eden.git
synced 2025-07-22 22:05:47 +00:00
audio: Improving audio timing for multicore/single core
Fixes the issue with needing the timestretcher for multicore.
This commit is contained in:
parent
db7181fb16
commit
f0685697da
2 changed files with 7 additions and 20 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue