diff options
Diffstat (limited to 'common/replay/ireplaymovierenderer.h')
| -rw-r--r-- | common/replay/ireplaymovierenderer.h | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/common/replay/ireplaymovierenderer.h b/common/replay/ireplaymovierenderer.h new file mode 100644 index 0000000..e70835a --- /dev/null +++ b/common/replay/ireplaymovierenderer.h @@ -0,0 +1,33 @@ +//========= Copyright Valve Corporation, All rights reserved. ============// +// +//=======================================================================================// + +#ifndef IREPLAYMOVIERENDERER_H +#define IREPLAYMOVIERENDERER_H +#ifdef _WIN32 +#pragma once +#endif + +//---------------------------------------------------------------------------------------- + +class IReplayMovie; +struct RenderMovieParams_t; + +//---------------------------------------------------------------------------------------- + +abstract_class IReplayMovieRenderer : public IBaseInterface +{ +public: + virtual bool SetupRenderer( RenderMovieParams_t ¶ms, IReplayMovie *pMovie ) = 0; + virtual void ShutdownRenderer() = 0; + virtual void RenderVideo() = 0; + virtual void RenderAudio( unsigned char *pBuffer, int nSize, int nNumSamples ) = 0; + + virtual void SetAudioSyncFrame( bool isSync = false ) = 0; + virtual bool IsAudioSyncFrame() = 0; + virtual float GetRecordingFrameDuration() = 0; +}; + +//---------------------------------------------------------------------------------------- + +#endif // IREPLAYMOVIERENDERER_H |