[alsa-devel] [alsa-plugins-1.17] Regression in JACK plugin

Jaroslav Kysela perex at perex.cz
Tue Oct 23 18:42:59 CEST 2018


Dne 23.10.2018 v 18:30 tet napsal(a):
> Sadly, still getting Unknown field playback_ports with f47466 reverted on alsa-plugins.git master.

I see it now:

There was added 50-jack.conf file in the newer plugins, so I think that
your config just override this global config (but it only overrides the
type, the rest is kept). Try to put only these lines to your ~/.asoundrc:

-----
pcm.!default {
  @func getenv
  vars [ PCM ]
  default "plug:jack"
}
-----

					Jaroslav

> 
> October 23, 2018 5:09 PM, "Jaroslav Kysela" <perex at perex.cz> wrote:
> 
>> Dne 23.10.2018 v 17:43 tet napsal(a):
>>
>>> alsa-lib is indeed 1.1.7 and the line number is 1286 in the err, apologies I've had the wrong lib
>>> checked out when sending.
>>>
>>> I've now ran git bisect and commit 24db7f5 is the earliest buildable alsa-plugins commit with the
>>> regression.
>>> To recap I have alsa-lib-1.17 and alsa-plugins-git v1.1.6.r4.24db7f5-1
>>>
>>> $ aplay test.wav
>>> ALSA lib pcm_plug.c:1286:(_snd_pcm_plug_open) Unknown field playback_ports
>>> aplay: main:828: audio open error: Invalid argument
>>>
>>> Sorry again for the confusion.
>>
>> Thanks. Could you give a short test with latest when you revert only
>> f4746667a4a2490f17c2a82b6f421bc3c9bd6de8 ?
>>
>> Jaroslav
>>
>>> October 23, 2018 3:44 PM, "Jaroslav Kysela" <perex at perex.cz> wrote:
>>>
>>>> Dne 23.10.2018 v 15:19 tet napsal(a):
>>>
>>> Hi, after updating to alsa-plugins-1.17 ALSA throws:
>>> "ALSA lib pcm_plug.c:1273:(_snd_pcm_plug_open) Unknown field playback_ports
>>>> The line number does not match to the latest sources:
>>>>
>>>> https://github.com/alsa-project/alsa-lib/blob/master/src/pcm/pcm_plug.c#L1286
>>>>
>>>> What is version of your alsa library?
>>>>
>>>> Jaroslav
>>>
>>> My ~/.asourdrc is working in 1.16 and it does not look like the syntax changed for the plugin when
>>> looking at the readme.
>>>
>>> pcm.jack {
>>> type plug slave.pcm {
>>> type jack
>>> capture_ports {
>>> 0 system:capture_1
>>> 1 system:capture_1
>>> }
>>> playback_ports {
>>> 0 system:playback_1
>>> 1 system:playback_2
>>> }
>>> }
>>> hint.description "JACK Audio Kit"
>>> }
>>> pcm.!default {
>>> @func getenv
>>> vars [ PCM ]
>>> default jack
>>> }
>>>
>>> Any ideas?
>>>
>>> _______________________________________________
>>> Alsa-devel mailing list
>>> Alsa-devel at alsa-project.org
>>> http://mailman.alsa-project.org/mailman/listinfo/alsa-devel
>>>> --
>>>> Jaroslav Kysela <perex at perex.cz>
>>>> Linux Sound Maintainer; ALSA Project; Red Hat, Inc.
>>>> _______________________________________________
>>>> Alsa-devel mailing list
>>>> Alsa-devel at alsa-project.org
>>>> http://mailman.alsa-project.org/mailman/listinfo/alsa-devel
>>
>> --
>> Jaroslav Kysela <perex at perex.cz>
>> Linux Sound Maintainer; ALSA Project; Red Hat, Inc.
>> _______________________________________________
>> Alsa-devel mailing list
>> Alsa-devel at alsa-project.org
>> http://mailman.alsa-project.org/mailman/listinfo/alsa-devel
> 


-- 
Jaroslav Kysela <perex at perex.cz>
Linux Sound Maintainer; ALSA Project; Red Hat, Inc.


More information about the Alsa-devel mailing list