Commit 626570de authored by sletz's avatar sletz
Browse files

Add missing methods in JackInternalClientChannel.h

git-svn-id: http://subversion.jackaudio.org/jack/jack2/trunk/jackmp@3026 0c269be4-1314-0410-8aa9-9f06e86f4224
parent 5ab2f8e2
......@@ -20,8 +20,6 @@ Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
#ifndef __JackAudioAdapter__
#define __JackAudioAdapter__
#include "jack.h"
#include "ringbuffer.h"
#include "JackAudioAdapterInterface.h"
namespace Jack
......
......@@ -17,11 +17,8 @@ Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
*/
#if defined(HAVE_CONFIG_H)
#include "config.h"
#endif
#include "JackAudioAdapter.h"
#include "JackConstants.h"
#include <stdio.h>
namespace Jack
......
......@@ -98,6 +98,10 @@ class JackInternalClientChannel : public detail::JackClientChannelInterface
{
*result = fEngine->PortDisconnect(refnum, src, dst);
}
void PortRename(int refnum, jack_port_id_t port, const char* name, int* result)
{
*result = fEngine->PortRename(refnum, port, name);
}
void SetBufferSize(jack_nframes_t buffer_size, int* result)
{
......@@ -117,6 +121,26 @@ class JackInternalClientChannel : public detail::JackClientChannelInterface
{
*result = fServer->SetTimebaseCallback(refnum, conditional);
}
void GetInternalClientName(int refnum, int int_ref, char* name_res, int* result)
{
*result = fEngine->GetInternalClientName(int_ref, name_res);
}
void InternalClientHandle(int refnum, const char* client_name, int* status, int* int_ref, int* result)
{
*result = fEngine->InternalClientHandle(client_name, status, int_ref);
}
void InternalClientLoad(int refnum, const char* client_name, const char* so_name, const char* objet_data, int options, int* status, int* int_ref, int* result)
{
*result = fServer->InternalClientLoad(client_name, so_name, objet_data, options, int_ref, status);
}
void InternalClientUnload(int refnum, int int_ref, int* status, int* result)
{
*result = fEngine->InternalClientUnload(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