I also get the same failed error code in prepare. I trace the cause is
in PVMFOMXEncNode::NegotiateAudioComponentParameters(), that output
channels number is be set to 10 in a former calling. But i cannot find
any place where PVMFOMXEncNode::SetOutputNumChannel(10) be called.

Have you fixed the same issue?

Best Regards
Guoyin Chen

On Mar 13, 12:21 pm, waterblood <[email protected]> wrote:
> The call path should be as below:
>
> MediaRecorder::prepare()---->PVMediaRecorder::prepare()---
>
> >AuthorDriver::handlePrepare()--->PVAuthorEngine::Init()
>
> On Mar 13, 6:53 am, Misael Lopez <[email protected]> wrote:
>
>
>
> > Hi,
>
> > I used to record audio using SoundRecorder application, but in latest
> > pull it seems to be broken. The application starts but when the record
> > is actually going to happen, it fails. The error message (from logcat)
> > is:
>
> > E/MediaRecorder(  869): prepare failed: -2147483648
>
> > I'd like to give more information about the error, but I don't see
> > more related messages in the log. I grep-ed the error message and
> > found that the "prepare" function is returning with an error. But I
> > couldn't find the actual implementation of the prepare function.
>
> > Any idea or suggestion?
>
> > Thanks,
> > -Misa- Hide quoted text -
>
> - Show quoted text -
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"android-framework" 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-framework?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to