Commit b2a6782c authored by sletz's avatar sletz
Browse files

Correct JackDebugClient

git-svn-id: http://subversion.jackaudio.org/jack/jack2/trunk/jackmp@1833 0c269be4-1314-0410-8aa9-9f06e86f4224
parent 2fdb960c
......@@ -498,5 +498,36 @@ JackClientControl* JackDebugClient::GetClientControl() const
return fClient->GetClientControl();
}
// Internal clients
char* JackDebugClient::GetInternalClientName(int ref)
{
CheckClient();
return fClient->GetInternalClientName(ref);
}
int JackDebugClient::InternalClientHandle(const char* client_name, jack_status_t* status)
{
CheckClient();
return fClient->InternalClientHandle(client_name, status);
}
int JackDebugClient::InternalClientLoad(const char* client_name, jack_options_t options, jack_status_t* status, jack_varargs_t* va)
{
CheckClient();
return fClient->InternalClientLoad(client_name, options, status, va);
}
void JackDebugClient::InternalClientUnload(int ref, jack_status_t* status)
{
CheckClient();
fClient->InternalClientUnload(ref, status);
}
jack_nframes_t JackDebugClient::Wait(int status)
{
CheckClient();
return fClient->Wait(status);
}
} // end of namespace
......@@ -121,6 +121,15 @@ class JackDebugClient : public JackClient
int SetPortRegistrationCallback(JackPortRegistrationCallback callback, void* arg);
int SetPortConnectCallback(JackPortConnectCallback callback, void *arg);
// Internal clients
char* GetInternalClientName(int ref);
int InternalClientHandle(const char* client_name, jack_status_t* status);
int InternalClientLoad(const char* client_name, jack_options_t options, jack_status_t* status, jack_varargs_t* va);
void InternalClientUnload(int ref, jack_status_t* status);
// Fons Adriaensen thread model
jack_nframes_t Wait(int status);
JackClientControl* GetClientControl() const;
void CheckClient() const;
......
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