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
This commit is contained in:
Eric Laurent
2019-11-13 12:18:57 -08:00
parent 78c9c6e44b
commit 983db8591d

View File

@@ -17,6 +17,7 @@ cc_library_shared {
"libnativehelper",
"libaudioclient",
"libaudioutils",
"libaudiofoundation",
],
version_script: "exports.lds",