mirror of https://github.com/PCSX2/pcsx2.git
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:
parent
f6f8dc1a22
commit
e4490694f1
|
@ -110,11 +110,18 @@ public:
|
||||||
|
|
||||||
Portaudio()
|
Portaudio()
|
||||||
{
|
{
|
||||||
m_ApiId=-1;
|
|
||||||
m_SuggestedLatencyMinimal = true;
|
m_SuggestedLatencyMinimal = true;
|
||||||
|
m_UseHardware = false;
|
||||||
|
m_WasapiExclusiveMode = false;
|
||||||
|
started = false;
|
||||||
|
stream = NULL;
|
||||||
|
ActualPaCallback = NULL;
|
||||||
|
m_ApiId=-1;
|
||||||
m_SuggestedLatencyMS = 20;
|
m_SuggestedLatencyMS = 20;
|
||||||
|
|
||||||
actualUsedChannels = 0;
|
actualUsedChannels = 0;
|
||||||
|
writtenSoFar = 0;
|
||||||
|
writtenLastTime = 0;
|
||||||
|
availableLastTime = 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
s32 Init()
|
s32 Init()
|
||||||
|
|
Loading…
Reference in New Issue