summaryrefslogtreecommitdiff
path: root/player.h
diff options
context:
space:
mode:
authorKlaus Schmidinger <vdr@tvdr.de>2005-02-12 14:48:06 +0100
committerKlaus Schmidinger <vdr@tvdr.de>2005-02-12 14:48:06 +0100
commitdc22034e72d8695dddf1fe511012f3afd1a7abbd (patch)
treeca832b73d628586db1dbdfd0a2b3b7902ba46658 /player.h
parent7e0ffb04996b7e905b0357d20c9113a24c42e9cd (diff)
downloadvdr-dc22034e72d8695dddf1fe511012f3afd1a7abbd.tar.gz
vdr-dc22034e72d8695dddf1fe511012f3afd1a7abbd.tar.bz2
Added DeviceClrAvailableTracks() and DeviceSetCurrentAudioTrack() to cPlayer
Diffstat (limited to 'player.h')
-rw-r--r--player.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/player.h b/player.h
index 3ffc7e36..6b08178f 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.15 2005/02/06 11:44:56 kls Exp $
+ * $Id: player.h 1.16 2005/02/12 14:45:29 kls Exp $
*/
#ifndef __PLAYER_H
@@ -19,7 +19,9 @@ private:
cDevice *device;
ePlayMode playMode;
protected:
+ void DeviceClrAvailableTracks(bool DescriptionsOnly = false) { if (device) device->ClrAvailableTracks(DescriptionsOnly); }
bool DeviceSetAvailableTrack(eTrackType Type, int Index, uint16_t Id, const char *Language = NULL, const char *Description = NULL) { return device ? device->SetAvailableTrack(Type, Index, Id, Language, Description) : false; }
+ bool DeviceSetCurrentAudioTrack(eTrackType Type) { return device ? device->SetCurrentAudioTrack(Type) : false; }
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); }