nathan@0: /* nathan@0: * MP3/MPlayer plugin to VDR (C++) nathan@0: * nathan@0: * (C) 2001-2005 Stefan Huelswitt nathan@0: * nathan@0: * This code is free software; you can redistribute it and/or nathan@0: * modify it under the terms of the GNU General Public License nathan@0: * as published by the Free Software Foundation; either version 2 nathan@0: * of the License, or (at your option) any later version. nathan@0: * nathan@0: * This code is distributed in the hope that it will be useful, nathan@0: * but WITHOUT ANY WARRANTY; without even the implied warranty of nathan@0: * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the nathan@0: * GNU General Public License for more details. nathan@0: * nathan@0: * You should have received a copy of the GNU General Public License nathan@0: * along with this program; if not, write to the Free Software nathan@0: * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. nathan@0: * Or, point your browser to http://www.gnu.org/copyleft/gpl.html nathan@0: */ nathan@0: nathan@0: #ifndef ___SETUP_MP3_H nathan@0: #define ___SETUP_MP3_H nathan@0: nathan@0: extern const char *cddbpath; nathan@0: extern const char *netscript; nathan@0: #ifdef WITH_OSS nathan@0: extern const char *dspdevice; nathan@0: #endif nathan@0: nathan@0: // ---------------------------------------------------------------- nathan@0: nathan@0: #define DEFAULT_TARGET_LEVEL 25 nathan@0: #define MAX_TARGET_LEVEL 50 nathan@0: #define DEFAULT_LIMITER_LEVEL 70 nathan@0: #define MIN_LIMITER_LEVEL 25 nathan@0: nathan@0: #define MAX_HOSTNAME 128 nathan@0: nathan@0: #define AUDIOOUTMODES 2 nathan@0: #define AUDIOOUTMODE_DVB 0 nathan@0: #define AUDIOOUTMODE_OSS 1 nathan@0: nathan@0: class cMP3Setup { nathan@0: public: nathan@0: int InitLoopMode; nathan@0: int InitShuffleMode; nathan@0: int AudioMode; nathan@0: int BgrScan; nathan@0: int EditorMode; nathan@0: int DisplayMode; nathan@0: int BackgrMode; nathan@0: int MenuMode; nathan@0: int TargetLevel; nathan@0: int LimiterLevel; nathan@0: int Only48kHz; nathan@0: int UseProxy; nathan@0: char ProxyHost[MAX_HOSTNAME]; nathan@0: int ProxyPort; nathan@0: int UseCddb; nathan@0: char CddbHost[MAX_HOSTNAME]; nathan@0: int CddbPort; nathan@0: int AudioOutMode; nathan@0: int AbortAtEOL; nathan@0: int ReplayDisplay; nathan@0: int HideMainMenu; nathan@0: int KeepSelect; nathan@0: int TitleArtistOrder; nathan@30: int EnqueueSongs; nathan@0: public: nathan@0: cMP3Setup(void); nathan@0: }; nathan@0: nathan@0: extern cMP3Setup MP3Setup; nathan@0: nathan@0: #endif //___SETUP_MP3_H