Commit 23839e4a authored by Georg Krause's avatar Georg Krause

Remove openAV references from the code

parent e592d5de
Pipeline #316 passed with stages
in 1 minute and 59 seconds
......@@ -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
......
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
......
project( 'openav_loopp', ['c','cpp'],
project( 'loopp', ['c','cpp'],
default_options : [
'cpp_std=c++11',
])
......
......@@ -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>
......@@ -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();
......
......@@ -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() );
......
......@@ -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
......@@ -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
......@@ -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
......@@ -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() ) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment