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

Fix Jack thread terminate issues when using multiple output audio interfaces #35

Closed
wants to merge 3 commits into from

Conversation

mchehab
Copy link
Contributor

@mchehab mchehab commented Dec 28, 2020

When Jack is using multiple inputs, the minimum minimal of stereo outputs is two, as at least two FX channels will be generated.

Also, when the number of audio channels is odd, fluidsynth (tested with version 2.1.1 and 2.1.5) ends having some problem setting the connections and causing the Jack thread to terminate.

So, ensure that the number of channels will be an even number.

While here, disable setting the number of channels when Jack is set to use just one stereo output channel.


PS.: Please notice that I forked Qsynth from:
https://git.code.sf.net/p/qsynth/code

Which has two extra patches.

rncbc and others added 3 commits December 28, 2020 22:12
When Jack is using multiple inputs, the minimum minimal of stereo
outputs is two, as at least two FX channels will be generated.

Also, when the number of audio channels is odd, fluidsynth
(tested with version 2.1.1 and 2.1.5) ends having some problem
setting the connections and causing the Jack thread to terminate.

So, ensure that the number of channels will be an even number.

While here, disable setting the number of channels when Jack
is set to use just one stereo output channel.
@rncbc
Copy link
Owner

rncbc commented Dec 29, 2020

patch (#34) merged into develop commit 30fa713.

thanks

@rncbc rncbc closed this Dec 29, 2020
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