2010-05-17 04:22:53     Task #4163 partially breaks ALSA

Document created by Aaronwu Employee on Aug 22, 2013
Version 1Show Document
  • View in full screen mode

2010-05-17 04:22:53     Task #4163 partially breaks ALSA

Ruud Althuizen (NETHERLANDS)

Message: 89478   

 

This thread continues my comment on task #4163

 

 

 

While testing pocketsphinx_continuous with alsa support I hit an assertion (contained in the default case) because the CTL_PLAYBACK_ROUTE case can no longer be reached.

 

Is this something that I'm doing wrong or is that situation not considered?

 

--

Ruud

QuoteReplyEditDelete

 

 

2010-05-17 19:27:09     Re: Task #4163 partially breaks ALSA

Mike Frysinger (UNITED STATES)

Message: 89489   

 

you need to describe the actual hardware and software stacks you're using.  versions/parts/etc...  the task in question has no real meaning since it's merely upgrading to a newer version.

QuoteReplyEditDelete

 

 

2010-05-18 08:15:29     Re: Task #4163 partially breaks ALSA

Ruud Althuizen (NETHERLANDS)

Message: 89510   

 

Sorry, I didn't realize the task did more than commit one thing:

 

r7549 of trunk/lib/alsa-lib/alsa-lib-1.0.18/src/mixer/simple_none.c (line 1421) is at fault (for me). This is with alsa-lib-1.0.18, sphinxbase-0.6 (local port) and pocketsphinx-0.6  (local port). That is with uClinux 2009R1.1-RC4 on a BF561-r0.5.

QuoteReplyEditDelete

 

 

2010-05-18 11:14:19     Re: Task #4163 partially breaks ALSA

Mike Frysinger (UNITED STATES)

Message: 89512   

 

you still havent said what audio codec you're using

QuoteReplyEditDelete

 

 

2010-05-19 05:43:41     Re: Task #4163 partially breaks ALSA

Ruud Althuizen (NETHERLANDS)

Message: 89540   

 

I'm not sure what you mean by this, but I'll try:

 

    AD1836AAS chip

    TDM interface

    3 stereos (instead of 5.1 channels)

    SPORT 0

    SPI channel bit 4

    GPIO-based bitbanging I2C

 

QuoteReplyEditDelete

 

 

2010-05-24 22:46:17     Re: Task #4163 partially breaks ALSA

Cliff Cai (CHINA)

Message: 89810   

 

Hi Ruud,

 

Have you tried removing the "#if 0" for your case?

 

 

 

Cliff

QuoteReplyEditDelete

 

 

2010-06-08 08:59:32     Re: Task #4163 partially breaks ALSA

Ruud Althuizen (NETHERLANDS)

Message: 90192   

 

Yes I have, and broke the build. So I added this line to the Makefile (of uClinux):

 

LDFLAGS += -lm

 

And suddenly everything worked, that is because it needs sqrt(). I originally started this thread to try and figure out why this part was commented out to begin with as I don't want to introduce any bugs by disabling this 'fix'.

Attachments

    Outcomes