summaryrefslogtreecommitdiffstats
path: root/thirdparties/win32/include/directshow/refclock.h
diff options
context:
space:
mode:
Diffstat (limited to 'thirdparties/win32/include/directshow/refclock.h')
-rwxr-xr-xthirdparties/win32/include/directshow/refclock.h16
1 files changed, 9 insertions, 7 deletions
diff --git a/thirdparties/win32/include/directshow/refclock.h b/thirdparties/win32/include/directshow/refclock.h
index df822e0..f310321 100755
--- a/thirdparties/win32/include/directshow/refclock.h
+++ b/thirdparties/win32/include/directshow/refclock.h
@@ -72,14 +72,14 @@ 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,
+ 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);
@@ -136,7 +136,9 @@ public:
/* Provide a method for correcting drift */
STDMETHODIMP SetTimeDelta( const REFERENCE_TIME& TimeDelta );
- CAMSchedule * GetSchedule() const { return m_pSchedule; }
+ CAMSchedule * GetSchedule() const {
+ return m_pSchedule;
+ }
// IReferenceClockTimerControl methods
//
@@ -161,8 +163,8 @@ private:
// Thread stuff
public:
- void TriggerThread() // Wakes thread up. Need to do this if
- { // time to next advise needs reevaluating.
+ void TriggerThread() { // Wakes thread up. Need to do this if
+ // time to next advise needs reevaluating.
EXECUTE_ASSERT(SetEvent(m_pSchedule->GetEvent()));
}
OpenPOWER on IntegriCloud