mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-10-31 22:25:38 -04:00
media-session: disable JACK device by default
It is most likely to fail right now.
This commit is contained in:
parent
44d8a0a4c1
commit
739f3b9f7f
2 changed files with 6 additions and 3 deletions
|
|
@ -1,8 +1,11 @@
|
|||
# ALSA monitor config file #
|
||||
|
||||
properties = {
|
||||
# Create a JACK device.
|
||||
#alsa.jack-device = true
|
||||
# Create a JACK device. This is not enabled by default because
|
||||
# it requires that the PipeWire JACK replacement libraries are
|
||||
# not used by the session manager, in order to be able to
|
||||
# connect to the real JACK server.
|
||||
#alsa.jack-device = false
|
||||
}
|
||||
|
||||
rules = [
|
||||
|
|
|
|||
|
|
@ -1047,7 +1047,7 @@ int sm_alsa_monitor_start(struct sm_media_session *session)
|
|||
spa_list_init(&impl->device_list);
|
||||
spa_device_add_listener(impl->monitor, &impl->listener, &alsa_udev_events, impl);
|
||||
|
||||
if ((str = pw_properties_get(impl->props, "alsa.jack-device")) == NULL ||
|
||||
if ((str = pw_properties_get(impl->props, "alsa.jack-device")) != NULL &&
|
||||
pw_properties_parse_bool(str)) {
|
||||
if ((res = alsa_start_jack_device(impl)) < 0)
|
||||
goto out_free;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue