Integrate C++11 branch into 5_1-new

This commit is contained in:
teejusb
2019-06-22 12:35:38 -07:00
444 changed files with 19503 additions and 21007 deletions
+6 -6
View File
@@ -200,7 +200,7 @@ public:
WavReaderADPCM( RageFileBasic &f, const RageSoundReader_WAV::WavData &data ):
WavReader(f, data)
{
m_pBuffer = NULL;
m_pBuffer = nullptr;
}
virtual ~WavReaderADPCM()
@@ -581,31 +581,31 @@ RageSoundReader_FileReader::OpenResult RageSoundReader_WAV::Open( RageFileBasic
int RageSoundReader_WAV::GetLength() const
{
ASSERT( m_pImpl != NULL );
ASSERT( m_pImpl != nullptr );
return m_pImpl->GetLength();
}
int RageSoundReader_WAV::SetPosition( int iFrame )
{
ASSERT( m_pImpl != NULL );
ASSERT( m_pImpl != nullptr );
return m_pImpl->SetPosition( iFrame );
}
int RageSoundReader_WAV::GetNextSourceFrame() const
{
ASSERT( m_pImpl != NULL );
ASSERT( m_pImpl != nullptr );
return m_pImpl->GetNextSourceFrame();
}
int RageSoundReader_WAV::Read( float *pBuf, int iFrames )
{
ASSERT( m_pImpl != NULL );
ASSERT( m_pImpl != nullptr );
return m_pImpl->Read( pBuf, iFrames );
}
RageSoundReader_WAV::RageSoundReader_WAV()
{
m_pImpl = NULL;
m_pImpl = nullptr;
}
RageSoundReader_WAV::~RageSoundReader_WAV()