diff options
author | Klaus Schmidinger <vdr@tvdr.de> | 2002-08-16 09:22:29 +0200 |
---|---|---|
committer | Klaus Schmidinger <vdr@tvdr.de> | 2002-08-16 09:22:29 +0200 |
commit | 470415ad230d8455439edadb07dae0a21978783b (patch) | |
tree | 0b0b7fa67f2fde96efb5908a84cad768e84ed9f6 /player.h | |
parent | 038766dccdcf4aa940a923e3170344611e826e87 (diff) | |
download | vdr-470415ad230d8455439edadb07dae0a21978783b.tar.gz vdr-470415ad230d8455439edadb07dae0a21978783b.tar.bz2 |
Using cPoller instead of NeedsData
Diffstat (limited to 'player.h')
-rw-r--r-- | player.h | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -4,7 +4,7 @@ * See the main source file 'vdr.c' for copyright information and * how to reach the author. * - * $Id: player.h 1.7 2002/08/15 11:10:09 kls Exp $ + * $Id: player.h 1.8 2002/08/16 09:14:12 kls Exp $ */ #ifndef __PLAYER_H @@ -19,7 +19,7 @@ private: cDevice *device; ePlayMode playMode; protected: - bool DeviceNeedsData(int Wait = 0) { return device ? device->NeedsData(Wait) : false; } + bool DevicePoll(cPoller &Poller, int TimeoutMs = 0) { return device ? device->Poll(Poller, TimeoutMs) : false; } void DeviceTrickSpeed(int Speed) { if (device) device->TrickSpeed(Speed); } void DeviceClear(void) { if (device) device->Clear(); } void DevicePlay(void) { if (device) device->Play(); } |