From b1737a8bcb3a259c9c57e76b818539191b96f045 Mon Sep 17 00:00:00 2001 From: Klaus Schmidinger Date: Sat, 19 Jun 2004 08:58:14 +0200 Subject: Added cDevice::Flush() --- player.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'player.h') diff --git a/player.h b/player.h index 85b7bd13..8c5392ae 100644 --- a/player.h +++ b/player.h @@ -4,7 +4,7 @@ * See the main source file 'vdr.c' for copyright information and * how to reach the author. * - * $Id: player.h 1.11 2004/04/30 13:45:59 kls Exp $ + * $Id: player.h 1.12 2004/06/19 08:53:07 kls Exp $ */ #ifndef __PLAYER_H @@ -20,6 +20,7 @@ private: ePlayMode playMode; protected: bool DevicePoll(cPoller &Poller, int TimeoutMs = 0) { return device ? device->Poll(Poller, TimeoutMs) : false; } + bool DeviceFlush(int TimeoutMs = 0) { return device ? device->Flush(TimeoutMs) : true; } void DeviceTrickSpeed(int Speed) { if (device) device->TrickSpeed(Speed); } void DeviceClear(void) { if (device) device->Clear(); } void DevicePlay(void) { if (device) device->Play(); } -- cgit v1.2.3