Discussion:
ALSA + Android -Problem
Rajesh N
2009-05-12 05:00:40 UTC
Permalink
Hi All,

I integrating ALSA for android, but I am facing few problems with bootup,
mediaserver is terribly failing on bootup, below I have mentioned logcat
messages on android + alsa integration , if anyone can give some pointer on
this issue, it would be highly appriciatble.

------------------------------------------------------logcat------------------------------------------------------
I/ServiceManager( 1718): Waiting for sevice media.audio_flinger...
I/ServiceManager( 1718): Waiting for sevice media.audio_flinger...
I/ServiceManager( 1718): Waiting for sevice media.audio_flinger...
I/ServiceManager( 1718): Waiting for sevice media.audio_flinger...
I/ ( 1868): ServiceManager: 0xac38
E/ALSALib ( 1868): external/alsa-lib/src/conf.c:3073:(snd_config_update_r)
cannot access file /system/usr/share/alsa/alsa.cof
E/ALSALib ( 1868):
external/alsa-lib/src/control/control.c:909:(snd_ctl_open_noupdate) Invalid
CTL AndroidPlayback
E/AudioHardwareALSA( 1868): Unable to attach mixer to device
AndroidPlayback: No such file or directory
E/ALSALib ( 1868):
external/alsa-lib/src/control/control.c:909:(snd_ctl_open_noupdate) Invalid
CTL hw:00
E/AudioHardwareALSA( 1868): Unable to attach mixer to device default: No
such file or directory
E/ALSALib ( 1868):
external/alsa-lib/src/control/control.c:909:(snd_ctl_open_noupdate) Invalid
CTL AndroidRecord
E/AudioHardwareALSA( 1868): Unable to attach mixer to device AndroidRecord:
No such file or directory
E/ALSALib ( 1868):
external/alsa-lib/src/control/control.c:909:(snd_ctl_open_noupdate) Invalid
CTL hw:00
E/AudioHardwareALSA( 1868): Unable to attach mixer to device default: No
such file or directory
--
Best Regards,
Rajesh

--~--~---------~--~----~------------~-------~--~----~
unsubscribe: android-porting+unsubscribe-/***@public.gmane.org
website: http://groups.google.com/group/android-porting
-~----------~----~----~----~------~----~------~--~---
Ravishankar Haranath
2009-05-12 05:13:00 UTC
Permalink
I guess there is a problem with alsa config file name
system/usr/share/alsa/alsa.cof
Post by Rajesh N
Hi All,
I integrating ALSA for android, but I am facing few problems with bootup,
mediaserver is terribly failing on bootup, below I have mentioned logcat
messages on android + alsa integration , if anyone can give some pointer on
this issue, it would be highly appriciatble.
------------------------------------------------------logcat------------------------------------------------------
I/ServiceManager( 1718): Waiting for sevice media.audio_flinger...
I/ServiceManager( 1718): Waiting for sevice media.audio_flinger...
I/ServiceManager( 1718): Waiting for sevice media.audio_flinger...
I/ServiceManager( 1718): Waiting for sevice media.audio_flinger...
I/ ( 1868): ServiceManager: 0xac38
E/ALSALib ( 1868): external/alsa-lib/src/conf.c:3073:(snd_config_update_r)
cannot access file /system/usr/share/alsa/alsa.cof
external/alsa-lib/src/control/control.c:909:(snd_ctl_open_noupdate) Invalid
CTL AndroidPlayback
E/AudioHardwareALSA( 1868): Unable to attach mixer to device
AndroidPlayback: No such file or directory
external/alsa-lib/src/control/control.c:909:(snd_ctl_open_noupdate) Invalid
CTL hw:00
E/AudioHardwareALSA( 1868): Unable to attach mixer to device default: No
such file or directory
external/alsa-lib/src/control/control.c:909:(snd_ctl_open_noupdate) Invalid
CTL AndroidRecord
No such file or directory
external/alsa-lib/src/control/control.c:909:(snd_ctl_open_noupdate) Invalid
CTL hw:00
E/AudioHardwareALSA( 1868): Unable to attach mixer to device default: No
such file or directory
--
Best Regards,
Rajesh
--
Ravishankar Haranath
http://www.linmaya.net

We should be taught not to wait for inspiration to start a thing. Action
always generates inspiration. Inspiration seldom generates action.
- Frank Tibolt

--~--~---------~--~----~------------~-------~--~----~
unsubscribe: android-porting+unsubscribe-/***@public.gmane.org
website: http://groups.google.com/group/android-porting
-~----------~----~----~----~------~----~------~--~---
Loading...