summaryrefslogtreecommitdiffstats
path: root/src/audio_core/stream.h
diff options
context:
space:
mode:
authorDavid Marcec <dmarcecguzman@gmail.com>2020-07-01 08:52:02 +0200
committerDavid Marcec <dmarcecguzman@gmail.com>2020-07-01 08:52:02 +0200
commit24c2930012baa60379da6f8c23f2cf35e38ef2d2 (patch)
tree31a12f27494d72f5e5dcdbc886daded0d3e4dfed /src/audio_core/stream.h
parentMerge pull request #4217 from lioncash/prototype (diff)
downloadyuzu-24c2930012baa60379da6f8c23f2cf35e38ef2d2.tar
yuzu-24c2930012baa60379da6f8c23f2cf35e38ef2d2.tar.gz
yuzu-24c2930012baa60379da6f8c23f2cf35e38ef2d2.tar.bz2
yuzu-24c2930012baa60379da6f8c23f2cf35e38ef2d2.tar.lz
yuzu-24c2930012baa60379da6f8c23f2cf35e38ef2d2.tar.xz
yuzu-24c2930012baa60379da6f8c23f2cf35e38ef2d2.tar.zst
yuzu-24c2930012baa60379da6f8c23f2cf35e38ef2d2.zip
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:
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;