Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
TPF
jack2
Commits
0840eed8
Commit
0840eed8
authored
Feb 23, 2012
by
Stephane Letz
Browse files
Add missing methods in JackDebugClient.
parent
b0b3190d
Changes
3
Hide whitespace changes
Inline
Side-by-side
common/JackDebugClient.cpp
View file @
0840eed8
...
...
@@ -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"
);
...
...
common/JackDebugClient.h
View file @
0840eed8
...
...
@@ -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
);
...
...
macosx/Jackdmp.xcodeproj/project.pbxproj
View file @
0840eed8
...
...
@@ -6363,6 +6363,7 @@
isa = PBXProject;
buildConfigurationList = 4B699DD5097D427F00A18468 /* Build configuration list for PBXProject "Jackdmp" */;
compatibilityVersion = "Xcode 2.4";
developmentRegion = English;
hasScannedForEncodings = 1;
knownRegions = (
English,
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment