Hi all,

I ported android using froyo on dm365.I add alsa libraries to it as
follows
cd $ANDROID_SOURCE/external
git clone git://android.git.kernel.org/platform/external/alsa-lib.git
git clone git://android.git.kernel.org/platform/external/alsa-utils.git
cd $ANDROID_SOURCE/hardware
git clone git://android.git.kernel.org/platform/hardware/alsa_sound.git

# HAVE_HTC_AUDIO_DRIVER := true
# BOARD_USES_GENERIC_AUDIO := true
BOARD_USES_ALSA_AUDIO := true
BUILD_WITH_ALSA_UTILS := true

Now audio is playing correctly but audio capturing is not
working .Here is my starting logcat

E/AudioHardwareALSA( 1717): Unable to attach mixer to device
AndroidOut: No such file or directory
E/ALSALib ( 1717): external/alsa-lib/src/control/control.c:902:
(snd_ctl_open_noupdate) Invalid CTL AndroidIn
W/AudioHardwareALSA( 1717): Unable to attach mixer to device
AndroidIn: No such file or directory
I/CameraService( 1717): CameraService started: pid=1717
D/AudioHardwareALSA( 1717): openOutputStream called for devices:
0x00000002
D/ALSAModule( 1717): open called for devices 00000002 in mode 0...
E/ALSALib ( 1717): external/alsa-lib/src/pcm/pcm.c:2210:
(snd_pcm_open_noupdate) Unknown PCM AndroidPlayback_Speaker_normal
E/ALSALib ( 1717): external/alsa-lib/src/pcm/pcm.c:2210:
(snd_pcm_open_noupdate) Unknown PCM AndroidPlayback_Speaker
E/ALSALib ( 1717): external/alsa-lib/src/pcm/pcm.c:2210:
(snd_pcm_open_noupdate) Unknown PCM AndroidPlayback
I/ALSAModule( 1717): Initialized ALSA PLAYBACK device default

Let me know how to solve this error and capture audio

Thanks in advance

-- 
unsubscribe: android-porting+unsubscr...@googlegroups.com
website: http://groups.google.com/group/android-porting

Reply via email to