* HDMI audio devices on Raspberry Pi use FORMAT_IEC958_SUBFRAME_LE which is not supported by tinyalsa used on Android. Use ALSA library and its virtual vc4 audio devices that use IEC958 plugin to manage the subframe conversion.
35 lines
739 B
Plaintext
35 lines
739 B
Plaintext
// Copyright (C) 2015 The Android Open Source Project
|
|
// Copyright (C) 2025 KonstaKANG
|
|
//
|
|
// SPDX-License-Identifier: Apache-2.0
|
|
|
|
cc_library {
|
|
name: "libalsautilsv2-rpi",
|
|
vendor_available: true,
|
|
srcs: [
|
|
"alsa_device_profile.c",
|
|
"alsa_device_proxy.c",
|
|
"alsa_format.c",
|
|
"alsa_logging.c",
|
|
],
|
|
export_include_dirs: ["include"],
|
|
header_libs: [
|
|
"libaudio_system_headers",
|
|
],
|
|
export_header_lib_headers: [
|
|
"libaudio_system_headers",
|
|
],
|
|
shared_libs: [
|
|
"libasound",
|
|
"libaudioutils",
|
|
"libcutils",
|
|
"liblog",
|
|
"libtinyalsav2",
|
|
],
|
|
cflags: [
|
|
"-Wall",
|
|
"-Werror",
|
|
"-Wno-unused-parameter",
|
|
],
|
|
}
|