Author Topic: JACK with pulseaudio and alsa_in  (Read 643 times)

0 Members and 1 Guest are viewing this topic.

Offline violao

  • Newbie
  • *
  • Posts: 4
  • Karma: +0/-0
  • AVLinux User
JACK with pulseaudio and alsa_in
« on: March 16, 2019, 11:35:52 AM »
Hi,

I've been using Avlinux 2016 with Jack and alsa_in with multiple soundcards successfully.  Recently I installed 2018 version for testing purposes and found that alsa loopback is replaced with pulseaudio. Is it possible to use alsa_in with this setup or I would need to replace pulseaudio with alsa loopback, or eventually revert to older Avlinux release?

Many thanks
Mislav

Offline korakios

  • Hero Member
  • *****
  • Posts: 233
  • Karma: +9/-1
Re: JACK with pulseaudio and alsa_in
« Reply #1 on: March 16, 2019, 04:52:53 PM »
Hi and welcome !
If you use 2 soundcards it's very easy . AVLinux has already the pulse2jack bridge, so use jack for your main soundcard and in pulseaudio settings select the secondary.
To tweak pulse latency check
http://bandshed.net/forum/index.php?topic=4073

If you need more than 2 soundcards check zita-a2j utility ;)


Offline violao

  • Newbie
  • *
  • Posts: 4
  • Karma: +0/-0
  • AVLinux User
Re: JACK with pulseaudio and alsa_in
« Reply #2 on: March 16, 2019, 05:18:47 PM »
Thank you for your response. I'm sorry, but I see now that my question was not clear enough. I use multiple sound cards for multitrack recording (more than 2 channels). alsa_in utility successfully compensates for clock drift between different sound cards. Is there any way that this could be accomplished by pulseaudio?

Many thanks
Mislav

Offline korakios

  • Hero Member
  • *****
  • Posts: 233
  • Karma: +9/-1
Re: JACK with pulseaudio and alsa_in
« Reply #3 on: March 16, 2019, 06:31:54 PM »
I am sorry but never used alsa_in utility and can't help :(

Offline violao

  • Newbie
  • *
  • Posts: 4
  • Karma: +0/-0
  • AVLinux User
Re: JACK with pulseaudio and alsa_in
« Reply #4 on: March 17, 2019, 06:21:09 PM »
Thanks for your response. I see that you mentioned zita-a2j, which is effectively the same as alsa_in. May I conclude that zita works with pulseaudio?
Thanks

Offline GMaq

  • Administrator
  • Hero Member
  • *****
  • Posts: 3128
  • Karma: +47/-0
  • A/V 'Nixer
    • www.bandshed.net
Re: JACK with pulseaudio and alsa_in
« Reply #5 on: March 17, 2019, 08:10:34 PM »
Hi,

If you are using JACK and the new default pajackconnect setup with AV Linux zita-ajbridge works here for me. I use it to take 44.1khz from my default sound card and output 48khz to my bluetooth transmitter..

Offline violao

  • Newbie
  • *
  • Posts: 4
  • Karma: +0/-0
  • AVLinux User
Re: JACK with pulseaudio and alsa_in
« Reply #6 on: March 18, 2019, 06:53:31 AM »
Thanks for your response. I did a few tests and I can confirm that both alsa_in and zita clients connect successfully to JACK with pulseaudio (without alsa loopback). I have yet to test whether resampling works sufficiently good to avoid clock drift between different cards. I'll post the results here.

Thank you all for your responses so far.
Mislav