mirror of
https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git
synced 2025-10-31 22:25:33 -04:00
jack: Add node support
This commit is contained in:
parent
433240c75c
commit
94345677dc
2 changed files with 6 additions and 0 deletions
|
|
@ -399,6 +399,9 @@ int pa__init(pa_module*m) {
|
|||
goto fail;
|
||||
}
|
||||
|
||||
pa_sink_new_data_set_create_node(&data, true);
|
||||
pa_node_new_data_set_fallback_name_prefix(&data.node_data, "jack");
|
||||
|
||||
u->sink = pa_sink_new(m->core, &data, PA_SINK_LATENCY);
|
||||
pa_sink_new_data_done(&data);
|
||||
|
||||
|
|
|
|||
|
|
@ -346,6 +346,9 @@ int pa__init(pa_module*m) {
|
|||
goto fail;
|
||||
}
|
||||
|
||||
pa_source_new_data_set_create_node(&data, true);
|
||||
pa_node_new_data_set_fallback_name_prefix(&data.node_data, "jack");
|
||||
|
||||
u->source = pa_source_new(m->core, &data, PA_SOURCE_LATENCY);
|
||||
pa_source_new_data_done(&data);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue