Treat AUDIO_SOURCE_DEFAULT as AUDIO_SOURCE_MIC
AUDIO_SOURCE_DEFAULT is translated to AUDIO_SOURCE_MIC in AudioPolicyManager. That means AUDIO_SOURCE_DEFAULT should behave as same as AUDIO_SOURCE_MIC. In this commit, argument for addInputEffects() is translated for avoid different behavior between AUDIO_SOURCE_DEFAULT and AUDIO_SOURCE_MIC. This means same preprocessing effects are applied for both Sources. Bug: 137898521 Test: Add pre-processing effect for AUDIO_SOURCE_MIC then check if it works for AUDIO_SOURCE_DEFAULT as well Change-Id: I3df1bcc7309dc535a721113cc4465b20733b4058 Merged-In: I3df1bcc7309dc535a721113cc4465b20733b4058
Loading
Please register or sign in to comment