summaryrefslogtreecommitdiff
path: root/device.h
diff options
context:
space:
mode:
authorKlaus Schmidinger <vdr@tvdr.de>2006-04-14 14:47:01 +0200
committerKlaus Schmidinger <vdr@tvdr.de>2006-04-14 14:47:01 +0200
commit08fb5e2dbd09a43276298721fd0be273e07954da (patch)
tree5fa601ef41918614a55a7b858df0eb6dd9e94b59 /device.h
parentc9e0393d805ea5ad634675d240f6f471039215dd (diff)
downloadvdr-08fb5e2dbd09a43276298721fd0be273e07954da.tar.gz
vdr-08fb5e2dbd09a43276298721fd0be273e07954da.tar.bz2
The preferred audio language is now automatically selected when starting replay
Diffstat (limited to 'device.h')
-rw-r--r--device.h8
1 files changed, 6 insertions, 2 deletions
diff --git a/device.h b/device.h
index 23663e84..2a682a3a 100644
--- a/device.h
+++ b/device.h
@@ -4,7 +4,7 @@
* See the main source file 'vdr.c' for copyright information and
* how to reach the author.
*
- * $Id: device.h 1.74 2006/04/02 13:08:13 kls Exp $
+ * $Id: device.h 1.75 2006/04/14 14:35:13 kls Exp $
*/
#ifndef __DEVICE_H
@@ -356,7 +356,11 @@ protected:
virtual void SetAudioTrackDevice(eTrackType Type);
///< Sets the current audio track to the given value.
public:
- void ClrAvailableTracks(bool DescriptionsOnly = false);
+ void ClrAvailableTracks(bool DescriptionsOnly = false, bool IdsOnly = false);
+ ///< Clears the list of currently availabe tracks. If DescriptionsOnly
+ ///< is true, only the track descriptions will be cleared. With IdsOnly
+ ///< set to true only the ids will be cleared. IdsOnly is only taken
+ ///< into account if DescriptionsOnly is false.
bool SetAvailableTrack(eTrackType Type, int Index, uint16_t Id, const char *Language = NULL, const char *Description = NULL);
///< Sets the track of the given Type and Index to the given values.
///< Type must be one of the basic eTrackType values, like ttAudio or ttDolby.