comparison Plugins/Input/modplug/modplugbmp.cpp @ 329:53393c07735b trunk

[svn] Change config file location, take plugin.h out of Makefile.am
author chainsaw
date Sat, 24 Dec 2005 19:30:32 -0800
parents 3a2771d4140e
children 4c8545dc17c2
comparison
equal deleted inserted replaced
328:9466f03c92f8 329:53393c07735b
63 bool lValueB; 63 bool lValueB;
64 char junk; 64 char junk;
65 65
66 //I chose to use a separate config file to avoid conflicts 66 //I chose to use a separate config file to avoid conflicts
67 lConfigFilename = g_get_home_dir(); 67 lConfigFilename = g_get_home_dir();
68 lConfigFilename += "/.bmp/modplug-bmp.conf"; 68 lConfigFilename += "/.audacious/modplug-bmp.conf";
69 lConfigFile.open(lConfigFilename.c_str(), ios::in); 69 lConfigFile.open(lConfigFilename.c_str(), ios::in);
70 70
71 if(!lConfigFile.is_open()) 71 if(!lConfigFile.is_open())
72 return; 72 return;
73 73
771 ); 771 );
772 CSoundFile::SetResamplingMode(mModProps.mResamplingMode); 772 CSoundFile::SetResamplingMode(mModProps.mResamplingMode);
773 mPreampFactor = exp(mModProps.mPreampLevel); 773 mPreampFactor = exp(mModProps.mPreampLevel);
774 774
775 lConfigFilename = g_get_home_dir(); 775 lConfigFilename = g_get_home_dir();
776 lConfigFilename += "/.bmp/modplug-bmp.conf"; 776 lConfigFilename += "/.audacious/modplug-bmp.conf";
777 lConfigFile.open(lConfigFilename.c_str(), ios::out); 777 lConfigFile.open(lConfigFilename.c_str(), ios::out);
778 778
779 lConfigFile << "# Modplug BMP plugin config file\n" 779 lConfigFile << "# Modplug BMP plugin config file\n"
780 << "# Modplug (C) 1999 Olivier Lapicque\n" 780 << "# Modplug (C) 1999 Olivier Lapicque\n"
781 << "# XMMS port (C) 1999 Kenton Varda\n" 781 << "# XMMS port (C) 1999 Kenton Varda\n"