diff options
author | Klaus Schmidinger <vdr@tvdr.de> | 2005-01-02 15:11:44 +0100 |
---|---|---|
committer | Klaus Schmidinger <vdr@tvdr.de> | 2005-01-02 15:11:44 +0100 |
commit | 0b3a801ab463186519e9e1c14ea891924c64dff5 (patch) | |
tree | 9795fd31fa77a909b5a9cd19ee89a7062d381685 /vdr.c | |
parent | 286af66cfb787b76ee7289c920a75a3dd21ce795 (diff) | |
download | vdr-0b3a801ab463186519e9e1c14ea891924c64dff5.tar.gz vdr-0b3a801ab463186519e9e1c14ea891924c64dff5.tar.bz2 |
Implemented audio track menu
Diffstat (limited to 'vdr.c')
-rw-r--r-- | vdr.c | 12 |
1 files changed, 10 insertions, 2 deletions
@@ -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()) { |