Audio: Correct buffer release for host timing.

This commit is contained in:
Fernando Sahmkow 2020-05-29 17:37:57 -04:00
parent 7fd7d05838
commit e3d561fb84
3 changed files with 22 additions and 1 deletions

View file

@ -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