Changed to size_t over uint64_t
This commit is contained in:
@@ -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);
|
||||||
|
|||||||
@@ -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);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user