Browse Source

main header changes needed for uuid

tags/v1.9.10
falkTX 11 years ago
parent
commit
d0932a8f21
2 changed files with 30 additions and 23 deletions
  1. +30
    -0
      common/jack/jack.h
  2. +0
    -23
      common/jack/session.h

+ 30
- 0
common/jack/jack.h View File

@@ -147,6 +147,29 @@ int jack_client_name_size (void) JACK_OPTIONAL_WEAK_EXPORT;
*/
char * jack_get_client_name (jack_client_t *client) JACK_OPTIONAL_WEAK_EXPORT;

/**
* Get the session ID for a client name.
*
* The session manager needs this to reassociate a client name to the session_id.
*
* The caller is responsible for calling jack_free(3) on any non-NULL
* returned value.
*/
char *jack_get_uuid_for_client_name (jack_client_t *client,
const char *client_name) JACK_WEAK_EXPORT;

/**
* Get the client name for a session_id.
*
* In order to snapshot the graph connections, the session manager needs to map
* session_ids to client names.
*
* The caller is responsible for calling jack_free(3) on any non-NULL
* returned value.
*/
char *jack_get_client_name_by_uuid (jack_client_t *client,
const char *client_uuid ) JACK_WEAK_EXPORT;

/**
* Load an internal client into the Jack server.
*
@@ -750,6 +773,13 @@ int jack_port_unregister (jack_client_t *client, jack_port_t *port) JACK_OPTIONA
*/
void * jack_port_get_buffer (jack_port_t *port, jack_nframes_t) JACK_OPTIONAL_WEAK_EXPORT;

/**
* @return the UUID of the jack_port_t
*
* @see jack_uuid_to_string() to convert into a string representation
*/
void jack_port_uuid (const jack_port_t *port, jack_uuid_t) JACK_OPTIONAL_WEAK_EXPORT;

/**
* @return the full name of the jack_port_t (including the @a
* "client_name:" prefix).


+ 0
- 23
common/jack/session.h View File

@@ -241,29 +241,6 @@ jack_session_command_t *jack_session_notify (
*/
void jack_session_commands_free (jack_session_command_t *cmds) JACK_WEAK_EXPORT;

/**
* Get the session ID for a client name.
*
* The session manager needs this to reassociate a client name to the session_id.
*
* The caller is responsible for calling jack_free(3) on any non-NULL
* returned value.
*/
char *jack_get_uuid_for_client_name (jack_client_t *client,
const char *client_name) JACK_WEAK_EXPORT;

/**
* Get the client name for a session_id.
*
* In order to snapshot the graph connections, the session manager needs to map
* session_ids to client names.
*
* The caller is responsible for calling jack_free(3) on any non-NULL
* returned value.
*/
char *jack_get_client_name_by_uuid (jack_client_t *client,
const char *client_uuid ) JACK_WEAK_EXPORT;

/**
* Reserve a client name and associate it with a UUID.
*


Loading…
Cancel
Save