Hi,
I am facing some problem when I try to run record an audio.
In my startRecord() method, this is what I do:
recorder = new MediaRecorder();
recorder.setAudioSource(MediaRecorder.AudioSource.MIC);
recorder.setOutputFormat(outputfileformat);
recorder.setAudioEncoder(MediaRecorder.AudioEncoder.AMR_NB);
recorder.setOutputFile(path);
The logs throw a audio_input error in this line:
recorder.setAudioSource(MediaRecorder.AudioSource.MIC);
The error is:
09-09 19:04:02.696: ERROR/audio_input(34): unsupported parameter: x-
pvmf/media-input-node/cap-config-interface;valtype=key_specific_value
09-09 19:04:02.696: ERROR/audio_input(34): VerifyAndSetParameter
failed
I am using a microphone connected to my pc to record the audio. I am
working on eclipse in windows xp.
I was wondering whether this is because my PC microphone is not
configured with the emulator ?
I have seen a similar thread regarding this issue.
I have configured the SD card and have set the path to the sdcard
location.
What is the command i need to give to configure my microphone to the
emulator?
emulator.exe -audio winaudio @androidvm doesnt seem to work.
Someone please help.
Thanks,
Priyank
--
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en