diff options
author | Orcan Ogetbil <oget.fedora@gmail.com> | 2010-12-09 18:30:17 +0000 |
---|---|---|
committer | Orcan Ogetbil <oget.fedora@gmail.com> | 2010-12-09 18:30:17 +0000 |
commit | 9f1903d96cccc7cb2f456d68d31446fa739905f7 (patch) | |
tree | 1c30a654f041dbb7614a2f8d64243b2e40336e0a /muse2/synti/simpledrums2 | |
parent | 703f47458a859c9559c13038246dd37529eba6ff (diff) |
Fix compiler warnings, and a typo in the transport max slider value.
Diffstat (limited to 'muse2/synti/simpledrums2')
-rw-r--r-- | muse2/synti/simpledrums2/simpledrums.cpp | 2 | ||||
-rw-r--r-- | muse2/synti/simpledrums2/ssplugin.cpp | 6 |
2 files changed, 4 insertions, 4 deletions
diff --git a/muse2/synti/simpledrums2/simpledrums.cpp b/muse2/synti/simpledrums2/simpledrums.cpp index 13f1d3e2..82f1bd07 100644 --- a/muse2/synti/simpledrums2/simpledrums.cpp +++ b/muse2/synti/simpledrums2/simpledrums.cpp @@ -1329,7 +1329,7 @@ static void* loadSampleThread(void* p) //static Mess* instantiate(int sr, const char* name) -static Mess* instantiate(int sr, QWidget*, QString* projectPathPtr, const char* name) +static Mess* instantiate(int sr, QWidget*, QString* /*projectPathPtr*/, const char* name) { printf("SimpleSynth sampleRate %d\n", sr); SimpleSynth* synth = new SimpleSynth(sr); diff --git a/muse2/synti/simpledrums2/ssplugin.cpp b/muse2/synti/simpledrums2/ssplugin.cpp index 28639a39..2d8382e6 100644 --- a/muse2/synti/simpledrums2/ssplugin.cpp +++ b/muse2/synti/simpledrums2/ssplugin.cpp @@ -95,13 +95,13 @@ void SS_initPlugins() SS_TRACE_IN //loadPluginDir(museGlobalLib + QString("/plugins")); - char* ladspaPath = getenv("LADSPA_PATH"); + const char* ladspaPath = getenv("LADSPA_PATH"); if (ladspaPath == 0) ladspaPath = "/usr/lib/ladspa:/usr/local/lib/ladspa"; - char* p = ladspaPath; + const char* p = ladspaPath; while (*p != '\0') { - char* pe = p; + const char* pe = p; while (*pe != ':' && *pe != '\0') pe++; |