Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add server name support #189

Open
wants to merge 3 commits into
base: main
Choose a base branch
from
Open

Conversation

srperens
Copy link
Contributor

@srperens srperens commented Dec 5, 2023

This adds support for the client to connect to JACK server using a specific server name. Before it could only connect to a single JACK server using the default name. This support is needed if you want to have multiple JACK servers, perhaps to bind to many sound cards at the same time.

@@ -128,12 +128,17 @@ fn write_dynamic_loading_src<W: std::io::Write>(out: &mut W) -> Result<(), std::
f.type_name()
)?;
} else {
let mut f_name = f.name;
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This probably needs to be locked behind the dynamic loading feature as dynamic linking (write_dynamic_linking_src function) doesn't work due to having the same symbol name ("jack_client_open") and Rust not supporting varargs (rust-lang/rust#44930)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants