AudioFlinger: Keep track of music effect thread
when primary output is unavailable
Test: atest CtsMediaAudioTestCases
Bug: 307216402
Bug: 330202134
Bug: 309578734
Change-Id: I0a43627e18368f3b883e9d3e33d60d679f2920d5
Merged-In: I0a43627e18368f3b883e9d3e33d60d679f2920d5
diff --git a/services/audioflinger/AudioFlinger.h b/services/audioflinger/AudioFlinger.h
index 3885465..00ab567 100644
--- a/services/audioflinger/AudioFlinger.h
+++ b/services/audioflinger/AudioFlinger.h
@@ -375,7 +375,8 @@
EXCLUDES_AudioFlinger_Mutex;
status_t moveEffectChain_ll(audio_session_t sessionId,
- IAfPlaybackThread* srcThread, IAfPlaybackThread* dstThread) final
+ IAfPlaybackThread* srcThread, IAfPlaybackThread* dstThread,
+ IAfEffectChain* srcChain = nullptr) final
REQUIRES(mutex(), audio_utils::ThreadBase_Mutex);
// This is a helper that is called during incoming binder calls.