Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mpc-hc/mpc-hc.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authortetsuo55 <tetsuo55@users.sourceforge.net>2010-04-09 01:14:58 +0400
committertetsuo55 <tetsuo55@users.sourceforge.net>2010-04-09 01:14:58 +0400
commita9b7bf3fb3e1334d8defd05ca4cfae870b4912e5 (patch)
tree2dab453d94d5e003379a6cc895eceb84c80e23ec /src/filters/BaseClasses/refclock.h
parentaafd49a91f7c2fa9c7103971c16fa6e1b29e8bfd (diff)
astyle formatting cleanup to make the sourcecode more accessible
switch used: astyle --style=ansi --min-conditional-indent=0 --pad=oper --unpad=paren http://astyle.sourceforge.net/ git-svn-id: https://mpc-hc.svn.sourceforge.net/svnroot/mpc-hc/trunk@1783 10f7b99b-c216-0410-bff0-8a66a9350fd8
Diffstat (limited to 'src/filters/BaseClasses/refclock.h')
-rw-r--r--src/filters/BaseClasses/refclock.h22
1 files changed, 13 insertions, 9 deletions
diff --git a/src/filters/BaseClasses/refclock.h b/src/filters/BaseClasses/refclock.h
index bf685fba0..429e96496 100644
--- a/src/filters/BaseClasses/refclock.h
+++ b/src/filters/BaseClasses/refclock.h
@@ -75,15 +75,15 @@ inline LONGLONG WINAPI ConvertToMilliseconds(const REFERENCE_TIME& RT)
*/
class CBaseReferenceClock
-: public CUnknown, public IReferenceClock, public CCritSec, public IReferenceClockTimerControl
+ : public CUnknown, public IReferenceClock, public CCritSec, public IReferenceClockTimerControl
{
protected:
virtual ~CBaseReferenceClock(); // Don't let me be created on the stack!
public:
- CBaseReferenceClock(__in_opt LPCTSTR pName,
- __inout_opt LPUNKNOWN pUnk,
- __inout HRESULT *phr,
- __inout_opt CAMSchedule * pSched = 0 );
+ CBaseReferenceClock(__in_opt LPCTSTR pName,
+ __inout_opt LPUNKNOWN pUnk,
+ __inout HRESULT *phr,
+ __inout_opt CAMSchedule * pSched = 0);
STDMETHODIMP NonDelegatingQueryInterface(REFIID riid, __deref_out void ** ppv);
@@ -137,9 +137,12 @@ public:
virtual REFERENCE_TIME GetPrivateTime();
/* Provide a method for correcting drift */
- STDMETHODIMP SetTimeDelta( const REFERENCE_TIME& TimeDelta );
+ STDMETHODIMP SetTimeDelta(const REFERENCE_TIME& TimeDelta);
- CAMSchedule * GetSchedule() const { return m_pSchedule; }
+ CAMSchedule * GetSchedule() const
+ {
+ return m_pSchedule;
+ }
// IReferenceClockTimerControl methods
//
@@ -165,7 +168,8 @@ private:
// Thread stuff
public:
void TriggerThread() // Wakes thread up. Need to do this if
- { // time to next advise needs reevaluating.
+ {
+ // time to next advise needs reevaluating.
EXECUTE_ASSERT(SetEvent(m_pSchedule->GetEvent()));
}
@@ -180,7 +184,7 @@ private:
protected:
CAMSchedule * m_pSchedule;
- void Restart (IN REFERENCE_TIME rtMinTime = 0I64) ;
+ void Restart(IN REFERENCE_TIME rtMinTime = 0I64) ;
};
#endif