summaryrefslogtreecommitdiffstats
path: root/src/audio_core/sink/sink_stream.h
diff options
context:
space:
mode:
authorBilly Laws <blaws05@gmail.com>2023-04-08 22:54:19 +0200
committerBilly Laws <blaws05@gmail.com>2023-04-08 22:54:19 +0200
commit8908663f1279c690bc19710da7e33d44314641b4 (patch)
tree522dda751b910c89bfdc93d774d9585b36cc857e /src/audio_core/sink/sink_stream.h
parentAdd some explicit latency to sample count reporting (diff)
downloadyuzu-8908663f1279c690bc19710da7e33d44314641b4.tar
yuzu-8908663f1279c690bc19710da7e33d44314641b4.tar.gz
yuzu-8908663f1279c690bc19710da7e33d44314641b4.tar.bz2
yuzu-8908663f1279c690bc19710da7e33d44314641b4.tar.lz
yuzu-8908663f1279c690bc19710da7e33d44314641b4.tar.xz
yuzu-8908663f1279c690bc19710da7e33d44314641b4.tar.zst
yuzu-8908663f1279c690bc19710da7e33d44314641b4.zip
Diffstat (limited to '')
-rw-r--r--src/audio_core/sink/sink_stream.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/audio_core/sink/sink_stream.h b/src/audio_core/sink/sink_stream.h
index 23e289c7b..21b5b40a1 100644
--- a/src/audio_core/sink/sink_stream.h
+++ b/src/audio_core/sink/sink_stream.h
@@ -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