Thanks for the information my friend. It works now for me. One strange thing is that I have to do "make clean" and then "make" again. Anyhow, it is OK now for me. Thanks again. Cheers, Neil
--- On Wed, 7/29/09, xujh <[email protected]> wrote: > From: xujh <[email protected]> > Subject: [android-porting] Re: Android alsa problem > To: "android-porting" <[email protected]> > Date: Wednesday, July 29, 2009, 4:08 AM > > I downloaded Alsa sounrce code: > git clone > git://android.git.kernel.org/platform/hardware/alsa_sound.git > git clone > git://android.git.kernel.org/platform/external/alsa-lib.git > git clone > git://android.git.kernel.org/platform/external/alsa-utils.git > then modified > /mydroid/build/target/board/generic/BoardConfig.mk as > follows: > BOARD_USES_GENERIC_AUDIO := false > HAVE_HTC_AUDIO_DRIVER := false > BOARD_USES_ALSA_AUDIO := true > BUILD_WITH_ALSA_UTILS=true > in order to get /dev/snd* i modified > mydroid/system/core/init/ > devices.c according to > https://review.source.android.com/#change,4432 > > that's all! > AND i don't have an asound.conf . > BTW,I changed buffer size to 768 in > /home/xujh/mydroid/hardware/ > alsa_sound/AudioHardwareALSA.cpp so that it fits my board > which is > iMX27. > > WISH it will help! > > > --~--~---------~--~----~------------~-------~--~----~ unsubscribe: [email protected] website: http://groups.google.com/group/android-porting -~----------~----~----~----~------~----~------~--~---
