I have ported ALSA to my board, and it can play music well. but i
cann't use soundrecoder to capture,becouse of mmap failed.

The PLAYBACK can be configed successful, no error about mmap.
I have no idear, can anyone help me ...thanks

the ALSA CAPTURE log is below:

I/AudioHardwareALSA( 1762): Initialized ALSA CAPTURE device default
D/AudioHardwareALSA( 1762): Set CAPTURE PCM format to S16_LE (Signed
16 bit Little Endian)
D/AudioHardwareALSA( 1762): Using 1 channel for CAPTURE.
D/AudioHardwareALSA( 1762): Set CAPTURE sample rate to 8000 HZ
D/AudioHardwareALSA( 1762): Buffer size: 2048
D/AudioHardwareALSA( 1762): Latency: 256000
E/ALSALib ( 1762): external/alsa-lib/src/pcm/pcm_mmap.c:371:
(snd_pcm_mmap) mmap failed
E/AudioHardwareALSA( 1762): Unable to set hardware parameters: No such
device or address
W/AudioFlinger( 1762): AudioRecordThread: buffer overflow
W/AudioRecord( 1762): obtainBuffer timed out (is the CPU pegged?)
user=00000000, server=00000000
W/AudioRecord( 1762): obtainBuffer timed out (is the CPU pegged?)
user=00000000, server=00000000





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

Reply via email to