You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
34 lines
1.1 KiB
34 lines
1.1 KiB
5 years ago
|
//========= 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
|