AudioRecord cannot capture audio on beagle board?

by mm » Fri, 17 Jul 2009 10:32:19 GMT


Sponsored Links
 Hi,

  I just build the new omapdroid release.
 # repo init -u git://labs.embinux.org/repo/android/platform/beaglemanifest.git/

  The alsa_arecord, alsa_aplay and AudioTrack  is okay.

 But, when I use "Sound Recorder" application of Android
 to capture audio,  the recorded file size always equals zero.
 And I got the following log messages.

D/AudioHardwareALSA(  758): Set CAPTURE PCM format to S16_LE (Signed
16 bit Little Endian)
E/AudioHardwareALSA(  758): Unable to set channel count to 1: Invalid
argument (for CAPTURE)
W/AudioFlinger(  758): AudioRecordThread: buffer overflow
W/AudioRecord(  758): obtainBuffer timed out (is the CPU pegged?)
user=00000000, server=00000000
W/AudioRecord(  758): obtainBuffer timed out (is the CPU pegged?)
user=00000000, server=00000000
W/AudioRecord(  758): obtainBuffer timed out (is the CPU pegged?)
user=00000000, server=00000000

 How to capture audio on beagle board using  AudioRecord ?
 Thanks advance.

--~--~---------~--~----~------------~-------~--~----~

-~----------~----~----~----~------~----~------~--~---



Other Threads

1. List of Android Devices with specifications to use in Emulator

Hi,
I'm going to try something here, and hopefully it'll work.

I've written a few apps and occasionally I'll have someone email me
saying it doesn't work correctly on their phone. As I don't have
access to their phone I try and recreate their device in the emulator
by using the same Android version, screen size, and whatever else I
think is important.

Until now I've been keeping a list of all the different specifications
of the devices, as I couldn't find a good list online. So I figure
today I'd put what little research I've done into a spreadsheet and
share it with the Android community. What I also hope is that people
will start to add devices that I'm missing.

So please take a look at this spreadsheet and fill free to edit it (in
a sensible way). If there is another column of data you would like to
add then feel free and hopefully any blanks will be filled in.

https://spreadsheets.google.com/ccc?key=0AlXAdnQtmZFZdHBBcnBmNlkwU0JxSGVaWnJyRC1nc0E&hl=en_GB&authkey=CL2OsNkG

Thanks
Andrew

P.S Of course in a perfect world we shouldn't need such as list as our
apps should just work on any Android device, but I've noticed a few
minor quirks which have annoyed me in the past.

-- 

2. Does Android provide Apps or Activities for viewing Certificates?

Does Android provide any reusable components for handling
Certificates? For example if I create a X509Certificate from DER
encoded data, are there reusable views for displaying the Common Name,
Expiration date, etc...?

-- 

3. Dynamically java class on android/dalvik?

4. Drawable.mutate().setAlpha() not working pre 2.2?

5. Camera Issues on Samsung Galaxy S

6. Why Android cannot play .avi but can play youtube (avi?) and flash?

7. Image Viewer Problem