Hi,

If you want to get both cards working under Jack, you'll need to start
up Jack using one of your cards, and for the other use alsa_in and
alsa_out 

alsa_in and alsa_out will allow you to create in's and out's in Jack's
connection list for a second (or third, fourth, fifth, however many
sound cards you have) card.

But for it to work you'll need to make sure that nothing else has
grabbed that sound card.  Also alsa_in and alsa_out need to run as the
same user as Jackd.  

If you are running Rivendell and want to do all your in / out through
Jack for all your sound cards then it means you will need to remove all
your sound cards from rdalsaconfig.  Configure Rivendell to start up the
Jack server pointing to one of your sound cards.  Use the option to have
the Rivendell daemons start up the Jack alsa_in and alsa_out clients. 
Restart your daemons and and you'll need to build a macro to route your
audio the way you want it all routed.

For starters to figure out the command line options you'll need and such
I'd suggest playing around with Jackd, alsa_in, and alsa_out from the
command line.  Then you can start up qjackctl and see what's happening
in the connection window.

Another option that I did once on a 2 sound card machine - I left one
sound card as ALSA available to Rivendell and the other one I ran
through Jack.  I don't recall how but I was able to get Rivendell to see
2 audio cards in the "audio resources" section this way - one card the
ALSA card, the other was Jack.

For getting it all working on boot, if you can get Rivendell to start up
Jack and all the Jack clients you need, have a macro that runs to create
all your Jack connections (use the Startup Cart option) then that should
cover what you need.  The trick is figuring out the configuration you
need in the first place.

Lorne Tyndale


> 
> 
> Hi again. /me bothering. again
> I have Rivendell running on CentOS7 with two soundcards.
> Rivendell + Alsa *is working*. I can assign one card to main playlist
> and another to aux1 playlist (so I can get CUE)
> Audio Resources show two cards( Card 0: Intel, Card 1: USB)
> 
> BUT...
> 
> I also need to launch a stream using VLC. We take some online radios
> (mainly news). Problem is rivendell grabbing alsa devices so no other
> app can use sound cards.
> 
> I did:
> # systemctl stop rivendell
> # /usr/bin/jackd -R -dalsa -dhw:Intel -r44100 -p1024 -n2 &
> # systemctl start rivendell
> I open rdadmin and I see just 1 Audio Resource (Card 0: JACK)
> On audio ports I see 1 card (Jack) and the rest is UNKNOWN.
> 
> How can I get the two cards working with jack?
> Also, how can I get this working on boot?
> 
> Thanks!
> _______________________________________________
> Rivendell-dev mailing list
> [email protected]
> http://caspian.paravelsystems.com/mailman/listinfo/rivendell-dev
_______________________________________________
Rivendell-dev mailing list
[email protected]
http://caspian.paravelsystems.com/mailman/listinfo/rivendell-dev

Reply via email to