return rc;
}
-void CApplication::ResetPlayTime()
-{
- if (IsPlaying() && m_pPlayer)
- m_pPlayer->ResetTime();
-}
-
void CApplication::StopShutdownTimer()
{
if (m_shutdownTimer.IsRunning())
void SeekPercentage(float percent);
void SeekTime( double dTime = 0.0 );
- void ResetPlayTime();
void StopShutdownTimer();
void ResetShutdownTimers();
virtual float GetActualFPS() { return 0.0f; };
virtual void SeekTime(__int64 iTime = 0){};
virtual __int64 GetTime(){ return 0;};
- virtual void ResetTime() {};
virtual int GetTotalTime(){ return 0;};
virtual int GetAudioBitrate(){ return 0;}
virtual int GetVideoBitrate(){ return 0;}
return true;
}
-void PAPlayer::ResetTime()
-{
- m_bytesSentOut = 0;
-}
-
__int64 PAPlayer::GetTime()
{
__int64 timeplus = m_BytesPerSecond ? (__int64)(((float) m_bytesSentOut / (float) m_BytesPerSecond ) * 1000.0) : 0;
virtual int GetSampleRate();
virtual CStdString GetAudioCodecName();
virtual __int64 GetTime();
- virtual void ResetTime();
virtual void SeekTime(__int64 iTime = 0);
// Skip to next track/item inside the current media (if supported).
virtual bool SkipNext();