mirror of
https://gitlab.freedesktop.org/pipewire/pipewire
synced 2024-10-15 04:12:29 +00:00
jack: also implement drop_rt in our custom thread utils
This commit is contained in:
parent
3a7d6b74f2
commit
b178d222d5
|
@ -2576,11 +2576,18 @@ static int impl_acquire_rt(void *object, struct spa_thread *thread, int priority
|
|||
return spa_thread_utils_acquire_rt(c->context.old_thread_utils, thread, priority);
|
||||
}
|
||||
|
||||
static int impl_drop_rt(void *object, struct spa_thread *thread)
|
||||
{
|
||||
struct client *c = (struct client *) object;
|
||||
return spa_thread_utils_drop_rt(c->context.old_thread_utils, thread);
|
||||
}
|
||||
|
||||
static struct spa_thread_utils_methods thread_utils_impl = {
|
||||
SPA_VERSION_THREAD_UTILS_METHODS,
|
||||
.create = impl_create,
|
||||
.join = impl_join,
|
||||
.acquire_rt = impl_acquire_rt,
|
||||
.drop_rt = impl_drop_rt,
|
||||
};
|
||||
|
||||
static jack_port_type_id_t string_to_type(const char *port_type)
|
||||
|
|
Loading…
Reference in a new issue