mirror of
https://github.com/Evolution-X/hardware_interfaces
synced 2026-02-01 16:50:18 +00:00
This patch adds necessary structures and prepares for implementing data flow for audio I/O. Also in this patch we clarify the relationship between audio patches and buffer size for audio I/O, and between buffer size and latency. Bug: 205884982 Bug: 233816848 Test: atest VtsHalAudioCoreTargetTest Change-Id: I8522632607d4cf50a112225c19b5dd5ad8848591
54 lines
1.5 KiB
Plaintext
54 lines
1.5 KiB
Plaintext
package {
|
|
// See: http://go/android-license-faq
|
|
// A large-scale-change added 'default_applicable_licenses' to import
|
|
// all of the 'license_kinds' from "hardware_interfaces_license"
|
|
// to get the below license kinds:
|
|
// SPDX-license-identifier-Apache-2.0
|
|
default_applicable_licenses: ["hardware_interfaces_license"],
|
|
}
|
|
|
|
cc_library_static {
|
|
name: "libaudioserviceexampleimpl",
|
|
vendor: true,
|
|
shared_libs: [
|
|
"libbase",
|
|
"libbinder_ndk",
|
|
"libstagefright_foundation",
|
|
"android.media.audio.common.types-V1-ndk",
|
|
"android.hardware.audio.core-V1-ndk",
|
|
"android.hardware.common-V2-ndk",
|
|
"android.hardware.common.fmq-V1-ndk",
|
|
],
|
|
export_include_dirs: ["include"],
|
|
srcs: [
|
|
"Config.cpp",
|
|
"Configuration.cpp",
|
|
"Module.cpp",
|
|
"Stream.cpp",
|
|
],
|
|
visibility: [
|
|
":__subpackages__",
|
|
],
|
|
}
|
|
|
|
cc_binary {
|
|
name: "android.hardware.audio.service-aidl.example",
|
|
relative_install_path: "hw",
|
|
init_rc: ["android.hardware.audio.service-aidl.example.rc"],
|
|
vintf_fragments: ["android.hardware.audio.service-aidl.xml"],
|
|
vendor: true,
|
|
shared_libs: [
|
|
"libbase",
|
|
"libbinder_ndk",
|
|
"libstagefright_foundation",
|
|
"android.media.audio.common.types-V1-ndk",
|
|
"android.hardware.audio.core-V1-ndk",
|
|
"android.hardware.common-V2-ndk",
|
|
"android.hardware.common.fmq-V1-ndk",
|
|
],
|
|
static_libs: [
|
|
"libaudioserviceexampleimpl",
|
|
],
|
|
srcs: ["main.cpp"],
|
|
}
|