Hello, We are planning on using setParameter() function in AudioManager.java for turning on/off some audio effects from the UI. This function goes all the way to the HAL layer. However, we see a comment in the code saying the following (pasted at the end of mail). So, my question is it okay to start using this API with our own defined set of (key,value) or is there a possibility of this function disappearing later. If yes, then is there any other recommended function to pass on UI settings all the way down to the HAL.
Thanks. /* * Sets a generic audio configuration parameter. The use of these parameters * are platform dependant, see libaudio * * ** Temporary interface - DO NOT USE * * TODO: Replace with a more generic key:value get/set mechanism * * param key name of parameter to set. Must not be null. * param value value of parameter. Must not be null. */ /** * @hide */ public void setParameter(String key, String value) { IAudioService service = getService(); try { service.setParameter(key, value); } catch (RemoteException e) { Log.e(TAG, "Dead object in setParameter", e); } } --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~----------~----~----~----~------~----~------~--~---