mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-12-16 08:56:45 -05:00
parent
aeb435087b
commit
dd62b12a1f
1 changed files with 41 additions and 0 deletions
|
|
@ -3302,6 +3302,47 @@ int jack_client_close (jack_client_t *client)
|
||||||
return res;
|
return res;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
SPA_EXPORT
|
||||||
|
jack_intclient_t jack_internal_client_handle (jack_client_t *client,
|
||||||
|
const char *client_name, jack_status_t *status)
|
||||||
|
{
|
||||||
|
struct client *c = (struct client *) client;
|
||||||
|
spa_return_val_if_fail(c != NULL, 0);
|
||||||
|
if (status)
|
||||||
|
*status = JackNoSuchClient | JackFailure;
|
||||||
|
return 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
SPA_EXPORT
|
||||||
|
jack_intclient_t jack_internal_client_load (jack_client_t *client,
|
||||||
|
const char *client_name, jack_options_t options,
|
||||||
|
jack_status_t *status, ...)
|
||||||
|
{
|
||||||
|
struct client *c = (struct client *) client;
|
||||||
|
spa_return_val_if_fail(c != NULL, 0);
|
||||||
|
if (status)
|
||||||
|
*status = JackNoSuchClient | JackFailure;
|
||||||
|
return 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
SPA_EXPORT
|
||||||
|
jack_status_t jack_internal_client_unload (jack_client_t *client,
|
||||||
|
jack_intclient_t intclient)
|
||||||
|
{
|
||||||
|
struct client *c = (struct client *) client;
|
||||||
|
spa_return_val_if_fail(c != NULL, 0);
|
||||||
|
return JackFailure | JackNoSuchClient;
|
||||||
|
}
|
||||||
|
|
||||||
|
SPA_EXPORT
|
||||||
|
char *jack_get_internal_client_name (jack_client_t *client,
|
||||||
|
jack_intclient_t intclient)
|
||||||
|
{
|
||||||
|
struct client *c = (struct client *) client;
|
||||||
|
spa_return_val_if_fail(c != NULL, NULL);
|
||||||
|
return strdup(c->name);
|
||||||
|
}
|
||||||
|
|
||||||
SPA_EXPORT
|
SPA_EXPORT
|
||||||
int jack_client_name_size (void)
|
int jack_client_name_size (void)
|
||||||
{
|
{
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue