andrewrk / libsoundio

C library for cross-platform real-time audio input and output
http://libsound.io/
MIT License
1.93k stars 228 forks source link

Jack: unable to open device #265

Open dycide opened 2 years ago

dycide commented 2 years ago

When using the sio_sine example while running Jack I get:

Output device: system: playback_1, playback_2, playback_3, playback_4, playback_5, playback_6, playback_7, playback_8, playback_9, playback_10, playback_11, playback_12, playback_13, playback_14, playback_15, playback_16, playback_17, playback_18 unable to open device: unable to open device%

Looking at the messages in Qjackctl I get the following error:

port_name "SoundIoOutStream:(Invalid Channel)" already exists

running the sio_list_devices, I get a lot of (Invalid Channel) messages in the channel layouts section.

Interestingly enough, I can run and use the official jack example code without a problem. The sio_sine example also runs perfectly fine on my laptop with the exact same setup. (arch linux with jack using a RME FirefaceUCX)

When switching my backend to pulse audio all of that works perfectly fine.

Thanks in advance!