summaryrefslogtreecommitdiffstats
path: root/src/gui/studio/AudioPluginOSCGUI.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/studio/AudioPluginOSCGUI.cpp')
-rw-r--r--src/gui/studio/AudioPluginOSCGUI.cpp18
1 files changed, 9 insertions, 9 deletions
diff --git a/src/gui/studio/AudioPluginOSCGUI.cpp b/src/gui/studio/AudioPluginOSCGUI.cpp
index 3fd2ffb..857a454 100644
--- a/src/gui/studio/AudioPluginOSCGUI.cpp
+++ b/src/gui/studio/AudioPluginOSCGUI.cpp
@@ -164,13 +164,13 @@ AudioPluginOSCGUI::setGUIUrl(TQString url)
if (m_address)
lo_address_free(m_address);
- char *host = lo_url_get_hostname(url);
- char *port = lo_url_get_port(url);
+ char *host = lo_url_get_hostname(url.ascii());
+ char *port = lo_url_get_port(url.ascii());
m_address = lo_address_new(host, port);
free(host);
free(port);
- m_basePath = lo_url_get_path(url);
+ m_basePath = lo_url_get_path(url.ascii());
}
void
@@ -181,7 +181,7 @@ AudioPluginOSCGUI::show()
if (!m_address)
return ;
TQString path = m_basePath + "/show";
- lo_send(m_address, path, "");
+ lo_send(m_address, path.ascii(), "");
}
void
@@ -190,7 +190,7 @@ AudioPluginOSCGUI::hide()
if (!m_address)
return ;
TQString path = m_basePath + "/hide";
- lo_send(m_address, path, "");
+ lo_send(m_address, path.ascii(), "");
}
void
@@ -199,7 +199,7 @@ AudioPluginOSCGUI::quit()
if (!m_address)
return ;
TQString path = m_basePath + "/quit";
- lo_send(m_address, path, "");
+ lo_send(m_address, path.ascii(), "");
}
void
@@ -208,7 +208,7 @@ AudioPluginOSCGUI::sendProgram(int bank, int program)
if (!m_address)
return ;
TQString path = m_basePath + "/program";
- lo_send(m_address, path, "ii", bank, program);
+ lo_send(m_address, path.ascii(), "ii", bank, program);
}
void
@@ -217,7 +217,7 @@ AudioPluginOSCGUI::sendPortValue(int port, float value)
if (!m_address)
return ;
TQString path = m_basePath + "/control";
- lo_send(m_address, path, "if", port, value);
+ lo_send(m_address, path.ascii(), "if", port, value);
}
void
@@ -226,7 +226,7 @@ AudioPluginOSCGUI::sendConfiguration(TQString key, TQString value)
if (!m_address)
return ;
TQString path = m_basePath + "/configure";
- lo_send(m_address, path, "ss", key.data(), value.data());
+ lo_send(m_address, path.ascii(), "ss", key.ascii(), value.ascii());
}
}