AudioFlinger: implement device specific audio effects
Add management of audio effects applied to a specific input or output audio device. A new class DeviceEffectProxy derived from Effectbase is added to represent an effect attached to a particular audio device type and address. This proxy manages one or more actual EffectModule instances automatically added to a playback or capture thread or directly to the audio HAL when the targeted audio device is used by an audio patch. A new DeviceEffectManager class is added to manage creation and release of DeviceEffectProxy instances and monitor creation and release of audio patches and create or release actual effect instances accordingly. Bug: 136294538 Test: make Change-Id: I23b9f9db4459136039c5ee327cf3b1aefa7db5af
Loading
Please register or sign in to comment