skeleton for jack monitor and control code
This commit is contained in:
parent
2ee313b403
commit
c04de01546
|
@ -0,0 +1,29 @@
|
|||
/* -*- Mode: C ; c-basic-offset: 2 -*- */
|
||||
/*****************************************************************************
|
||||
*
|
||||
* DESCRIPTION:
|
||||
* JACK server monitor and control
|
||||
*
|
||||
*****************************************************************************/
|
||||
|
||||
#include "jack.h"
|
||||
#include "jack_proxy.h"
|
||||
|
||||
bool
|
||||
jack_init(
|
||||
void)
|
||||
{
|
||||
if (!jack_proxy_init())
|
||||
{
|
||||
return false;
|
||||
}
|
||||
|
||||
return true;
|
||||
}
|
||||
|
||||
void
|
||||
jack_uninit(
|
||||
void)
|
||||
{
|
||||
jack_proxy_uninit();
|
||||
}
|
|
@ -0,0 +1,22 @@
|
|||
/* -*- Mode: C ; c-basic-offset: 2 -*- */
|
||||
/*****************************************************************************
|
||||
*
|
||||
* DESCRIPTION:
|
||||
* JACK server monitor and control
|
||||
*
|
||||
*****************************************************************************/
|
||||
|
||||
#ifndef JACK_H__1C44BAEA_280C_4235_94AB_839499BDE47F__INCLUDED
|
||||
#define JACK_H__1C44BAEA_280C_4235_94AB_839499BDE47F__INCLUDED
|
||||
|
||||
#include "common.h"
|
||||
|
||||
bool
|
||||
jack_init(
|
||||
void);
|
||||
|
||||
void
|
||||
jack_uninit(
|
||||
void);
|
||||
|
||||
#endif /* #ifndef JACK_H__1C44BAEA_280C_4235_94AB_839499BDE47F__INCLUDED */
|
|
@ -9,27 +9,27 @@
|
|||
#include "jack_proxy.h"
|
||||
|
||||
bool
|
||||
jack_init(
|
||||
jack_proxy_init(
|
||||
void)
|
||||
{
|
||||
return false;
|
||||
}
|
||||
|
||||
void
|
||||
jack_uninit(
|
||||
jack_proxy_uninit(
|
||||
void)
|
||||
{
|
||||
}
|
||||
|
||||
bool
|
||||
jack_is_started(
|
||||
jack_proxy_is_started(
|
||||
bool * started_ptr)
|
||||
{
|
||||
return false;
|
||||
}
|
||||
|
||||
bool
|
||||
jack_get_client_pid(
|
||||
jack_proxy_get_client_pid(
|
||||
uint64_t client_id,
|
||||
pid_t * pid_ptr)
|
||||
{
|
||||
|
@ -37,7 +37,7 @@ jack_get_client_pid(
|
|||
}
|
||||
|
||||
bool
|
||||
jack_connect_ports(
|
||||
jack_proxy_connect_ports(
|
||||
uint64_t port1_id,
|
||||
uint64_t port2_id)
|
||||
{
|
||||
|
|
|
@ -12,24 +12,24 @@
|
|||
#include "common.h"
|
||||
|
||||
bool
|
||||
jack_init(
|
||||
jack_proxy_init(
|
||||
void);
|
||||
|
||||
void
|
||||
jack_uninit(
|
||||
jack_proxy_uninit(
|
||||
void);
|
||||
|
||||
bool
|
||||
jack_is_started(
|
||||
jack_proxy_is_started(
|
||||
bool * started_ptr);
|
||||
|
||||
bool
|
||||
jack_get_client_pid(
|
||||
jack_proxy_get_client_pid(
|
||||
uint64_t client_id,
|
||||
pid_t * pid_ptr);
|
||||
|
||||
bool
|
||||
jack_connect_ports(
|
||||
jack_proxy_connect_ports(
|
||||
uint64_t port1_id,
|
||||
uint64_t port2_id);
|
||||
|
||||
|
|
Loading…
Reference in New Issue