I am using lychee kernel 3.0.8, android 4.0.4.

In kernel i select ALSA codec drivers.

--- Advanced Linux Sound 
Architecture                                                                 
│ │  
  │ │                               < >   Sequencer 
support                                                                         
      
│ │  
  │ │                               < >   OSS Mixer 
API                                                                             
      
│ │  
  │ │                               < >   OSS PCM (digital audio) 
API                                                                     │ 
│  
  │ │                               < >   HR-timer backend 
support                                                                        
│ │  
  │ │                               [ ]   Dynamic device file minor 
numbers                                                               │ │  
  │ │                               [*]   Support old ALSA 
API                                                                            
│ │  
  │ │                               [*]   Verbose procfs 
contents                                                                        
 
│ │  
  │ │                               [ ]   Verbose 
printk                                                                          
        
│ │  
  │ │                               [ ]   
Debug                                                                           
                
│ │  
  │ │                               [ ]   Generic sound devices  
--->                                                                     │ 
│  
  │ │                               [*]   ARM sound devices  
--->                                                                         
│ │  
  │ │                               [*]   USB sound devices  
--->                                                                         
│ │  
  │ │                               <*>   ALSA for SoC audio support  
--->                                                                │ │  
  │ │                                                                   --- 
ALSA for SoC audio 
support                                                                        
│ │  
  │ │                                                                    [ 
       ]   Support LZO compression for register 
caches                                                     │ │  
  │ │                                                                   
<*>   SOUND driver for 
sun4i                                                                          
│ │  
  │ │                                                                    
<*>     APB On-Chip 
Codec                                                                           
  
│ │  
  │ │                                                                     
<*>     HDMI Audio for the ReuuiMlla SUN4I 
chips                                                      │ │  
  │ │                                                                     
<M>     sun4i On-Chip 
spdif                                                                           
│ │  
  │ │                                                                     
<M>     SoC i2s interface for the ReuuiMlla SUN4I 
chips                                               │ │  
  │ │                                                                       
< >   Build all ASoC CODEC 
drivers                                                                    
│ │  
  │ 
│                                                                               
                                                      
│ │  
  │ │                                                                       
                                                                              
│ │  
  │ │                                       

and also .mp3 is playing fine from NAND ,so there is no hardware issue.

i got Android home screen by booting from sd card.

 But once i play .mp3 files i got the error.

W/AudioPolicyManagerBase(   91): getOutput() could not find output for 
stream 1, samplingRate 0, format 0, channels 3, flags 0
W/AudioPolicyManagerBase(   91): getOutput() could not find output for 
stream 1, samplingRate 0, format 0, channels 3, flags 0
W/AudioPolicyManagerBase(   91): getOutput() could not find output for 
stream 1, samplingRate 0, format 0, channels 3, flags 0
E/SoundPool(  155): Error creating AudioTrack
I/AudioService(  155):  AudioFocus  requestAudioFocus() from 
android.media.AudioManager@41002290com.android.music.MediaPlaybackService$3@41000e8
I/AudioService(  155):   Remote Control   registerMediaButtonIntent() for 
PendingIntent{4106df50: PendingIntentRecord{41139020 com.android.musi}
E/MediaPlayer(  592): Attempt to call getDuration without a valid 
mediaplayer
E/MediaPlayer(  592): error (-38, 0)
E/MediaPlayer(  592): start called in state 0
E/MediaPlayer(  592): error (-38, 0)
E/MediaPlayer(  592): Error (-38,0)
D/MultiPlayer(  592): Error: -38,0
E/MediaPlayer(  592): Error (-38,0)
D/MultiPlayer(  592): Error: -38,0


Regards
Punith


-- 
-- 
unsubscribe: [email protected]
website: http://groups.google.com/group/android-porting

--- 
You received this message because you are subscribed to the Google Groups 
"android-porting" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to