http://alsa.opensrc.org/index.php/.asoundrc
If you don't understand anything do let me know about it or you can ask alsa mailing list. On Sep 14, 7:18 pm, Yogesh Sharma <mails.yog...@gmail.com> wrote: > Hi > > My Observations - > Audio players read /system/etc/asound.conf or ~/asoundrc file to get the > hardware info. I was not having these files, so player was sending output > stream to default device (which was midi in my case). So player was working > fine but I was not getting any sound. I Created asound.conf file and it > started working fine. I dont have asound.conf right now, I'll send it next > mail. > Regards > Yogesh Sharma > > On Mon, Sep 13, 2010 at 8:17 PM, XingChao Wang <wxc...@gmail.com> wrote: > > > 2010/9/13 yogi <mails.yog...@gmail.com> > > > Its playing sound properly, actually my asound.conf was not proper as > >> I am using external audio driver. > > >> Hi yoji, > > would you please show us what exactly the root cause? I want to check > > whether it's the same problem with mine. > > > --thanks > > wxc200 > > >> On Sep 13, 8:21 am, ani <anish198519851...@gmail.com> wrote: > >> > check from where are these logs coming "unable to attach". > >> > I think your kernel has not created properly your device files for > >> > mixers. > >> > In case it has not then you need to first fix that or you can get help > >> > from alsa mailing list(Very good group and they reply most of the time > >> > if your question is fine). > > >> > On Sep 9, 7:47 pm, yogi <mails.yog...@gmail.com> wrote: > > >> > > Hi All > > >> > > I am porting Android on ARM11 MPCore. > >> > > Android is coming fine. > >> > > Some issues are there in Audio playback. > > >> > > When I play wav file using alsa_aplay, sound is coming. But when I > >> > > play from Android audio player there is no sound. > > >> > > Following is the logs - > >> > > I can see the "Unable to attach mixer to device AndroidOut: No such > >> > > file or directory > >> > > " how to solve this?? > > >> > > # logcat > >> > > --------- beginning of /dev/log/main > >> > > I/DEBUG ( 905): debuggerd: Sep 6 2010 18:29:30 > >> > > I/Netd ( 904): Netd 1.0 starting > >> > > --------- beginning of /dev/log/system > >> > > I/Vold ( 903): Vold 2.1 (the revenge) firing up > >> > > D/Vold ( 903): Volume sdcard state changing -1 (Initializing) -> 0 > >> > > (No-Media) > >> > > W/Vold ( 903): No UMS switch available > >> > > D/AndroidRuntime( 907): > >> > > D/AndroidRuntime( 907): >>>>>>>>>>>>>> AndroidRuntime START > >> > > <<<<<<<<<<<<<< > >> > > D/AndroidRuntime( 907): CheckJNI is ON > >> > > I/ ( 908): ServiceManager: 0xacd0 > >> > > E/ALSALib ( 908): external/alsa-lib/src/control/control.c:902: > >> > > (snd_ctl_open_noupdate) Invalid CTL AndroidOut > >> > > W/AudioHardwareALSA( 908): Unable to attach mixer to device > >> > > AndroidOut: No such file or directory > >> > > E/ALSALib ( 908): external/alsa-lib/src/control/control.c:902: > >> > > (snd_ctl_open_noupdate) Invalid CTL AndroidIn > >> > > W/AudioHardwareALSA( 908): Unable to attach mixer to device > >> > > AndroidIn: No such file or directory > >> > > I/CameraService( 908): CameraService started: pid=908 > >> > > D/AudioHardwareALSA( 908): openOutputStream called for devices: > >> > > 0x00000002 > >> > > D/ALSAModule( 908): open called for devices 00000002 in mode 0... > >> > > E/ALSALib ( 908): external/alsa-lib/src/pcm/pcm.c:2210: > >> > > (snd_pcm_open_noupdate) Unknown PCM AndroidPlayback_Speaker_normal > >> > > E/ALSALib ( 908): external/alsa-lib/src/pcm/pcm.c:2210: > >> > > (snd_pcm_open_noupdate) Unknown PCM AndroidPlayback_Speaker > >> > > E/ALSALib ( 908): external/alsa-lib/src/pcm/pcm.c:2210: > >> > > (snd_pcm_open_noupdate) Unknown PCM AndroidPlayback > >> > > I/ALSAModule( 908): Initialized ALSA PLAYBACK device default > >> > > I/AudioFlinger( 908): AudioFlinger's thread 0x15178 ready to run > >> > > D/ALSAModule( 908): route called for devices 00000002 in mode 0... > >> > > D/AndroidRuntime( 907): --- registering native functions --- > >> > > I/SamplingProfilerIntegration( 907): Profiler is disabled. > >> > > I/Zygote ( 907): Preloading classes... > >> > > D/dalvikvm( 907): GC_EXPLICIT freed 816 objects / 47208 bytes in 6ms > >> > > D/dalvikvm( 907): GC_EXPLICIT freed 219 objects / 13560 bytes in 7ms > >> > > D/dalvikvm( 907): GC_EXPLICIT freed 253 objects / 14336 bytes in 8ms > >> > > D/dalvikvm( 907): GC_EXPLICIT freed 466 objects / 28872 bytes in 9ms > >> > > D/dalvikvm( 907): GC_EXPLICIT freed 2090 objects / 108312 bytes in > >> > > 12ms > >> > > W/MediaProfiles( 907): could not find media config xml file > >> > > D/dalvikvm( 907): GC_EXPLICIT freed 279 objects / 15968 bytes in 12ms > >> > > D/dalvikvm( 907): GC_FOR_MALLOC freed 5026 objects / 223872 bytes in > >> > > 23ms > >> > > D/dalvikvm( 907): GC_FOR_MALLOC freed 11324 objects / 384904 bytes in > >> > > 30ms > > >> > > Thanks & regards > >> > > Yogesh- Hide quoted text - > > >> > - Show quoted text - > > >> -- > >> unsubscribe: > >> android-porting+unsubscr...@googlegroups.com<android-porting%2bunsubscr...@googlegroups.com> > >> website:http://groups.google.com/group/android-porting -- unsubscribe: android-porting+unsubscr...@googlegroups.com website: http://groups.google.com/group/android-porting