commit | 79f98745af22b2924c0975fbf97036a4f1c8f1d7 | [log] [tgz] |
---|---|---|
author | Shunkai Yao <yaoshunkai@google.com> | Wed May 03 23:54:43 2023 +0000 |
committer | Shunkai Yao <yaoshunkai@google.com> | Thu Jun 15 01:37:17 2023 +0000 |
tree | 5765ef95d2c7016f5c22dadd16afe310fa1c2081 | |
parent | 5455eb45bbee18d13130ac6ba58130723383c803 [diff] [blame] |
Refine EffectProxy logic To allow create multiple EffectProxy instances for same type Implement dump with all sub-effects Bug: 271500140 Test: Enable AIDL and flash to pixel Test: Play Youtube music with effect on/off Test: dumpsys media.audio_flinger Change-Id: I468d7e8712d7b098d869f147a4b40881ef11cabb Merged-In: I468d7e8712d7b098d869f147a4b40881ef11cabb
diff --git a/media/libaudiohal/impl/EffectConversionHelperAidl.h b/media/libaudiohal/impl/EffectConversionHelperAidl.h index e2cf87f..7c8f11b 100644 --- a/media/libaudiohal/impl/EffectConversionHelperAidl.h +++ b/media/libaudiohal/impl/EffectConversionHelperAidl.h
@@ -41,6 +41,7 @@ std::shared_ptr<DataMQ> getInputMQ() { return mInputQ; } std::shared_ptr<DataMQ> getOutputMQ() { return mOutputQ; } std::shared_ptr<android::hardware::EventFlag> getEventFlagGroup() { return mEfGroup; } + bool isBypassing() const; protected: const int32_t mSessionId;