[LAU] alsa-jack plugin... some patches.

Robin Gareus robin at gareus.org
Fri Oct 29 12:42:48 UTC 2010

On 10/29/10 13:07, Paul Davis wrote:
> On Thu, Oct 28, 2010 at 11:08 PM, Robin Gareus <robin at gareus.org> wrote:
>> On 10/29/10 05:00, Paul Davis wrote:
>>> On Thu, Oct 28, 2010 at 10:47 PM, Robin Gareus <robin at gareus.org> wrote:
>>>> ..but I could not get your .asoundrc working. It fails with
>>>> [AO_ALSA] alsa-lib: pcm_hw.c:1293:(snd_pcm_hw_open) open
>>>> '/dev/snd/pcmC0D0p' failed (-16): Device or resource busy
>>> you're not opening the JACK device, clearly - this message references
>>> /dev/snd/pcmC0D0p
>> I hazard a guess that it's just mplayer with a misleading error message.
> i don't think so. i think its you not telling mplayer to use the
> correct ALSA device.
>> I prefixed torben's config with
>> pcm.!default {
>>  type plug
>>  slave { pcm "jack" }
>> }
> which confirms my guess since this now makes the default ALSA device
> be the JACK one, and thus apps which open "default" (which they should
> if no other device name is given by the user) will get the JACK one.

Mmh I don't follow. You're say it should work, no?

The problem here is the parsing of the inline 'pcm { .. }' with
@args and $NAME.. If i remove this part or simply do a separate
definition of pcm.jackraw instead of using it inline in pcm.jack it works.

But then the jack-ports are just named "alsa-jack_P*" or "(null)_P*" and
I don't see the client name(s).

More information about the Linux-audio-user mailing list