summaryrefslogtreecommitdiff
path: root/src/audio_core/stream.h
diff options
context:
space:
mode:
authorGravatar bunnei2020-07-08 22:07:17 -0400
committerGravatar GitHub2020-07-08 22:07:17 -0400
commit77bdd09aa204e1e424d9b6b4d846301ab8dc892e (patch)
tree8ae7b6a56f38824bc3713cd81608499628a7d79c /src/audio_core/stream.h
parentMerge pull request #4266 from jbeich/freebsd (diff)
parentDon't handle cycles late if stretcher is active (diff)
downloadyuzu-77bdd09aa204e1e424d9b6b4d846301ab8dc892e.tar.gz
yuzu-77bdd09aa204e1e424d9b6b4d846301ab8dc892e.tar.xz
yuzu-77bdd09aa204e1e424d9b6b4d846301ab8dc892e.zip
Merge pull request #4219 from ogniK5377/audio-timing
audio: Improving audio timing for multicore/single core
Diffstat (limited to 'src/audio_core/stream.h')
-rw-r--r--src/audio_core/stream.h4
1 files changed, 2 insertions, 2 deletions
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:
90 90
91private: 91private:
92 /// Plays the next queued buffer in the audio stream, starting playback if necessary 92 /// Plays the next queued buffer in the audio stream, starting playback if necessary
93 void PlayNextBuffer(); 93 void PlayNextBuffer(s64 cycles_late = 0);
94 94
95 /// Releases the actively playing buffer, signalling that it has been completed 95 /// Releases the actively playing buffer, signalling that it has been completed
96 void ReleaseActiveBuffer(); 96 void ReleaseActiveBuffer(s64 cycles_late = 0);
97 97
98 /// Gets the number of core cycles when the specified buffer will be released 98 /// Gets the number of core cycles when the specified buffer will be released
99 s64 GetBufferReleaseNS(const Buffer& buffer) const; 99 s64 GetBufferReleaseNS(const Buffer& buffer) const;