summaryrefslogtreecommitdiff
path: root/player.h
diff options
context:
space:
mode:
authorKlaus Schmidinger <vdr@tvdr.de>2002-08-16 09:22:29 +0200
committerKlaus Schmidinger <vdr@tvdr.de>2002-08-16 09:22:29 +0200
commit470415ad230d8455439edadb07dae0a21978783b (patch)
tree0b0b7fa67f2fde96efb5908a84cad768e84ed9f6 /player.h
parent038766dccdcf4aa940a923e3170344611e826e87 (diff)
downloadvdr-470415ad230d8455439edadb07dae0a21978783b.tar.gz
vdr-470415ad230d8455439edadb07dae0a21978783b.tar.bz2
Using cPoller instead of NeedsData
Diffstat (limited to 'player.h')
-rw-r--r--player.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/player.h b/player.h
index 1eed0b70..12cc2a37 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.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(); }