Proper Audio/Video Dumping

This commit is contained in:
Fog
2014-10-04 03:28:01 -04:00
parent 47bf698b70
commit fc4125cdd1
8 changed files with 247 additions and 88 deletions

View File

@ -21,6 +21,9 @@ private:
static bool SetCompressionOptions();
static bool SetVideoFormat();
static void StoreFrame(const void* data);
static void* GetFrame();
public:
#ifdef _WIN32
static bool Start(HWND hWnd, int w, int h);
@ -28,6 +31,6 @@ public:
static bool Start(int w, int h);
#endif
static void AddFrame(const u8* data, int width, int height);
static void Stop();
static void DoState();
};