From 795019bd8b1ca9fe1465a7bc243b713f7e7ab0d4 Mon Sep 17 00:00:00 2001 From: whoselittlelion Date: Wed, 5 Jun 2024 11:31:44 +0800 Subject: [PATCH] fix: alsa config path define Signed-off-by: whoselittlelion --- include/config.h | 25 +++++++++++++++++++++---- 1 file changed, 21 insertions(+), 4 deletions(-) diff --git a/include/config.h b/include/config.h index 68013447..205638c7 100644 --- a/include/config.h +++ b/include/config.h @@ -1,11 +1,28 @@ -/* include/config.h. Generated from config.h.in by configure. */ -/* include/config.h.in. Generated from configure.ac by autoheader. */ +/* + * ALSA lib header file include/config.h + * Copyright (c) 2022 Huawei Device Co., Ltd. + * + * This library is free software; you can redistribute it and/or modify + * it under the terms of the GNU Lesser General Public License as + * published by the Free Software Foundation; either version 2.1 of + * the License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA + * + */ /* Directory with aload* device files */ #define ALOAD_DEVICE_DIRECTORY "/dev/" /* directory containing ALSA configuration database */ -#define ALSA_CONFIG_DIR "/usr/share/alsa" +#define ALSA_CONFIG_DIR "/system/etc/audio/alsa/share" /* Enable assert at error message handler */ /* #undef ALSA_DEBUG_ASSERT */ @@ -17,7 +34,7 @@ #define ALSA_PKGCONF_DIR "/usr/lib/pkgconfig" /* directory containing ALSA add-on modules */ -#define ALSA_PLUGIN_DIR "/usr/lib/alsa-lib" +#define ALSA_PLUGIN_DIR "/system/lib" /* Build hwdep component */ #define BUILD_HWDEP "1" -- Gitee