mirror of https://github.com/PCSX2/pcsx2.git
SPU2: Fix class has a constructor with 1 argument that is not explicit warnings.
Codacy.
This commit is contained in:
parent
0cd5b9072c
commit
ee3cacffd7
|
@ -53,7 +53,7 @@ private:
|
||||||
public:
|
public:
|
||||||
ConvertedSampleReader() = delete;
|
ConvertedSampleReader() = delete;
|
||||||
|
|
||||||
ConvertedSampleReader(u64* pWritten)
|
explicit ConvertedSampleReader(u64* pWritten)
|
||||||
: written(pWritten)
|
: written(pWritten)
|
||||||
{
|
{
|
||||||
}
|
}
|
||||||
|
|
|
@ -57,7 +57,7 @@ private:
|
||||||
return state.SamplesPlayed & (m_BufferSize - 1);
|
return state.SamplesPlayed & (m_BufferSize - 1);
|
||||||
}
|
}
|
||||||
|
|
||||||
BaseStreamingVoice(uint numChannels)
|
explicit BaseStreamingVoice(uint numChannels)
|
||||||
: m_nBuffers(2)
|
: m_nBuffers(2)
|
||||||
, m_nChannels(numChannels)
|
, m_nChannels(numChannels)
|
||||||
, m_BufferSize(SndOutPacketSize * m_nChannels * PacketsPerBuffer)
|
, m_BufferSize(SndOutPacketSize * m_nChannels * PacketsPerBuffer)
|
||||||
|
|
Loading…
Reference in New Issue