Use GetGlobalTimeNs as opposed to clock ticks

This commit is contained in:
Billy Laws 2023-04-08 21:54:19 +01:00
parent 5dbfd7861a
commit 6b2510c7c5
2 changed files with 3 additions and 4 deletions

View file

@ -246,7 +246,7 @@ private:
/// Maximum number of total samples that can be played since the last callback
u64 max_played_sample_count{};
/// The time the two above tracking variables were last written to
std::chrono::microseconds last_sample_count_update_time{};
std::chrono::nanoseconds last_sample_count_update_time{};
/// Set by the audio render/in/out system which uses this stream
f32 system_volume{1.0f};
/// Set via IAudioDevice service calls