#11545 HIGH 1.75-so: Scratch activity cannot record audio

Zarro Boogs per Child bugtracker at laptop.org
Fri Feb 17 12:09:47 EST 2012

#11545: Scratch activity cannot record audio
           Reporter:  greenfeld         |       Owner:                                   
               Type:  defect            |      Status:  new                              
           Priority:  high              |   Milestone:  1.75-software                    
          Component:  scratch-activity  |     Version:  Development build as of this date
         Resolution:                    |    Keywords:                                   
        Next_action:  diagnose          |    Verified:  0                                
Deployment_affected:                    |   Blockedby:                                   
           Blocking:                    |  

Comment(by saadia):

 I now have a fix for this problem - so the "Block cannot return" message
 does not appear. The pcm channel for capture was not opening when the pcm
 playback channel was already open due to enforcement of rate symmetry.
 Since the playback had been at the rate of 22050, the system wanted to
 open the capture channel at this same rate and was not able to.
 My temporary fix removes the  .symmetry = 1 field from the
 snd_soc_dai_drvr structure in mmp2_i2s.c. I have seen a patch to
 soc_core.c in the linux 3.0 tree that deals with flawed logic in enforcing
 symmetric rates. In 3.1 and 3.2 arm trees, the soc_core.c file has totally
 changed, and symmetric rates don't seem to be enforced.

Ticket URL: <http://dev.laptop.org/ticket/11545#comment:4>
One Laptop Per Child <http://laptop.org/>
OLPC bug tracking system

More information about the Bugs mailing list