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
32 lines
647 B
Plaintext
32 lines
647 B
Plaintext
cc_library_shared {
|
|
name: "libaudioeffect_jni",
|
|
|
|
srcs: [
|
|
"android_media_AudioEffect.cpp",
|
|
"android_media_SourceDefaultEffect.cpp",
|
|
"android_media_StreamDefaultEffect.cpp",
|
|
"android_media_Visualizer.cpp",
|
|
"Visualizer.cpp",
|
|
],
|
|
|
|
shared_libs: [
|
|
"liblog",
|
|
"libcutils",
|
|
"libutils",
|
|
"libandroid_runtime",
|
|
"libnativehelper",
|
|
"libaudioclient",
|
|
"libaudioutils",
|
|
"libaudiofoundation",
|
|
],
|
|
|
|
version_script: "exports.lds",
|
|
|
|
cflags: [
|
|
"-Wall",
|
|
"-Werror",
|
|
"-Wunused",
|
|
"-Wunreachable-code",
|
|
],
|
|
}
|