You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Since in device config the .playback.channels is ignored for jack, then I suggest if it is default 0 to use the number of channels in the default device.
If .playback.channels is non-zero, then in ma_device_init__jack() simply create as many channels with (ma_jack_port_register_proc)() instead of basing it off the default device specs.
Autoconnect
in the context config add a .jack.autoconnect setting
in ma_device_start__jack() don't do calls to (ma_jack_connect_proc)() if .jack.autoconnect is false
The text was updated successfully, but these errors were encountered:
Thanks. I don't have a whole lot of experience with jack, but everything you mentioned here makes sense. I'm actually surprised it's not already doing the channel count thing. Just on the autoconnect thing, if jack.autoconnect is false, I wouldn't do any jack_connect() at all? Does that not need to be called at some point in order for audio to actually work?
Current behavior:
My default device has 8 channels. If I request 2 channels it creates a jack device with 8 outputs and auto-connect them all.
Desired behavior:
Details
With this config
The result is:
Proposed solution
Number of channels
.playback.channels
is ignored for jack, then I suggest if it is default 0 to use the number of channels in the default device..playback.channels
is non-zero, then inma_device_init__jack()
simply create as many channels with(ma_jack_port_register_proc)()
instead of basing it off the default device specs.Autoconnect
.jack.autoconnect
settingma_device_start__jack()
don't do calls to(ma_jack_connect_proc)()
if.jack.autoconnect
is falseThe text was updated successfully, but these errors were encountered: