generic-pc/glfb: add some sort of A/V synchronization

This commit is contained in:
Stefan Seyfried
2013-05-04 15:15:21 +02:00
parent 7cff17cb95
commit 569a1495f7
3 changed files with 32 additions and 17 deletions

View File

@@ -57,6 +57,7 @@ private:
std::map<unsigned char, int> mKeyMap;
std::map<int, int> mSpecialMap;
int input_fd;
int64_t last_apts;
void checkReinit(); /* e.g. in case window was resized */
static void rendercb(); /* callback for GLUT */