Remove openAV references from the code

main
Georg Krause 2019-06-09 10:53:06 +02:00
parent e592d5dea4
commit 23839e4a91
10 changed files with 31 additions and 31 deletions

View File

@ -32,7 +32,7 @@ DOXYFILE_ENCODING = UTF-8
# title of most generated pages and in a few other places.
# The default value is: My Project.
PROJECT_NAME = "openAV - Loopp"
PROJECT_NAME = "Loopp"
# The PROJECT_NUMBER tag can be used to enter a project or revision number. This
# could be handy for archiving the generated documentation or if some version

View File

@ -1,6 +1,6 @@
Thanks for looking into packaging Loopp:
OpenAV couldn't possibly package for every distro,
We couldn't possibly package for every distro,
your work is apprecatied!
CMake is used as the build system, checkout the compile.sh

View File

@ -1,4 +1,4 @@
project( 'openav_loopp', ['c','cpp'],
project( 'loopp', ['c','cpp'],
default_options : [
'cpp_std=c++11',
])

View File

@ -2,7 +2,7 @@
<application>
<id type="desktop">loopp.desktop</id>
<licence>CC0</licence>
<name>OpenAV Loopp</name>
<name>Loopp</name>
<description>
<p>
Loopp is a music creation tool, intended for live use. It
@ -22,8 +22,8 @@
</description>
<screenshots>
<!-- the width and height are optional, but suggested -->
<screenshot type="default" width="1110" height="650">https://raw.github.com/harryhaaren/openAV-Loopp/master/resources/screenshots/1.0.png</screenshot>
<screenshot type="default" width="1110" height="650">https://git.netzspielplatz.de/soundship/loopp/raw/master/resources/screenshots/1.2.png</screenshot>
</screenshots>
<url type="homepage">http://openavproductions.com/loopp</url>
<url type="homepage">http://loopp.soundship.de/</url>
<updatecontact>zbyszek@in.waw.pl</updatecontact>
</application>

View File

@ -52,7 +52,7 @@ DiskReader::DiskReader()
int DiskReader::loadPreferences()
{
stringstream s;
s << getenv("HOME") << "/.config/openAV/loopp/loopp.prfs";
s << getenv("HOME") << "/.config/soundship/loopp/loopp.prfs";
std::ifstream sampleFile( s.str().c_str(), std::ios_base::in|std::ios_base::ate);
long file_length = sampleFile.tellg();
@ -73,7 +73,7 @@ int DiskReader::loadPreferences()
if ( resample ) {
resampleQuality = resample->valueint;
if ( resampleQuality == 0 ) {
LOOPP_NOTE("Using Linear resampling, may reduce quality. Check .config/openAV/loopp/loopp.prfs");
LOOPP_NOTE("Using Linear resampling, may reduce quality. Check .config/soundship/loopp/loopp.prfs");
}
}
cJSON* ctlrs = cJSON_GetObjectItem( preferencesJson, "defaultControllers" );
@ -85,7 +85,7 @@ int DiskReader::loadPreferences()
if( ctlr ) {
LOOPP_NOTE("Loading controller %s", ctlr->valuestring);
stringstream s;
s << getenv("HOME") << "/.config/openAV/loopp/controllers/" << ctlr->valuestring;
s << getenv("HOME") << "/.config/soundship/loopp/controllers/" << ctlr->valuestring;
gui->addMidiControllerToSetup( s.str() );
}
}
@ -131,7 +131,7 @@ int DiskReader::loadPreferences()
delete[] sampleString;
} else {
// empty file / file no exists:
LOOPP_WARN("Preferences, file doesn't exist: ~/.config/openAV/loopp/loopp.prefs");
LOOPP_WARN("Preferences, file doesn't exist: ~/.config/soundship/loopp/loopp.prefs");
// so write default file
gui->getDiskWriter()->writeDefaultConfigToUserHome();

View File

@ -55,38 +55,38 @@ DiskWriter::DiskWriter()
sessionName = "session";
foldersCreated = false;
// create .config/openAV/loopp/ directory
// create .config/soundship/loopp/ directory
stringstream dotConfig;
dotConfig << getenv("HOME") << "/.config/openAV/";
dotConfig << getenv("HOME") << "/.config/sounudship/";
int dotConfigDir = mkdir( dotConfig.str().c_str(), S_IRWXU | S_IRWXG | S_IROTH | S_IXOTH );
if ( errno == EEXIST ) {
//LOOPP_NOTE("dotConfigDir exists");
} else if ( dotConfigDir ) {
LOOPP_WARN("Error creating dotConfigDir: %s", strerror(errno));
} else {
LOOPP_NOTE("Creating .config/openAV/ directory");
LOOPP_NOTE("Creating .config/soundship/ directory");
}
stringstream dotConfigLoopp;
dotConfigLoopp << getenv("HOME") << "/.config/openAV/loopp";
dotConfigLoopp << getenv("HOME") << "/.config/soundship/loopp";
int dotConfigLooppDir = mkdir( dotConfigLoopp.str().c_str(), S_IRWXU | S_IRWXG | S_IROTH | S_IXOTH );
if ( errno == EEXIST ) {
//LOOPP_NOTE("dotConfigLooppDir exists");
} else if ( dotConfigLooppDir ) {
LOOPP_WARN("Error creating dotConfigLooppDir: %s", strerror(errno));
} else {
LOOPP_NOTE("Creating .config/openAV/loopp directory");
LOOPP_NOTE("Creating .config/soundship/loopp directory");
}
stringstream dotConfigCtlr;
dotConfigCtlr << getenv("HOME") << "/.config/openAV/loopp/controllers/";
dotConfigCtlr << getenv("HOME") << "/.config/soundship/loopp/controllers/";
int dotConfigCtlrDir = mkdir( dotConfigCtlr.str().c_str(), S_IRWXU | S_IRWXG | S_IROTH | S_IXOTH );
if ( errno == EEXIST ) {
//LOOPP_NOTE("dotConfigCtlrDir exists");
} else if ( dotConfigCtlrDir ) {
LOOPP_WARN("Error creating dotConfigCtlrDir: %s", strerror(errno));
} else {
LOOPP_NOTE("Creating .config/openAV/loopp directory");
LOOPP_NOTE("Creating .config/soundship/loopp directory");
}
}
@ -220,7 +220,7 @@ int DiskWriter::writeControllerFile( Controller* c )
// write the sample JSON node to <samplePath>/sample.cfg
stringstream controllerCfgPath;
controllerCfgPath << getenv("HOME") << "/.config/openAV/loopp/controllers/" << g->getName() << ".ctlr";
controllerCfgPath << getenv("HOME") << "/.config/soundship/loopp/controllers/" << g->getName() << ".ctlr";
ifstream infile( controllerCfgPath.str().c_str() );
if ( infile.good() ) {
@ -236,7 +236,7 @@ int DiskWriter::writeControllerFile( Controller* c )
if ( name ) {
// clear the filename
controllerCfgPath.str( "" );
controllerCfgPath << getenv("HOME") << "/.config/openAV/loopp/controllers/" << name << ".ctlr";
controllerCfgPath << getenv("HOME") << "/.config/soundship/loopp/controllers/" << name << ".ctlr";
LOOPP_NOTE( "New .ctlr filename %s", controllerCfgPath.str().c_str() );
} else {
LOOPP_NOTE("No name entered for .ctlr file, canceling!");
@ -478,9 +478,9 @@ void DiskWriter::writeDefaultConfigToUserHome()
// cout << endl << cJSON_Print( prfs ) << endl << endl;
// write JSON to .config/openAV/loopp/loopp.prfs
// write JSON to .config/soundship/loopp/loopp.prfs
stringstream f;
f << getenv("HOME") << "/.config/openAV/loopp/loopp.prfs";
f << getenv("HOME") << "/.config/soundship/loopp/loopp.prfs";
ofstream outFile;
outFile.open ( f.str().c_str() );

View File

@ -16,8 +16,8 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
#ifndef OPENAV_DSP_DBMETER_H
#define OPENAV_DSP_DBMETER_H
#ifndef LOOPP_DSP_DBMETER_H
#define LOOPP_DSP_DBMETER_H
#include <math.h>
@ -90,5 +90,5 @@ private:
float fvbargraph1;
};
#endif // OPENAV_DSP_DBMETER_H
#endif // LOOPP_DSP_DBMETER_H

View File

@ -17,8 +17,8 @@
*/
#ifndef OPENAV_DSP_REVERB_H
#define OPENAV_DSP_REVERB_H
#ifndef LOOPP_DSP_REVERB_H
#define LOOPP_DSP_REVERB_H
#include <math.h>
#include <cmath>
@ -499,4 +499,4 @@ private:
}
};
#endif // OPENAV_DSP_REVERB_H
#endif // LOOPP_DSP_REVERB_H

View File

@ -16,8 +16,8 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
#ifndef OPENAV_DSP_SIDECHAIN_GAIN_H
#define OPENAV_DSP_SIDECHAIN_GAIN_H
#ifndef LOOPP_DSP_SIDECHAIN_GAIN_H
#define LOOPP_DSP_SIDECHAIN_GAIN_H
#include <stdio.h>
#include <stdlib.h>
@ -72,4 +72,4 @@ private:
float currentTarget;
};
#endif // OPENAV_DSP_SIDECHAIN_GAIN_H
#endif // LOOPP_DSP_SIDECHAIN_GAIN_H

View File

@ -153,7 +153,7 @@ static void selectLoadController(Fl_Widget* w, void* data)
fnfc.filter("Controllers\t*.ctlr");
stringstream s;
s << getenv("HOME") << "/.config/openAV/loopp/controllers/";
s << getenv("HOME") << "/.config/soundship/loopp/controllers/";
fnfc.directory( s.str().c_str() ); // default directory to use
// Show native chooser
switch ( fnfc.show() ) {