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 -~----------~----~----~----~------~----~------~--~---
