Re: #12498 NORM 13.1.0: [CL4] Scratch can not record audio normally, and show “Block cannot return”.

Zarro Boogs per Child bugtracker at laptop.org
Thu Feb 7 16:11:35 EST 2013


#12498: [CL4] Scratch can not record audio normally, and show “Block cannot
return”.
------------------------------------+---------------------------------------
           Reporter:  tomyin        |       Owner:  saadia       
               Type:  defect        |      Status:  assigned     
           Priority:  normal        |   Milestone:  13.1.0       
          Component:  not assigned  |     Version:  not specified
         Resolution:                |    Keywords:               
        Next_action:  never set     |    Verified:  0            
Deployment_affected:                |   Blockedby:               
           Blocking:                |  
------------------------------------+---------------------------------------
Changes (by saadia):

  * status:  new => assigned


Comment:

 This occurs because the call to snd_pcm_hw_refine at line 401 of
 sound/core/pcm_native.c returns EINVAL (-22).
 After turning on some of the RULES_DEBUG manifest in this file, I found
 that the RATE params snd interval is being reduced to an empty interval...

 I added information to snd_interal_refine to show what's happening.
 Compare this with running 'arecord -f dat -r 22050 tmp.dat' which records
 at 22050. Try the attached patch to get this debug info.

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


More information about the Bugs mailing list