diff options
| author | Fernando Sahmkow <fsahmkow27@gmail.com> | 2020-05-29 17:37:57 -0400 |
|---|---|---|
| committer | Fernando Sahmkow <fsahmkow27@gmail.com> | 2020-06-27 11:36:23 -0400 |
| commit | e3d561fb842fa9ea986064a9a73001a5889f15d8 (patch) | |
| tree | eac6c57ab550d37d5b78a93431d34baa51950fb7 /src/audio_core/stream.h | |
| parent | 7fd7d05838b88e9dd63a7329e29ea355669a5f18 (diff) | |
Audio: Correct buffer release for host timing.
Diffstat (limited to 'src/audio_core/stream.h')
| -rw-r--r-- | src/audio_core/stream.h | 3 |
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 |
