[LAU] ALSA - JACK via loopback device

Sebastian Rose s.rose at semkath.de
Sun Sep 23 16:37:36 UTC 2012


On 23/09/12 17:11, Joakim Hernberg wrote:
> On Sun, 23 Sep 2012 16:51:34 +0200
> Sebastian Rose <s.rose at semkath.de> wrote:
>
>> Silly: yes. But if I want to use Flashplayer and Skype at the same
>> time and don't want to use different soundcards (quite a recording
>> hassle for podcast production, for example) and use a decent audio
>> interface with a good microphone, I'm stuck with this choice.
>
> Here is what I'm using very successfully to run kde, skype and some
> games over jack/hdsp instead of the built in intel-hda.  It was written
> by falktx, of kxstudio fame.
>
> It comes in three parts:
>
> http://dl.dropbox.com/u/879835/.asoundrc
> http://dl.dropbox.com/u/879835/jacklib.py
> http://dl.dropbox.com/u/879835/aloop-daemon.py
>
> It actually makes audio on my system a dream to work with, and allows
> me to route it around as I wish.  One could conceivably create even
> more loopback devices for specific apps, but this has worked great so
> far.

Ah, thanks a lot for your asoundrc file. I was on the right track with 
my dmix setup, but I didn't think about the fact that the JACK loopback 
side for simultaneous playback needed format and rate specifications. So 
basically it goes dmix -> dsnoop for one direction and dsnoop -> dmix 
for the other (in case that there are multiple applications that 
simultaneously recording via the ALSA layer). Your setup doesn't cover 
the last part, but I grant it's a pathological case since nothing comes 
to mind (maybe Mumble and Skype simultaneously for whatever reason).


More information about the Linux-audio-user mailing list