Hi,

Has anyone been able to record sound on the Freerunner using the
native interface defined in AudioRecord.h? The device seems to
initialise ok, but I don't get any samples using the read() function.

>From logcat:

I/AudioHardwareALSA(  784): Initialized ALSA CAPTURE device
AndroidRecord_Microphone
D/AudioHardwareALSA(  784): Set CAPTURE PCM format to S16_LE (Signed
16 bit Little Endian)
D/AudioHardwareALSA(  784): Using 1 channel for CAPTURE.
D/AudioHardwareALSA(  784): Set CAPTURE sample rate to 8000 HZ
E/AudioFlinger(  784): Error reading audio input
W/AudioRecord(  946): obtainBuffer timed out (is the CPU pegged?)
user=00000000, server=00000000
E/AudioFlinger(  784): Error reading audio input
W/AudioRecord(  946): obtainBuffer timed out (is the CPU pegged?)
user=00000001, server=00000001

Any hints or ideas would be helpful.

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

Reply via email to