Hi Eric, We are facing an issue with power management,during music streaming to headset if I pause the headset music is getting paused but after system is not going to low power mode (core power domain off).
If I change the last parameter for setouputDevice from "true" to "false" in "stopOutput" function of "AudioPolicyManagerBase.cpp" then I see after A2DP paue system hitting low power. setOutputDevice(mHardwareOutput, getNewDevice(mHardwareOutput), true); Is changing true to false to setOutputDevice make any difference for the change you have below? also why is it true to being with ? ef9500fe53b6ec67b610207832b52f8bfbb20cd5 commit ef9500fe53b6ec67b610207832b52f8bfbb20cd5 Author: Eric Laurent <elaur...@google.com> Date: Thu Mar 11 14:47:00 2010 -0800 Fix issue 2416481: Support Voice Dialer over BT SCO. - AudioPolicyManager: allow platform specific choice for opening a direct output. Also fixed problems in direct output management. - AudioFliinger: use shorter standby delay and track inactivity grace period for direct output thread to free hardware resources as soon as possible. - AudioSystem: do not use cached output selection in getOutput() when a direct output can be selected. Change-Id: If44b50d29237b8402ffd7a5ba1dc43c56f903e9b + if (output != mHardwareOutput) { + setOutputDevice(mHardwareOutput, getNewDevice(mHardwareOutput), true); + } -- Regards Bheemsen -- unsubscribe: android-porting+unsubscr...@googlegroups.com website: http://groups.google.com/group/android-porting