setup-mp3.h
branchtrunk
changeset 0 474a1293c3c0
child 30 f8a59739816b
equal deleted inserted replaced
-1:000000000000 0:474a1293c3c0
       
     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 #ifndef ___SETUP_MP3_H
       
    23 #define ___SETUP_MP3_H
       
    24 
       
    25 extern const char *cddbpath;
       
    26 extern const char *netscript;
       
    27 #ifdef WITH_OSS
       
    28 extern const char *dspdevice;
       
    29 #endif
       
    30 
       
    31 // ----------------------------------------------------------------
       
    32 
       
    33 #define DEFAULT_TARGET_LEVEL  25
       
    34 #define MAX_TARGET_LEVEL      50
       
    35 #define DEFAULT_LIMITER_LEVEL 70
       
    36 #define MIN_LIMITER_LEVEL     25
       
    37 
       
    38 #define MAX_HOSTNAME 128
       
    39 
       
    40 #define AUDIOOUTMODES    2
       
    41 #define AUDIOOUTMODE_DVB 0
       
    42 #define AUDIOOUTMODE_OSS 1
       
    43 
       
    44 class cMP3Setup {
       
    45 public:
       
    46   int InitLoopMode;
       
    47   int InitShuffleMode;
       
    48   int AudioMode;
       
    49   int BgrScan;
       
    50   int EditorMode;
       
    51   int DisplayMode;
       
    52   int BackgrMode;
       
    53   int MenuMode;
       
    54   int TargetLevel;
       
    55   int LimiterLevel;
       
    56   int Only48kHz;
       
    57   int UseProxy;
       
    58   char ProxyHost[MAX_HOSTNAME];
       
    59   int ProxyPort;
       
    60   int UseCddb;
       
    61   char CddbHost[MAX_HOSTNAME];
       
    62   int CddbPort;
       
    63   int AudioOutMode;
       
    64   int AbortAtEOL;
       
    65   int ReplayDisplay;
       
    66   int HideMainMenu;
       
    67   int KeepSelect;
       
    68   int TitleArtistOrder;
       
    69 public:
       
    70   cMP3Setup(void);
       
    71   };
       
    72 
       
    73 extern cMP3Setup MP3Setup;
       
    74 
       
    75 #endif //___SETUP_MP3_H