Hi Sean,

 you are right I found out the correct version of Alsa for donut and
took the snapshot from the gitweb of android..

http://android.git.kernel.org/?p=platform/external/alsa-lib.git;a=tree;h=refs/heads/donut;hb=donut

I took the snapshot from the above links and follow similar way for
alsa-utils and hardware/alsa_sound.

Now the ALSA for donut is compiling properly..

PS : Adding alsa lines to manifest.xml is fetching from the master
branch and not from donut, even after specifying  -b donut while
initializing  git.

Regards
Fasil



On Dec 12, 4:49 am, Sean McNeil <[email protected]> wrote:
> Yes, that is what I am saying. It is in the korg repo under both the
> eclair and master branches.
>
>
>
> zp wrote:
> > Hi Sean:
>
> > Are you saying that ALSA is working with Eclair now? no major
> > problems?
> > Where should I get the ALSA package?
>
> > On Dec 11, 1:13 am, Sean McNeil <[email protected]> wrote:
>
> >> Fasil,
>
> >> Fasil wrote:
>
> >>> This problem is there in Donut too.. AsAlsais completely integrated
> >>> only with cupcake...After thatalsais getting from the master
> >>> branch... I m getting the same error in donut..
> >>> Looking around for the fix.
>
> >> This is completely untrue. You must not know what you are doing with
> >> respect to using the proper repo and branch. The korg repo has sources
> >> for the donut, eclair, and master branches. You have to use the
> >> appropriate branch. From the error messages below, I would say that
> >> either korg isn't being used as the repository or the donut branch
> >> sources are being used to compile for eclair.
>
> >> Some minor bugs still exist for the latest code, but they are being
> >> addressed. It all certainly compiles and works on a number of platforms
> >> when the appropriate branch is used.
>
> >> Cheers,
> >> Sean
>
> >>> On Dec 1, 11:59 pm, whiplash <[email protected]> wrote:
>
> >>>> If I had to make an educated guess, I'd say that thealsastuff isn't
> >>>> updated for 2.0
>
> >>>> On Nov 29, 9:00 pm, "[email protected]" <[email protected]> wrote:
>
> >>>>> I have get the same error with you.
> >>>>> waiting for someone to fix it..
>
> >>>>> On 11 21 , 11ʱ25 , whiplash <[email protected]> wrote:
>
> >>>>>> Hey everyone, I've been trying to buildEclairwithALSAsupport and
> >>>>>> here's what I've done so far:
>
> >>>>>> Initialized the repo in a directory
>
> >>>>>> Created a file in the .repo directory in the project's root called
> >>>>>> local_manifest.xml with the following contents:
> >>>>>> <?xml version="1.0" encoding="UTF-8"?>
> >>>>>> <manifest>
> >>>>>> <project name="platform/external/alsa-lib" path="external/alsa-lib"/>
> >>>>>> <project name="platform/hardware/alsa_sound" path="hardware/
> >>>>>> alsa_sound"/>
> >>>>>> </manifest>
>
> >>>>>> Ran repo sync, and then edited build/target/board/generic/
> >>>>>> BoardConfig.mk to look like this:
> >>>>>> # config.mk
> >>>>>> #
> >>>>>> # Product-specific compile-time definitions.
> >>>>>> #
>
> >>>>>> # The generic product target doesn't have any hardware-specific
> >>>>>> pieces.
> >>>>>> TARGET_NO_BOOTLOADER := true
> >>>>>> TARGET_NO_KERNEL := true
> >>>>>> TARGET_CPU_ABI := armeabi
> >>>>>> #HAVE_HTC_AUDIO_DRIVER := true
> >>>>>> #BOARD_USES_GENERIC_AUDIO := true
> >>>>>> BOARD_USES_ALSA_AUDIO := true
> >>>>>> BUILD_WITH_ALSA_UTILS := true
>
> >>>>>> Then I ran make and got these errors. What am I missing? Any
> >>>>>> suggestions?
>
> >>>>>> hardware/alsa_sound/AudioHardwareALSA.cpp: At global scope:
> >>>>>> hardware/alsa_sound/AudioHardwareALSA.cpp:73: error: 'audio_routes' in
> >>>>>> class 'android::AudioSystem' does not name a type
> >>>>>> hardware/alsa_sound/AudioHardwareALSA.cpp:131: error: 'audio_routes'
> >>>>>> does not name a type
> >>>>>> hardware/alsa_sound/AudioHardwareALSA.cpp:139: error: 'ROUTE_ALL' is
> >>>>>> not a member of 'android::AudioSystem'
> >>>>>> hardware/alsa_sound/AudioHardwareALSA.cpp:140: error: 'ROUTE_ALL' is
> >>>>>> not a member of 'android::AudioSystem'
> >>>>>> hardware/alsa_sound/AudioHardwareALSA.cpp:146: error: 'ROUTE_EARPIECE'
> >>>>>> is not a member of 'android::AudioSystem'
> >>>>>> hardware/alsa_sound/AudioHardwareALSA.cpp:147: error: 'ROUTE_EARPIECE'
> >>>>>> is not a member of 'android::AudioSystem'
> >>>>>> hardware/alsa_sound/AudioHardwareALSA.cpp:150: error: 'ROUTE_SPEAKER'
> >>>>>> is not a member of 'android::AudioSystem'
> >>>>>> hardware/alsa_sound/AudioHardwareALSA.cpp:151: error: 'ROUTE_SPEAKER'
> >>>>>> is not a member of 'android::AudioSystem'
> >>>>>> hardware/alsa_sound/AudioHardwareALSA.cpp:154: error:
> >>>>>> 'ROUTE_BLUETOOTH_SCO' is not a member of 'android::AudioSystem'
> >>>>>> hardware/alsa_sound/AudioHardwareALSA.cpp:155: error:
> >>>>>> 'ROUTE_BLUETOOTH_SCO' is not a member of 'android::AudioSystem'
> >>>>>> hardware/alsa_sound/AudioHardwareALSA.cpp:158: error: 'ROUTE_HEADSET'
> >>>>>> is not a member of 'android::AudioSystem'
> >>>>>> hardware/alsa_sound/AudioHardwareALSA.cpp:159: error: 'ROUTE_HEADSET'
> >>>>>> is not a member of 'android::AudioSystem'
> >>>>>> hardware/alsa_sound/AudioHardwareALSA.cpp:162: error:
> >>>>>> 'ROUTE_BLUETOOTH_A2DP' is not a member of 'android::AudioSystem'
> >>>>>> hardware/alsa_sound/AudioHardwareALSA.cpp:163: error:
> >>>>>> 'ROUTE_BLUETOOTH_A2DP' is not a member of 'android::AudioSystem'
> >>>>>> hardware/alsa_sound/AudioHardwareALSA.cpp:172: error: expected type-
> >>>>>> specifier before 'audio_routes'
> >>>>>> hardware/alsa_sound/AudioHardwareALSA.cpp:172: error: expected '>'
> >>>>>> before 'audio_routes'
> >>>>>> hardware/alsa_sound/AudioHardwareALSA.cpp:172: error: expected '('
> >>>>>> before 'audio_routes'
> >>>>>> hardware/alsa_sound/AudioHardwareALSA.cpp:172: error: 'audio_routes'
> >>>>>> was not declared in this scope
> >>>>>> hardware/alsa_sound/AudioHardwareALSA.cpp:172: error: expected ')'
> >>>>>> before '}' token
> >>>>>> hardware/alsa_sound/AudioHardwareALSA.cpp:173: error: expected type-
> >>>>>> specifier before 'audio_routes'
> >>>>>> hardware/alsa_sound/AudioHardwareALSA.cpp:173: error: expected '>'
> >>>>>> before 'audio_routes'
> >>>>>> hardware/alsa_sound/AudioHardwareALSA.cpp:173: error: expected '('
> >>>>>> before 'audio_routes'
> >>>>>> hardware/alsa_sound/AudioHardwareALSA.cpp:173: error: 'audio_routes'
> >>>>>> was not declared in this scope
> >>>>>> hardware/alsa_sound/AudioHardwareALSA.cpp:173: error: expected ')'
> >>>>>> before '}' token
> >>>>>> hardware/alsa_sound/AudioHardwareALSA.cpp: In member function 'virtual
> >>>>>> android::status_t android::AudioHardwareALSA::setVoiceVolume(float)':
> >>>>>> hardware/alsa_sound/AudioHardwareALSA.cpp:221: error: 'ROUTE_EARPIECE'
> >>>>>> is not a member of 'android::AudioSystem'
> >>>>>> hardware/alsa_sound/AudioHardwareALSA.cpp: In member function 'virtual
> >>>>>> android::AudioStreamOut* android::AudioHardwareALSA::openOutputStream
> >>>>>> (int, int, uint32_t, android::status_t*)':
> >>>>>> hardware/alsa_sound/AudioHardwareALSA.cpp:248: error: cannot allocate
> >>>>>> an object of abstract type 'android::AudioStreamOutALSA'
> >>>>>> hardware/alsa_sound/AudioHardwareALSA.h:154: note:   because the
> >>>>>> following virtual functions are pure within
> >>>>>> 'android::AudioStreamOutALSA':
> >>>>>> hardware/libhardware_legacy/include/hardware_legacy/
> >>>>>> AudioHardwareInterface.h:54: note:      virtual uint32_t
> >>>>>> android::AudioStreamOut::channels() const
> >>>>>> hardware/libhardware_legacy/include/hardware_legacy/
> >>>>>> AudioHardwareInterface.h:79: note:      virtual android::status_t
> >>>>>> android::AudioStreamOut::setVolume(float, float)
> >>>>>> hardware/libhardware_legacy/include/hardware_legacy/
> >>>>>> AudioHardwareInterface.h:99: note:      virtual android::status_t
> >>>>>> android::AudioStreamOut::setParameters(const android::String8&)
> >>>>>> hardware/libhardware_legacy/include/hardware_legacy/
> >>>>>> AudioHardwareInterface.h:100: note:     virtual android::String8
> >>>>>> android::AudioStreamOut::getParameters(const android::String8&)
> >>>>>> hardware/alsa_sound/AudioHardwareALSA.cpp:256: error: 'mRoutes' was
> >>>>>> not declared in this scope
> >>>>>> hardware/alsa_sound/AudioHardwareALSA.cpp: In member function 'virtual
> >>>>>> android::AudioStreamIn* android::AudioHardwareALSA::openInputStream
> >>>>>> (int, int, int, uint32_t, android::status_t*,
> >>>>>> android::AudioSystem::audio_in_acoustics)':
> >>>>>> hardware/alsa_sound/AudioHardwareALSA.cpp:274: error: 'DEFAULT_INPUT'
> >>>>>> is not a member of 'android::AudioRecord'
> >>>>>> hardware/alsa_sound/AudioHardwareALSA.cpp:275: error:
> >>>>>> 'NUM_INPUT_SOURCES' is not a member of 'android::AudioRecord'
> >>>>>> hardware/alsa_sound/AudioHardwareALSA.cpp:287: error: cannot allocate
> >>>>>> an object of abstract type 'android::AudioStreamInALSA'
> >>>>>> hardware/alsa_sound/AudioHardwareALSA.h:198: note:   because the
> >>>>>> following virtual functions are pure within
> >>>>>> 'android::AudioStreamInALSA':
> >>>>>> hardware/libhardware_legacy/include/hardware_legacy/
> >>>>>> AudioHardwareInterface.h:113: note:     virtual uint32_t
> >>>>>> android::AudioStreamIn::sampleRate() const
> >>>>>> hardware/libhardware_legacy/include/hardware_legacy/
> >>>>>> AudioHardwareInterface.h:119: note:     virtual uint32_t
> >>>>>> android::AudioStreamIn::channels() const
> >>>>>> hardware/libhardware_legacy/include/hardware_legacy/
> >>>>>> AudioHardwareInterface.h:154: note:     virtual android::status_t
> >>>>>> android::AudioStreamIn::setParameters(const android::String8&)
> >>>>>> hardware/libhardware_legacy/include/hardware_legacy/
> >>>>>> AudioHardwareInterface.h:155: note:     virtual android::String8
> >>>>>> android::AudioStreamIn::getParameters(const android::String8&)
> >>>>>> hardware/alsa_sound/AudioHardwareALSA.cpp:294: error: 'mRoutes' was
> >>>>>> not declared in this scope
> >>>>>> hardware/alsa_sound/AudioHardwareALSA.cpp: In member function 'virtual
> >>>>>> android::status_t android::AudioHardwareALSA::doRouting()':
> >>>>>> hardware/alsa_sound/AudioHardwareALSA.cpp:310: error: 'mRoutes' was
> >>>>>> not declared in this scope
> >>>>>> hardware/alsa_sound/AudioHardwareALSA.cpp: In member function 'virtual
> >>>>>> android::status_t android::AudioHardwareALSA::setMicMute(bool)':
> >>>>>> hardware/alsa_sound/AudioHardwareALSA.cpp:316: error: 'ROUTE_EARPIECE'
> >>>>>> is not a member of 'android::AudioSystem'
> >>>>>> hardware/alsa_sound/AudioHardwareALSA.cpp: In member function 'virtual
> >>>>>> android::status_t
>
> ...
>
> read more »

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

Reply via email to