summaryrefslogtreecommitdiffstats
path: root/src/audio_core/stream.h
diff options
context:
space:
mode:
authorFernando Sahmkow <fsahmkow27@gmail.com>2020-05-29 23:37:57 +0200
committerFernando Sahmkow <fsahmkow27@gmail.com>2020-06-27 17:36:23 +0200
commite3d561fb842fa9ea986064a9a73001a5889f15d8 (patch)
treeeac6c57ab550d37d5b78a93431d34baa51950fb7 /src/audio_core/stream.h
parentCommon/Kernel: Corrections and small bug fixing. (diff)
downloadyuzu-e3d561fb842fa9ea986064a9a73001a5889f15d8.tar
yuzu-e3d561fb842fa9ea986064a9a73001a5889f15d8.tar.gz
yuzu-e3d561fb842fa9ea986064a9a73001a5889f15d8.tar.bz2
yuzu-e3d561fb842fa9ea986064a9a73001a5889f15d8.tar.lz
yuzu-e3d561fb842fa9ea986064a9a73001a5889f15d8.tar.xz
yuzu-e3d561fb842fa9ea986064a9a73001a5889f15d8.tar.zst
yuzu-e3d561fb842fa9ea986064a9a73001a5889f15d8.zip
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