I had posted a related question few weeks back (link below) on the
Android developers forum (wrong forum) and you had responded to that
mentioning the future replacement for setParameter function. But, you
also mentioned that if we do decide to use setParameter it should be
an easy upmerge later. Is that not the case anymore? We need to start
work on our feature soon so we were thinking of going on that path for
now. Please advise. When will the new API be available?

http://groups.google.com/group/android-developers/browse_thread/thread/3a74d8d000c078e4/d2e7163f569f56e5?lnk=gst&q=setParameter#d2e7163f569f56e5

Also, if there is a preferred way of sharing the table of (key, value)
between native and Java space, please let us know. Not sure if the
expectation is to create a proprietary JNI interface for this?

Thanks.

On Apr 3, 12:50 am, Dave Sparks <[email protected]> wrote:
> Please don't use thesetParameterinterface. It will be removed in the
> next release.
>
> We will be adding an improved mechanism for tunneling device specific
> parameters through the framework to the HAL that is consistent
> throughout the media framework (audio, camera, mediaplayer, etc).
>
> The problem withsetParameteris that you can't set multiple
> parameters as an atomic commit. It was an API added as a stopgap
> measure to solve a specific problem in 1.0 and was never intended to
> be used a public API.
>
> On Apr 2, 12:26 pm, SS <[email protected]> wrote:
>
>
>
> > Hello,
>
> > We want to have a table of (key,value) shared between App layer and
> > Audio HAL. (key, value) will be passed down to the HAL layer using the
> > AudioSetParameterfunction. More than one app (in Java space) will be
> > talking to the Audio HAL (Native space) using that function so, the
> > table will shared between multiple components. What is the preferred
> > way of creating and maintaining this table?
> > Any help is appreciated.
>
> > Thanks.- 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