aboutsummaryrefslogtreecommitdiff
path: root/src/audio_core/stream.h
diff options
context:
space:
mode:
authorFernando Sahmkow <fsahmkow27@gmail.com>2020-05-29 17:37:57 -0400
committerFernando Sahmkow <fsahmkow27@gmail.com>2020-06-27 11:36:23 -0400
commite3d561fb842fa9ea986064a9a73001a5889f15d8 (patch)
treeeac6c57ab550d37d5b78a93431d34baa51950fb7 /src/audio_core/stream.h
parent7fd7d05838b88e9dd63a7329e29ea355669a5f18 (diff)
Audio: Correct buffer release for host timing.
Diffstat (limited to 'src/audio_core/stream.h')
-rw-r--r--src/audio_core/stream.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/audio_core/stream.h b/src/audio_core/stream.h
index 0663ce435..e309d60fe 100644
--- a/src/audio_core/stream.h
+++ b/src/audio_core/stream.h
@@ -98,6 +98,9 @@ private:
/// Gets the number of core cycles when the specified buffer will be released
s64 GetBufferReleaseNS(const Buffer& buffer) const;
+ /// Gets the number of core cycles when the specified buffer will be released
+ s64 GetBufferReleaseNSHostTiming(const Buffer& buffer) const;
+
u32 sample_rate; ///< Sample rate of the stream
Format format; ///< Format of the stream
float game_volume = 1.0f; ///< The volume the game currently has set