summaryrefslogtreecommitdiff
path: root/vdr.c
diff options
context:
space:
mode:
authorKlaus Schmidinger <vdr@tvdr.de>2005-01-02 15:11:44 +0100
committerKlaus Schmidinger <vdr@tvdr.de>2005-01-02 15:11:44 +0100
commit0b3a801ab463186519e9e1c14ea891924c64dff5 (patch)
tree9795fd31fa77a909b5a9cd19ee89a7062d381685 /vdr.c
parent286af66cfb787b76ee7289c920a75a3dd21ce795 (diff)
downloadvdr-0b3a801ab463186519e9e1c14ea891924c64dff5.tar.gz
vdr-0b3a801ab463186519e9e1c14ea891924c64dff5.tar.bz2
Implemented audio track menu
Diffstat (limited to 'vdr.c')
-rw-r--r--vdr.c12
1 files changed, 10 insertions, 2 deletions
diff --git a/vdr.c b/vdr.c
index f49a89a1..a424b27c 100644
--- a/vdr.c
+++ b/vdr.c
@@ -22,7 +22,7 @@
*
* The project's page is at http://www.cadsoft.de/vdr
*
- * $Id: vdr.c 1.196 2004/12/26 10:30:30 kls Exp $
+ * $Id: vdr.c 1.197 2005/01/02 14:39:41 kls Exp $
*/
#include <getopt.h>
@@ -678,7 +678,7 @@ int main(int argc, char *argv[])
case kChanDn:
cDevice::SwitchChannel(NORMALKEY(key) == kChanUp ? 1 : -1);
break;
- // Volume Control:
+ // Volume control:
case kVolUp|k_Repeat:
case kVolUp:
case kVolDn|k_Repeat:
@@ -697,6 +697,14 @@ int main(int argc, char *argv[])
cDisplayVolume::Process(key);
key = kNone; // nobody else needs to see these keys
break;
+ // Audio track control:
+ case kAudio:
+ if (!Menu && !cOsd::IsOpen())
+ Menu = Temp = cDisplayTracks::Create();
+ else
+ cDisplayTracks::Process(key);
+ key = kNone;
+ break;
// Pausing live video:
case kPause:
if (!cControl::Control()) {