mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-11-04 13:30:12 -05:00
session: make a jack device
Add a jack device and activate it when we release the device (for JACK presumably). We need to work around some issues, jack does not allow us to connect yet when it asks to release the device so we need to wait a little and then connect.
This commit is contained in:
parent
b3d72fb82d
commit
34a1a988ba
3 changed files with 88 additions and 4 deletions
|
|
@ -95,6 +95,9 @@ struct impl {
|
|||
DBusConnection *conn;
|
||||
|
||||
struct pw_proxy *midi_bridge;
|
||||
|
||||
struct spa_source *jack_timeout;
|
||||
struct pw_proxy *jack_device;
|
||||
};
|
||||
|
||||
struct object {
|
||||
|
|
@ -1245,6 +1248,7 @@ static void start_services(struct impl *impl)
|
|||
bluez5_start_monitor(impl, &impl->bluez5_monitor);
|
||||
alsa_start_monitor(impl, &impl->alsa_monitor);
|
||||
alsa_start_midi_bridge(impl);
|
||||
alsa_start_jack_device(impl);
|
||||
v4l2_start_monitor(impl, &impl->v4l2_monitor);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue