mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-11-03 09:01:54 -05:00
pulse: move pulse protocol to module
This commit is contained in:
parent
17843ae7cb
commit
f0102fd490
9 changed files with 1227 additions and 917 deletions
|
|
@ -87,7 +87,6 @@ int sm_libcamera_monitor_start(struct sm_media_session *sess);
|
|||
int sm_bluez5_monitor_start(struct sm_media_session *sess);
|
||||
int sm_alsa_monitor_start(struct sm_media_session *sess);
|
||||
int sm_suspend_node_start(struct sm_media_session *sess);
|
||||
int sm_pulse_bridge_start(struct sm_media_session *sess);
|
||||
|
||||
int sm_policy_node_start(struct sm_media_session *sess);
|
||||
|
||||
|
|
@ -2023,6 +2022,15 @@ static void session_shutdown(struct impl *impl)
|
|||
pw_core_info_free(impl->this.info);
|
||||
}
|
||||
|
||||
static int sm_pulse_bridge_start(struct sm_media_session *sess)
|
||||
{
|
||||
if (pw_context_load_module(sess->context,
|
||||
"libpipewire-module-protocol-pulse",
|
||||
NULL, NULL) == NULL)
|
||||
return -errno;
|
||||
return 0;
|
||||
}
|
||||
|
||||
static void do_quit(void *data, int signal_number)
|
||||
{
|
||||
struct impl *impl = data;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue