setup-mp3.h
author nathan
Sat, 29 Dec 2007 14:58:47 +0100
branchtrunk
changeset 11 7f424cf3f798
parent 0 474a1293c3c0
child 30 f8a59739816b
permissions -rw-r--r--
use po2i18n for non-locale vdr
nathan@0
     1
/*
nathan@0
     2
 * MP3/MPlayer plugin to VDR (C++)
nathan@0
     3
 *
nathan@0
     4
 * (C) 2001-2005 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
#ifndef ___SETUP_MP3_H
nathan@0
    23
#define ___SETUP_MP3_H
nathan@0
    24
nathan@0
    25
extern const char *cddbpath;
nathan@0
    26
extern const char *netscript;
nathan@0
    27
#ifdef WITH_OSS
nathan@0
    28
extern const char *dspdevice;
nathan@0
    29
#endif
nathan@0
    30
nathan@0
    31
// ----------------------------------------------------------------
nathan@0
    32
nathan@0
    33
#define DEFAULT_TARGET_LEVEL  25
nathan@0
    34
#define MAX_TARGET_LEVEL      50
nathan@0
    35
#define DEFAULT_LIMITER_LEVEL 70
nathan@0
    36
#define MIN_LIMITER_LEVEL     25
nathan@0
    37
nathan@0
    38
#define MAX_HOSTNAME 128
nathan@0
    39
nathan@0
    40
#define AUDIOOUTMODES    2
nathan@0
    41
#define AUDIOOUTMODE_DVB 0
nathan@0
    42
#define AUDIOOUTMODE_OSS 1
nathan@0
    43
nathan@0
    44
class cMP3Setup {
nathan@0
    45
public:
nathan@0
    46
  int InitLoopMode;
nathan@0
    47
  int InitShuffleMode;
nathan@0
    48
  int AudioMode;
nathan@0
    49
  int BgrScan;
nathan@0
    50
  int EditorMode;
nathan@0
    51
  int DisplayMode;
nathan@0
    52
  int BackgrMode;
nathan@0
    53
  int MenuMode;
nathan@0
    54
  int TargetLevel;
nathan@0
    55
  int LimiterLevel;
nathan@0
    56
  int Only48kHz;
nathan@0
    57
  int UseProxy;
nathan@0
    58
  char ProxyHost[MAX_HOSTNAME];
nathan@0
    59
  int ProxyPort;
nathan@0
    60
  int UseCddb;
nathan@0
    61
  char CddbHost[MAX_HOSTNAME];
nathan@0
    62
  int CddbPort;
nathan@0
    63
  int AudioOutMode;
nathan@0
    64
  int AbortAtEOL;
nathan@0
    65
  int ReplayDisplay;
nathan@0
    66
  int HideMainMenu;
nathan@0
    67
  int KeepSelect;
nathan@0
    68
  int TitleArtistOrder;
nathan@0
    69
public:
nathan@0
    70
  cMP3Setup(void);
nathan@0
    71
  };
nathan@0
    72
nathan@0
    73
extern cMP3Setup MP3Setup;
nathan@0
    74
nathan@0
    75
#endif //___SETUP_MP3_H