elieserdejesus / JamTaba

Jamtaba is a software to play online music jam sessions.
http://www.jamtaba.com
244 stars 50 forks source link

Jamtaba2: src/hostapi/alsa/pa_linux_alsa.c:3636: PaAlsaStreamComponent_BeginPolling: Assertion `ret == self->nfds' failed. #1202

Open brylie opened 4 years ago

brylie commented 4 years ago

When starting JamTaba with JACK running, it crashes with the following error:

Jamtaba2: src/hostapi/alsa/pa_linux_alsa.c:3636: PaAlsaStreamComponent_BeginPolling: Assertion `ret == self->nfds' failed.

elieserdejesus commented 4 years ago

@brylie , I`m not a Linux user, so I never understand how jack works in Linuc. Can you explain how jack is used by musicians? Jack is something like "asio" for linux?

brylie commented 4 years ago

Yeah, JACK is basically an audio layer that lets you send audio/midi between various apps.

pljones commented 4 years ago

That's the portaudio code... It's also saying alsa, rather than jack. So are you sure you've got the settings right? I'm guessing it could be something like if JACK's got exclusive access to your soundcard, ALSA won't be able to open it.

brylie commented 4 years ago

Hm, good point. I'm not sure how to run JACK without an exclusive lock. In any case, I can run JamTaba when JACK is not running.

pljones commented 4 years ago

Actually I think I had it upside down - JACK's using ALSA to access the sound card. Too long since I gave up trying to do audio on Linux... I'll shut up :)

raymond-lemarron commented 4 years ago

@brylie , I`m not a Linux user, so I never understand how jack works in Linuc. Can you explain how jack is used by musicians? Jack is something like "asio" for linux?

if you want to know more on JACK read this document. https://libremusicproduction.com/articles/demystifying-jack-%E2%80%93-beginners-guide-getting-started-jack.html It is powerfull and used by many software : guitarix (guitar effects), cadence, hydrogen, and several multiplatform DAWs like Ardour, LMMS and obviously REAPER