Commit 0840eed8 authored by Stephane Letz's avatar Stephane Letz
Browse files

Add missing methods in JackDebugClient.

parent b0b3190d
......@@ -320,6 +320,12 @@ int JackDebugClient::PortIsMine(jack_port_id_t port_index)
return fClient->PortIsMine(port_index);
}
int JackDebugClient::PortRename(jack_port_id_t port_index, const char* name)
{
CheckClient("PortRename");
return fClient->PortRename(port_index, name);
}
//--------------------
// Context management
//--------------------
......@@ -341,6 +347,12 @@ int JackDebugClient::SetFreeWheel(int onoff)
return fClient->SetFreeWheel(onoff);
}
int JackDebugClient::ComputeTotalLatencies()
{
CheckClient("ComputeTotalLatencies");
return fClient->ComputeTotalLatencies();
}
/*
ShutDown is called:
- from the RT thread when Execute method fails
......@@ -521,6 +533,13 @@ int JackDebugClient::SetLatencyCallback(JackLatencyCallback callback, void *arg)
return fClient->SetLatencyCallback(callback, arg);
}
int JackDebugClient::SetProcessThread(JackThreadCallback fun, void *arg)
{
CheckClient("SetProcessThread");
return fClient->SetProcessThread(fun, arg);
}
jack_session_command_t* JackDebugClient::SessionNotify(const char* target, jack_session_event_type_t type, const char* path)
{
CheckClient("SessionNotify");
......
......@@ -83,6 +83,7 @@ class JackDebugClient : public JackClient
// Context
int SetBufferSize(jack_nframes_t buffer_size);
int SetFreeWheel(int onoff);
int ComputeTotalLatencies();
void ShutDown();
jack_native_thread_t GetThreadID();
......@@ -95,6 +96,7 @@ class JackDebugClient : public JackClient
int PortDisconnect(jack_port_id_t src);
int PortIsMine(jack_port_id_t port_index);
int PortRename(jack_port_id_t port_index, const char* name);
// Transport
int ReleaseTimebase();
......@@ -129,6 +131,9 @@ class JackDebugClient : public JackClient
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);
// RT Thread
int SetProcessThread(JackThreadCallback fun, void *arg);
// Session API
jack_session_command_t* SessionNotify(const char* target, jack_session_event_type_t type, const char* path);
......
......@@ -6363,6 +6363,7 @@
isa = PBXProject;
buildConfigurationList = 4B699DD5097D427F00A18468 /* Build configuration list for PBXProject "Jackdmp" */;
compatibilityVersion = "Xcode 2.4";
developmentRegion = English;
hasScannedForEncodings = 1;
knownRegions = (
English,
......
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