Fix underflow in audio drop code

This commit is contained in:
Cameron Gutman
2018-09-13 14:09:03 -07:00
parent da4697794d
commit 7bc43c226d
2 changed files with 13 additions and 8 deletions
+4 -4
View File
@@ -20,9 +20,9 @@ public:
private:
SDL_AudioDeviceID m_AudioDevice;
int m_ChannelCount;
int m_PendingDrops;
int m_PendingHardDrops;
unsigned int m_SampleIndex;
Uint32 m_ChannelCount;
Uint32 m_PendingDrops;
Uint32 m_PendingHardDrops;
Uint32 m_SampleIndex;
Uint32 m_BaselinePendingData;
};