Hi, Check the capturing device you are trying to open in external/libaudio/AudioHardwareALSA.cpp it would be NULL_Device by default. you may try by opening hw:0,1 or hw:0,0 depending on ur sound card.
-Krishna On Thu, Sep 2, 2010 at 8:25 AM, kongwoei <[email protected]> wrote: > Hi... > > I tried to do the sound record and play back and I got this bunch of > error... any idea? > > E/audio_input( 1933): unsupported parameter: x-pvmf/media-input-node/ > cap-config-interface;valtype=key_specific_value > E/audio_input( 1933): VerifyAndSetParameter failed > E/PVOMXEncNode( 1933): PVMFOMXEncNode-Audio_AMRNB::DoPrepare(): Got > Component OMX.PV.amrencnb handle > D/ALSAModule( 1933): open called for devices 00040000 in mode 0... > E/ALSALib ( 1933): external/alsa-lib/src/pcm/pcm.c:2201: > (snd_pcm_open_noupdate) Unknown PCM AndroidCapture > E/ALSAModule( 1933): Failed to Initialize any ALSA CAPTURE device: > Unknown error: -2 > E/AudioRecord( 1933): Could not get audio input for record source 1 > E/AuthorDriver( 1933): Command 17 completed with error -1 > E/MediaRecorder( 2173): start failed: -1 > > I search online that people working on the sound record, always facing > this issue. > > -- > unsubscribe: > [email protected]<android-porting%[email protected]> > website: http://groups.google.com/group/android-porting > -- unsubscribe: [email protected] website: http://groups.google.com/group/android-porting
