setup-mp3.c
author nathan
Sat, 29 Dec 2007 14:49:09 +0100
branchtrunk
changeset 2 4c1f7b705009
parent 0 474a1293c3c0
child 30 f8a59739816b
permissions -rw-r--r--
release 0.10.1
     1 /*
     2  * MP3/MPlayer plugin to VDR (C++)
     3  *
     4  * (C) 2001-2005 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-mp3.h"
    26 
    27 cMP3Setup MP3Setup;
    28 
    29 // --- cMP3Setup ---------------------------------------------------------------
    30 
    31 cMP3Setup::cMP3Setup(void)
    32 {
    33   InitLoopMode = 0;
    34   InitShuffleMode = 0;
    35   AudioMode = 1;
    36   BgrScan = 2;
    37   EditorMode = 1;
    38   DisplayMode = 3;
    39   BackgrMode = 1;
    40   MenuMode = 0;
    41   TargetLevel = DEFAULT_TARGET_LEVEL;
    42   LimiterLevel = DEFAULT_LIMITER_LEVEL;
    43   Only48kHz = 0;
    44   UseProxy = 0;
    45   strcpy(ProxyHost,"localhost");
    46   ProxyPort = 8080;
    47   UseCddb = 1;
    48   strcpy(CddbHost,"freedb.freedb.org");
    49   CddbPort = 888;
    50   AudioOutMode = 0;
    51   AbortAtEOL = 1;
    52   ReplayDisplay = 0;
    53   HideMainMenu = 0;
    54   KeepSelect = 0;
    55   TitleArtistOrder = 0;
    56 }