Changed to size_t over uint64_t

This commit is contained in:
2025-10-06 08:04:37 +03:00
parent 020f9c5eef
commit 1f0f193b54
2 changed files with 2 additions and 2 deletions

View File

@@ -33,7 +33,7 @@ public:
const SoundState GetState(); const SoundState GetState();
const SoundType GetSoundType(); const SoundType GetSoundType();
const uint64_t GetPlayedSampleCount(); const size_t GetPlayedSampleCount();
const float GetPlaybackTime(); const float GetPlaybackTime();
bool SetPlaybackTime(float time); bool SetPlaybackTime(float time);

View File

@@ -100,7 +100,7 @@ void Sound::Reset() {
} }
// Used with Streamed PCM but works with anything // Used with Streamed PCM but works with anything
const uint64_t Sound::GetPlayedSampleCount() { const size_t Sound::GetPlayedSampleCount() {
return ma_sound_get_time_in_pcm_frames(&maSound); return ma_sound_get_time_in_pcm_frames(&maSound);
} }