diff options
author | liamwhite <liamwhite@users.noreply.github.com> | 2023-04-10 15:23:48 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-04-10 15:23:48 +0200 |
commit | 4f77275cd515162dd1b3dccb96296c4d4a370c8e (patch) | |
tree | 627b16fa209715ff81943f0adb7b51f2a168efa2 /src/audio_core/sink/sink_stream.h | |
parent | Merge pull request #10035 from liamwhite/long-long (diff) | |
parent | Use GetGlobalTimeNs as opposed to clock ticks (diff) | |
download | yuzu-4f77275cd515162dd1b3dccb96296c4d4a370c8e.tar yuzu-4f77275cd515162dd1b3dccb96296c4d4a370c8e.tar.gz yuzu-4f77275cd515162dd1b3dccb96296c4d4a370c8e.tar.bz2 yuzu-4f77275cd515162dd1b3dccb96296c4d4a370c8e.tar.lz yuzu-4f77275cd515162dd1b3dccb96296c4d4a370c8e.tar.xz yuzu-4f77275cd515162dd1b3dccb96296c4d4a370c8e.tar.zst yuzu-4f77275cd515162dd1b3dccb96296c4d4a370c8e.zip |
Diffstat (limited to 'src/audio_core/sink/sink_stream.h')
-rw-r--r-- | src/audio_core/sink/sink_stream.h | 2 |
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 |