Re: [Jack-Devel] Jack2 fails when backend has no parameter...

PrevNext  Index
DateWed, 18 Jul 2012 23:25:06 +0300
From Nedko Arnaudov <[hidden] at arnaudov dot name>
ToStéphane Letz <[hidden] at grame dot fr>
Cc"[hidden] at lists dot jackaudio dot org Developers" <[hidden] at lists dot jackaudio dot org>
In-Reply-ToStéphane Letz [Jack-Devel] Jack2 fails when backend has no parameter...
Follow-UpStéphane Letz Re: [Jack-Devel] Jack2 fails when backend has no parameter...
Stéphane Letz <[hidden]> writes:

> Hi Nedko,
>
> This commit
> https://github.com/jackaudio/jack2/commit/bd9b764545eb424b95d816a3b122375f98f8f225
>
> breaks jack2 when backends are used *without* any parameter. In this
> case the new jackctl_create_param_list just returns NULL but your code
> treats that as an error case. It seems that removing the test solves
> the issue. Can you check the patch and possibly commit a fix on GIT?

I've fixed the bug slightly differently. Instead of skipping the error
checks I followed the good function interface design principle of not
merging error return with actual data return. Fix is commited as
3b9aab6bcad489741226cb026bea8ca1ad8c8819 and pushed to github master
branch. master branch is merged to ladi experimental. the fix is
cherry-picked from master branch to ladi branch. official github jack2
repo, ladi jack2 repo and repo.or.cz repos are updated.

Please confirm that my fix works for you. The test I did here was to
invoke "/usr/bin/jackd -d alsa".

-- 
Nedko Arnaudov <GnuPG KeyID: 5D1B58ED>
PrevNext  Index

1342643097.21129_0.ltw:2,a <87obncg6l9.fsf at arnaudov dot name>