mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-09 00:04:56 +01:00
prepare for JACK meta-data API
This commit is contained in:
parent
65fa38103d
commit
b9fc616538
2 changed files with 29 additions and 0 deletions
|
|
@ -118,4 +118,17 @@ JPFUN(0, int, client_kill_thread, (jack_client_t* c, jack_native_thre
|
||||||
JPFUN(1, int, client_create_thread, \
|
JPFUN(1, int, client_create_thread, \
|
||||||
(jack_client_t* c, jack_native_thread_t *t, int p, int r, void *(*f)(void*), void *a), (c,t,p,r,f,a), 0)
|
(jack_client_t* c, jack_native_thread_t *t, int p, int r, void *(*f)(void*), void *a), (c,t,p,r,f,a), 0)
|
||||||
|
|
||||||
|
#if 0
|
||||||
|
/* <jack/metadata.h> */
|
||||||
|
JPFUN(0, int, set_property, (jack_client_t* c, jack_uuid_t s, const char* k, const char* v, const char* t), (c,s,k,v,t), -1)
|
||||||
|
JXFUN(0, int, get_property, (jack_uuid_t s, const char* k, char** v, char** t), (s,k,v,t), if (v) *v=NULL; if (t) *t=NULL; return -1;)
|
||||||
|
JVFUN(0, free_description, (jack_description_t* d, int f), (d,f),)
|
||||||
|
JXFUN(0, int, get_properties, (jack_uuid_t s, jack_description_t* d), (s,d), if (d) {d->properties = NULL; d->property_cnt = 0;} return -1;)
|
||||||
|
JXFUN(0, int, get_all_properties, (jack_description_t** d), (d), if (d) *d=NULL; return -1;)
|
||||||
|
JPFUN(0, int, remove_property, (jack_client_t* c, jack_uuid_t s, const char* k), (c,s,k), -1)
|
||||||
|
JPFUN(0, int, remove_properties, (jack_client_t* c, jack_uuid_t s), (c,s), -1)
|
||||||
|
JPFUN(0, int, remove_all_properties, (jack_client_t* c), (c), -1)
|
||||||
|
(jack_client_t* c, jack_native_thread_t *t, int p, int r, void *(*f)(void*), void *a), (c,t,p,r,f,a), 0)
|
||||||
|
#endif
|
||||||
|
|
||||||
#endif // end USE_WEAK_JACK
|
#endif // end USE_WEAK_JACK
|
||||||
|
|
|
||||||
|
|
@ -154,6 +154,19 @@ int have_libjack(void);
|
||||||
|
|
||||||
#define jack_client_open WJACK_client_client_openXXX
|
#define jack_client_open WJACK_client_client_openXXX
|
||||||
|
|
||||||
|
if 0
|
||||||
|
/* <jack/metadata.h> */
|
||||||
|
#define jack_set_property WJACK_set_property
|
||||||
|
#define jack_get_property WJACK_get_property
|
||||||
|
#define jack_free_description WJACK_free_description
|
||||||
|
#define jack_get_properties WJACK_get_properties
|
||||||
|
#define jack_get_all_properties WJACK_get_all_properties
|
||||||
|
#define jack_remove_property WJACK_remove_property
|
||||||
|
#define jack_remove_properties WJACK_remove_properties
|
||||||
|
#define jack_remove_all_properties WJACK_remove_all_properties
|
||||||
|
#define jack_set_property_change_callback WJACK_set_property_change_callback
|
||||||
|
#endif
|
||||||
|
|
||||||
#endif // end USE_WEAK_JACK
|
#endif // end USE_WEAK_JACK
|
||||||
|
|
||||||
#include <jack/jack.h>
|
#include <jack/jack.h>
|
||||||
|
|
@ -162,6 +175,9 @@ int have_libjack(void);
|
||||||
#include <jack/midiport.h>
|
#include <jack/midiport.h>
|
||||||
#include <jack/session.h>
|
#include <jack/session.h>
|
||||||
#include <jack/thread.h>
|
#include <jack/thread.h>
|
||||||
|
#if 0
|
||||||
|
#include <jack/metadata.h>
|
||||||
|
#endif
|
||||||
|
|
||||||
#ifdef USE_WEAK_JACK
|
#ifdef USE_WEAK_JACK
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue