[alsa-devel] Assert in pcm_params.c

Alan Horstmann gineera at aspect135.co.uk
Thu May 21 20:10:30 CEST 2015


On Thursday 21 May 2015 18:26, Takashi Iwai wrote:
> At Thu, 21 May 2015 16:56:04 +0100,
>
> Alan Horstmann wrote:
> > On Wednesday 20 May 2015 07:36, Takashi Iwai wrote:

<snip>

> > > In anyway, the fix would be simple, the patch like below.  Could you
> > > check whether it actually fixes your issue?
> >
> > I've had a positive confirmation that the patch removing the asserts does
> > fix the 'crash' in the reporter's system.  So instead it is simply a
> > failure of the snd_pcm_hw_params() call, which ultimately can be handled
> > in the users code.
>
> OK, I pushed the fix to git repo now.

Is this something that should go to stable so it is more likely to be 
backported to slower moving distros, eg Debian Jessie, or is that not how it 
works?

> > I do wonder (as does Raymond) why this fails.  Is 6-chans expected to
> > fail on 'front'?  In particular the earlier setting of
> > channels/rate/format does not fail?  Perhaps I will ask for RULES_DEBUG
> > enabled?
>
> Likely the alignment issue: 6 channels can't fit always with 128 byte
> constraint that are required by some hardware chips.

Hmm, it is only an issue with the pcms like front, surround though, not hw?

Regards

Alan


More information about the Alsa-devel mailing list