setup-mplayer.c
branchtrunk
changeset 39 ba6464ebc3f9
parent 22 93aaf15c145a
equal deleted inserted replaced
38:79b272a68eb4 39:ba6464ebc3f9
     1 /*
     1 /*
     2  * MP3/MPlayer plugin to VDR (C++)
     2  * MP3/MPlayer plugin to VDR (C++)
     3  *
     3  *
     4  * (C) 2001-2009 Stefan Huelswitt <s.huelswitt@gmx.de>
     4  * (C) 2001-2010 Stefan Huelswitt <s.huelswitt@gmx.de>
     5  *
     5  *
     6  * This code is free software; you can redistribute it and/or
     6  * This code is free software; you can redistribute it and/or
     7  * modify it under the terms of the GNU General Public License
     7  * modify it under the terms of the GNU General Public License
     8  * as published by the Free Software Foundation; either version 2
     8  * as published by the Free Software Foundation; either version 2
     9  * of the License, or (at your option) any later version.
     9  * of the License, or (at your option) any later version.
    31 cMPlayerSetup::cMPlayerSetup(void)
    31 cMPlayerSetup::cMPlayerSetup(void)
    32 {
    32 {
    33   SlaveMode = 1;
    33   SlaveMode = 1;
    34   ResumeMode = 2;
    34   ResumeMode = 2;
    35   HideMainMenu = 0;
    35   HideMainMenu = 0;
       
    36   PrevNextKeyMode = 0;
    36   memset(KeyCmd,0,sizeof(KeyCmd));
    37   memset(KeyCmd,0,sizeof(KeyCmd));
    37   strcpy(KeyCmd[1],"audio_delay +0.1");
    38   strcpy(KeyCmd[1],"audio_delay +0.1");
    38   strcpy(KeyCmd[7],"audio_delay -0.1");
    39   strcpy(KeyCmd[7],"audio_delay -0.1");
    39   strcpy(KeyCmd[4],"switch_audio");
    40   strcpy(KeyCmd[4],"switch_audio");
    40 }
    41 }