summaryrefslogtreecommitdiff
path: root/muse2/synti/simpledrums/ssplugin.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'muse2/synti/simpledrums/ssplugin.cpp')
-rw-r--r--muse2/synti/simpledrums/ssplugin.cpp14
1 files changed, 7 insertions, 7 deletions
diff --git a/muse2/synti/simpledrums/ssplugin.cpp b/muse2/synti/simpledrums/ssplugin.cpp
index 0efbc55e..4e38129e 100644
--- a/muse2/synti/simpledrums/ssplugin.cpp
+++ b/muse2/synti/simpledrums/ssplugin.cpp
@@ -34,7 +34,7 @@ static void loadPluginLib(QFileInfo* fi)
{
SS_TRACE_IN
if (SS_DEBUG_LADSPA) {
- printf("loadPluginLib: %s\n", fi->fileName().latin1());
+ printf("loadPluginLib: %s\n", fi->fileName().toLatin1());
}
void* handle = dlopen(fi->filePath().ascii(), RTLD_NOW);
if (handle == 0) {
@@ -159,7 +159,7 @@ LadspaPlugin::LadspaPlugin(const QFileInfo* f,
}
/*if (SS_DEBUG_LADSPA) {
- printf("Label: %s\tLib: %s\tPortCount: %d\n", this->label().latin1(), this->lib().latin1(), plugin->PortCount);
+ printf("Label: %s\tLib: %s\tPortCount: %d\n", this->label().toLatin1(), this->lib().toLatin1(), plugin->PortCount);
printf("LADSPA_PORT_CONTROL|LADSPA_PORT_INPUT: %d\t", pIdx.size());
printf("Input ports: %d\t", iIdx.size());
printf("Output ports: %d\n\n", oIdx.size());
@@ -182,7 +182,7 @@ LadspaPlugin::~LadspaPlugin()
stop();
}
if (handle) {
- SS_DBG_LADSPA2("Cleaning up ", this->label().latin1());
+ SS_DBG_LADSPA2("Cleaning up ", this->label().toLatin1());
plugin->cleanup(handle);
}
@@ -206,7 +206,7 @@ bool LadspaPlugin::instantiate()
handle = plugin->instantiate(plugin, SS_samplerate);
success = (handle != NULL);
if (success)
- SS_DBG_LADSPA2("Plugin instantiated", label().latin1());
+ SS_DBG_LADSPA2("Plugin instantiated", label().toLatin1());
return success;
}
@@ -255,9 +255,9 @@ void LadspaPlugin::stop()
{
SS_TRACE_IN
if (handle) {
- SS_DBG_LADSPA2("Trying to stop plugin", label().latin1());
+ SS_DBG_LADSPA2("Trying to stop plugin", label().toLatin1());
if (plugin->deactivate) {
- SS_DBG_LADSPA2("Deactivating ", label().latin1());
+ SS_DBG_LADSPA2("Deactivating ", label().toLatin1());
plugin->deactivate(handle);
active = false;
}
@@ -355,7 +355,7 @@ Plugin* PluginList::find(const QString& file, const QString& name)
return *i;
}
}
- printf("Plugin <%s> not found\n", name.latin1());
+ printf("Plugin <%s> not found\n", name.toLatin1());
SS_TRACE_OUT
return 0;
}