setup-mplayer.c
author nathan
Sun, 06 Dec 2009 08:48:57 +0800
branchtrunk
changeset 34 afc13760179b
parent 22 93aaf15c145a
child 39 ba6464ebc3f9
permissions -rw-r--r--
fixed gcc 4.4.1 const errors
     1 /*
     2  * MP3/MPlayer plugin to VDR (C++)
     3  *
     4  * (C) 2001-2009 Stefan Huelswitt <s.huelswitt@gmx.de>
     5  *
     6  * This code is free software; you can redistribute it and/or
     7  * modify it under the terms of the GNU General Public License
     8  * as published by the Free Software Foundation; either version 2
     9  * of the License, or (at your option) any later version.
    10  *
    11  * This code is distributed in the hope that it will be useful,
    12  * but WITHOUT ANY WARRANTY; without even the implied warranty of
    13  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
    14  * GNU General Public License for more details.
    15  *
    16  * You should have received a copy of the GNU General Public License
    17  * along with this program; if not, write to the Free Software
    18  * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
    19  * Or, point your browser to http://www.gnu.org/copyleft/gpl.html
    20  */
    21 
    22 #include <string.h>
    23 
    24 #include "common.h"
    25 #include "setup-mplayer.h"
    26 
    27 cMPlayerSetup MPlayerSetup;
    28 
    29 // --- cMPlayerSetup -----------------------------------------------------------
    30 
    31 cMPlayerSetup::cMPlayerSetup(void)
    32 {
    33   SlaveMode = 1;
    34   ResumeMode = 2;
    35   HideMainMenu = 0;
    36   memset(KeyCmd,0,sizeof(KeyCmd));
    37   strcpy(KeyCmd[1],"audio_delay +0.1");
    38   strcpy(KeyCmd[7],"audio_delay -0.1");
    39   strcpy(KeyCmd[4],"switch_audio");
    40 }