|
|
|
@ -24,6 +24,7 @@
|
|
|
|
|
#include "Configuration.h"
|
|
|
|
|
#include <utils/Log.h>
|
|
|
|
|
#include <system/audio_effects/effect_aec.h>
|
|
|
|
|
#include <system/audio_effects/effect_dynamicsprocessing.h>
|
|
|
|
|
#include <system/audio_effects/effect_ns.h>
|
|
|
|
|
#include <system/audio_effects/effect_visualizer.h>
|
|
|
|
|
#include <audio_utils/channels.h>
|
|
|
|
@ -2569,7 +2570,8 @@ bool AudioFlinger::EffectChain::isEffectEligibleForSuspend(const effect_descript
|
|
|
|
|
if ((mSessionId == AUDIO_SESSION_OUTPUT_MIX) &&
|
|
|
|
|
(((desc.flags & EFFECT_FLAG_TYPE_MASK) == EFFECT_FLAG_TYPE_AUXILIARY) ||
|
|
|
|
|
(memcmp(&desc.type, SL_IID_VISUALIZATION, sizeof(effect_uuid_t)) == 0) ||
|
|
|
|
|
(memcmp(&desc.type, SL_IID_VOLUME, sizeof(effect_uuid_t)) == 0))) {
|
|
|
|
|
(memcmp(&desc.type, SL_IID_VOLUME, sizeof(effect_uuid_t)) == 0) ||
|
|
|
|
|
(memcmp(&desc.type, SL_IID_DYNAMICSPROCESSING, sizeof(effect_uuid_t)) == 0))) {
|
|
|
|
|
return false;
|
|
|
|
|
}
|
|
|
|
|
return true;
|
|
|
|
|