SPU2-X: Initialize all class members

CID 147033 (#1 of 1): Uninitialized pointer field (UNINIT_CTOR)16. uninit_member: Non-static class member ActualPaCallback is not initialized in this constructor nor in any functions that it calls.
This commit is contained in:
Akash 2015-10-23 20:45:12 +05:30
parent f6f8dc1a22
commit e4490694f1
1 changed files with 9 additions and 2 deletions

View File

@ -110,11 +110,18 @@ public:
Portaudio()
{
m_ApiId=-1;
m_SuggestedLatencyMinimal = true;
m_UseHardware = false;
m_WasapiExclusiveMode = false;
started = false;
stream = NULL;
ActualPaCallback = NULL;
m_ApiId=-1;
m_SuggestedLatencyMS = 20;
actualUsedChannels = 0;
writtenSoFar = 0;
writtenLastTime = 0;
availableLastTime = 0;
}
s32 Init()