alsa_aplay not recording on android
I have just started working on android and I am trying to understand how android audio sub-system (alsa) works. I am running an android image in virtual-box running on windows-7 (64 bit). I was fiddling with alsa-utils to record sound. I tried alsa_aplay -C -f S16_LE -c 2 -r 44100 -d 5 foo.wav it said something like: Recording WAVE foo.wav : Signed 16 bit little endian, rate 44100, stereo However, the output file created appears to be blank (after the wav file header). od -x foo.wav 0000000 4952 4646 7574 000d 4157 4556 6d66 2074 0000020 0010 0000 0001 0002 ac44 0000 b110 0002 0000040 0004