Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

[cosmetics] - prefix pointer with "p"

  • Loading branch information...
commit 2b7a3a214c6d061664b166fcfc4a2b8cd3feb139 1 parent a68e694
Memphiz Memphiz authored
12 xbmc/cores/dvdplayer/DVDAudio.cpp
View
@@ -35,7 +35,7 @@ CDVDAudio::CDVDAudio(volatile bool &bStop)
: m_bStop(bStop)
{
m_pAudioStream = NULL;
- m_audioCallback = NULL;
+ m_pAudioCallback = NULL;
m_iBufferSize = 0;
m_dwPacketSize = 0;
m_pBuffer = NULL;
@@ -92,9 +92,9 @@ bool CDVDAudio::Create(const DVDAudioFrame &audioframe, CodecID codec, bool need
m_iBufferSize = 0;
SetDynamicRangeCompression((long)(g_settings.m_currentVideoSettings.m_VolumeAmplification * 100));
-
- if (m_audioCallback)
- RegisterAudioCallback(m_audioCallback);
+
+ if (m_pAudioCallback)
+ RegisterAudioCallback(m_pAudioCallback);
return true;
}
@@ -240,7 +240,7 @@ void CDVDAudio::Drain()
void CDVDAudio::RegisterAudioCallback(IAudioCallback* pCallback)
{
CSingleLock lock (m_critSection);
- m_audioCallback = pCallback;
+ m_pAudioCallback = pCallback;
if (m_pAudioStream)
m_pAudioStream->RegisterAudioCallback(pCallback);
}
@@ -250,7 +250,7 @@ void CDVDAudio::UnRegisterAudioCallback()
CSingleLock lock (m_critSection);
if (m_pAudioStream)
m_pAudioStream->UnRegisterAudioCallback();
- m_audioCallback = NULL;
+ m_pAudioCallback = NULL;
}
void CDVDAudio::SetVolume(float volume)
2  xbmc/cores/dvdplayer/DVDAudio.h
View
@@ -94,7 +94,7 @@ class CDVDAudio
bool m_bPaused;
volatile bool& m_bStop;
- IAudioCallback* m_audioCallback; //the viz audio callback
+ IAudioCallback* m_pAudioCallback; //the viz audio callback
//counter that will go from 0 to m_iSpeed-1 and reset, data will only be output when speedstep is 0
//int m_iSpeedStep;
};
Please sign in to comment.
Something went wrong with that request. Please try again.