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