diff options
author | phintuka <phintuka> | 2010-01-16 20:55:05 +0000 |
---|---|---|
committer | phintuka <phintuka> | 2010-01-16 20:55:05 +0000 |
commit | dcade9370b1949785179f53be45c34241d9c9e4a (patch) | |
tree | 3f29b23cc98f7d22c5e3c88ba8043acc0a44838e | |
parent | 06181a8e6280f369fab2b6d0244e3fc5f4de6f32 (diff) | |
download | xineliboutput-dcade9370b1949785179f53be45c34241d9c9e4a.tar.gz xineliboutput-dcade9370b1949785179f53be45c34241d9c9e4a.tar.bz2 |
Added Sync(): wait until all pending control messages have been processed by the client
-rw-r--r-- | frontend.h | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -4,7 +4,7 @@ * See the main source file 'xineliboutput.c' for copyright information and * how to reach the author. * - * $Id: frontend.h,v 1.32 2010-01-16 20:11:19 phintuka Exp $ + * $Id: frontend.h,v 1.33 2010-01-16 20:55:05 phintuka Exp $ * */ @@ -52,6 +52,9 @@ class cXinelibThread : public cThread, public cListObject virtual void TrickSpeed(int Speed, bool Backwards); + // Sync(): wait until all pending control messages have been processed by the client + virtual void Sync(void) { return Xine_Control("SYNC"); }; + protected: int Xine_Control(const char *cmd, const char *p1); int Xine_Control(const char *cmd, int p1); |