hi, try this.... as per the logcat it seems the capture device is not defined properly hence in line "D/ALSAModule( 1128): open called for devices 00000000 in mode 0... " 00000000 doesnt seem to have any meaning. so instead of this try to open hw:0,0 or hw:0,1 depending on ur card settings. I dont remember exactly where it opens the device.
try ur luck, On Aug 13, 2:24 pm, Fasil <mfasi...@gmail.com> wrote: > In Command line mode I m able to capture voice... But through app I m > not able to do so. > I have tried with the following apps > > 1. SoundRecorder the default one of Android > 2. Voice Recorder apk > 3. Droid Record > > In all the three cases the applications throws a message as > > D/ALSAModule( 1128): open called for devices 00000000 in mode 0... > E/ALSALib ( 1128): external/alsa-lib/src/pcm/pcm.c:2201: > (snd_pcm_open_noupdate) Unknown PCM AndroidPlayback > E/ALSAModule( 1128): Failed to Initialize any ALSA PLAYBACK device: > Unknown error: -16 > W/AudioFlinger( 1128): record start failed, status -19 > > Any other apps is there to test voice ? > > Thanks > Fasil > > On Aug 13, 1:17 pm, Srikant <w.sreeka...@gmail.com> wrote: > > > > 2. For the second option I m not able to find any record option with > > > alsa_aplay. > > > The option is 'C' and not 'r', (C for Capture) > > Try with this for recording, something like this: > > #alsa_aplay -C -t wav -d 10 rec1.wav > > > -- > > Srikant > > > On Aug 11, 12:05 pm, Fasil <mfasi...@gmail.com> wrote: > > > > Thanks Srikant, > > > > 1. On trying the first option , I m getting an error message that " > > > process com.android.soundrecorder" has stopped unexpectedly. > > > > 2. For the second option I m not able to find any record option with > > > alsa_aplay. > > > > Do I need to modify any changes in init.rc , I m using Donut Android > > > flavour . In recent time I getting a new error in Music player with > > > the message " sorry the player doesnt support this audio file" and > > > its not able to play the mp3 which I used to run successfully earlier. > > > > Any pointers on this one. > > > > Thanks > > > Fasil > > > > On Aug 11, 10:27 am, Srikant <w.sreeka...@gmail.com> wrote: > > > > > You can use the following 2 ways to test Mic Recording in Android > > > > > 1. From the “Messaging” icon on the Main menu, > > > > --->Select “New message” > > > > --->Press “Menu button” > > > > --->Select “Record Audio” > > > > --->Record application UI opens > > > > --->Press “Record button” > > > > --->Press “Stop” button to stop Recording > > > > --->Press “Play button” to playback the recorded file > > > > > 2. From adb shell, > > > > Execute "alsa_aplay -r ..." (Recording option 'r') > > > > > --Srikant > > > > > On Aug 10, 10:06 am, Fasil <mfasi...@gmail.com> wrote: > > > > > > Hi, > > > > > > I m using OMAP3EVM with Android Donut, I need to check the Mic > > > > > functionality in Android. I have verified my Mic working in Linux and > > > > > booting the OMAP using Ramdisk and verified using the utility namely > > > > > arecord and aplay. > > > > > > I got an apk namely DroidRecord a record and play application, > > > > > whenever I click the Record button of the app, the application closes > > > > > with the message "com.twofuse.droidrecord" has stopped and the app > > > > > closes. > > > > > > Is there any other utility or app is there to check the Mic > > > > > functionality. The android FS by default has got the SoundRecorder.apk > > > > > in system/app but its not coming as an icon in menu. > > > > > Is there any tweak to be done for this . Looking for your suggestions > > > > > and help. > > > > > > Thanks > > > > > Fasil- Hide quoted text - > > > > - Show quoted text - -- unsubscribe: android-porting+unsubscr...@googlegroups.com website: http://groups.google.com/group/android-porting