Commit 55f40b6e authored by sletz's avatar sletz
Browse files

Cleanup in JackInternalClient.

git-svn-id: http://subversion.jackaudio.org/jack/jack2/trunk/jackmp@3283 0c269be4-1314-0410-8aa9-9f06e86f4224
parent 3d7ef30c
......@@ -226,13 +226,13 @@ int JackLoadableInternalClient2::Init(const char* so_name)
return 0;
}
JackLoadableInternalClient1::JackLoadableInternalClient1(JackServer* server, JackSynchro* table, const char* so_name, const char* object_data)
JackLoadableInternalClient1::JackLoadableInternalClient1(JackServer* server, JackSynchro* table, const char* object_data)
: JackLoadableInternalClient(server, table)
{
snprintf(fObjectData, JACK_LOAD_INIT_LIMIT, object_data);
}
JackLoadableInternalClient2::JackLoadableInternalClient2(JackServer* server, JackSynchro* table, const char* so_name, const JSList* parameters)
JackLoadableInternalClient2::JackLoadableInternalClient2(JackServer* server, JackSynchro* table, const JSList* parameters)
: JackLoadableInternalClient(server, table)
{
fParameters = parameters;
......
......@@ -114,7 +114,7 @@ class JackLoadableInternalClient1 : public JackLoadableInternalClient
public:
JackLoadableInternalClient1(JackServer* server, JackSynchro* table, const char* so_name, const char* object_data);
JackLoadableInternalClient1(JackServer* server, JackSynchro* table, const char* object_data);
virtual ~JackLoadableInternalClient1()
{}
......@@ -133,7 +133,7 @@ class JackLoadableInternalClient2 : public JackLoadableInternalClient
public:
JackLoadableInternalClient2(JackServer* server, JackSynchro* table, const char* so_name, const JSList* parameters);
JackLoadableInternalClient2(JackServer* server, JackSynchro* table, const JSList* parameters);
virtual ~JackLoadableInternalClient2()
{}
......
......@@ -158,14 +158,14 @@ int JackServer::Close()
int JackServer::InternalClientLoad(const char* client_name, const char* so_name, const char* objet_data, int options, int* int_ref, int* status)
{
JackLoadableInternalClient* client = new JackLoadableInternalClient1(JackServerGlobals::fInstance, GetSynchroTable(), so_name, objet_data);
JackLoadableInternalClient* client = new JackLoadableInternalClient1(JackServerGlobals::fInstance, GetSynchroTable(), objet_data);
assert(client);
return InternalClientLoadAux(client, so_name, client_name, options, int_ref, status);
}
int JackServer::InternalClientLoad(const char* client_name, const char* so_name, const JSList * parameters, int options, int* int_ref, int* status)
{
JackLoadableInternalClient* client = new JackLoadableInternalClient2(JackServerGlobals::fInstance, GetSynchroTable(), so_name, parameters);
JackLoadableInternalClient* client = new JackLoadableInternalClient2(JackServerGlobals::fInstance, GetSynchroTable(), parameters);
assert(client);
return InternalClientLoadAux(client, so_name, client_name, options, int_ref, status);
}
......
Supports Markdown
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