I didn't get how you integrated ALSA along with Android source but, here is
the way to go.

1. You need to have the following entries in your .repo/local_manifest.xml
file under android source directory.

<?xml version="1.0" encoding="UTF-8"?>
<manifest>
    <project name="platform/hardware/alsa_sound"
path="hardware/alsa_sound"/>
    <project name="platform/external/alsa-lib" path="external/alsa-lib"/>
    <project name="platform/external/alsa-utils"
path="external/alsa-utils"/>
</manifest>

2. Run 'repo sync' in android source directory.

You are recommended to do it on a fresh android source tree (not
customized).

- Ravi


On Wed, May 13, 2009 at 9:07 AM, Rajesh N <[email protected]> wrote:

> Hi,
>
>  I downloaded alsa-utils, alsa-lib & alsa-sound and integrated
> respectively, I  am surprised to see there is no "/dev/snd" folder created
> in my system (android). I checked "/system/rootdir/config.h" file  where it
> is defined as "/dev/snd" !
>
>  I would like to know how to run , this "alsa_ctl" and what is its
> implications in doing it?
>
> Best Regards
> Rajesh
>
>
>
> On Tue, May 12, 2009 at 7:10 PM, Androidphan <[email protected]> wrote:
>
>>
>> You need to download alsa-utils from the repository. You can do that
>> by creating a local_manifest.xml file.
>>
>> On May 12, 9:44 am, Rajesh N <[email protected]> wrote:
>> > Hi,
>> >
>> >  Could anyone tell me what is this "alsa_ctl", I'm not seeing any such
>> > binary or file in my system????
>> >
>> > Best Regards,
>> > Rajesh N
>> >
>> >
>> >
>> > On Tue, May 12, 2009 at 12:31 PM, Androidphan <[email protected]>
>> wrote:
>> >
>> > > Look here:
>> > >http://groups.google.com/group/android-porting/browse_thread/thread/b.
>> ..
>> >
>> > > I faced the same problem.
>> >
>> > > On May 12, 7:43 am, Rajesh N <[email protected]> wrote:
>> > > > Ravishankar Haranath,
>> >
>> > > > If u could give me some pointers or mistake in this file it would be
>> gr8.
>> >
>> > > > Best Regards,
>> > > > Rajesh N
>> >
>> > > > On Tue, May 12, 2009 at 10:43 AM, Ravishankar Haranath <
>> [email protected]
>> > > >wrote:
>> >
>> > > > > I guess there is a problem with alsa config file name
>> > > > > system/usr/share/alsa/alsa.cof
>> >
>> > > > > On Tue, May 12, 2009 at 10:30 AM, Rajesh N <
>> [email protected]
>> > > >wrote:
>> >
>> > > > >> 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
>> >
>> > > > > --
>> > > > > 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
>> >
>> > > > --
>> > > > Best Regards,
>> > > > Rajesh N
>> >
>> > --
>> > Best Regards,
>> > Rajesh N
>>
>>
>
>
> --
> Best Regards,
> Rajesh N
>
> >
>


-- 
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: [email protected]
website: http://groups.google.com/group/android-porting
-~----------~----~----~----~------~----~------~--~---

Reply via email to