audiofx: add device descriptor to AudioEffect constructor

Add the possibility to specify a target audio device when
creating an audio effect by passing its type and address to
AudioEffect constructor.
When doing so, the session ID must be AUDIO_SESSION_DEVICE.

Bug: 136294538
Test: make
Change-Id: Iba96aca496cd0588e61c9272922270c4049b7c06
Merged-In: Iba96aca496cd0588e61c9272922270c4049b7c06
1 file changed