Hi Dave,

Thanks again for the reply.
Can you please confirm if the below mentioned issue with 1.0 has been fixed
in 2.0 or later?
In my case the AudioFlinger is creating problems.
When I do Pause, I could see that the Pause is actually being sent to the
OMX component (AMR-NB) and the buffer processing stops.
Once I do the resume, I get one buffer (I suppose FW is pulling it from
AudioFlinger) and it encodes it properly. But after that I get an error or
probably crash from AudioFlinger.

Thanks
APT


On Mon, Apr 6, 2009 at 9:06 PM, Dave Sparks <[email protected]> wrote:

>
> In OpenCORE 1.0, the AuthorEngine failed to restart properly after a
> pause. I don't recall the specifics, but it was late in the schedule
> and we didn't have time to fix it.
>
> AudioFlinger should be able to handle start/stop, but I doubt that
> it's handled properly in the MIO.
>
> On Apr 3, 10:10 pm, MMF <[email protected]> wrote:
> > Hi Dave,
> >
> > Thanks for the reply.
> > Can you please explain what do you mean by "AuthorEngine does not handle
> it
> > correctly"?
> > We have added the Pause/Resume functionality and the AuthorEngine is
> > handling it properly, but this looks like the AudioFlinger issues.
> >
> > Thanks
> > APT
> >
> > On Sat, Apr 4, 2009 at 6:20 AM, Dave Sparks <[email protected]>
> wrote:
> >
> > > We did not include pause/resume in the API because AuthorEngine does
> > > not handle it correctly.
> >
> > > On Apr 3, 7:21 am, MMF <[email protected]> wrote:
> > > > Hello Friends,
> >
> > > > We have written a simple application to do the sound recording, by
> taking
> > > > the reference of the available SoundRecorder application.
> > > > In my application I have added the support for Pause/Resume sound
> > > recording,
> > > > by modifying the JNI interfaces (*android_media_MediaRecorder.cpp*)
> for
> > > > PVAuthor by adding Pause and Resume.
> > > > Now after these modification we are able to record the sound properly
> > > (.amr
> > > > files), but when we do the pause and resume the recording is not
> > > happening.
> > > > From the logs I am able to see that my NB-AMR encoder OMX component
> has
> > > been
> > > > paused and then resumed, but still when I finish my recording, I get
> the
> > > > recorded data only till the time I had Paused and after that I do not
> get
> > > > any more recorded data.
> >
> > > > Can anyone please let me know if you have faced this kind of issues.
> >
> > > > Also what is the reason for not having Pause and Resume in
> > > > PVAuthor(android_media_MediaRecorder.cpp)?
> > > > Does this mean that PVAuthor is not supporting Pause/Resume for
> > > recording?
> >
> > > > Thanks and Regards
> > > > APT
> >
>

--~--~---------~--~----~------------~-------~--~----~
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