From 9bb983deeeac98ef9b5b997932fc63b8a7f4dd0c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?William=20B=C3=A9rub=C3=A9?= Date: Tue, 21 May 2024 19:34:31 -0400 Subject: [PATCH] (Continued) --- src/hal/hisi/v3_aud.h | 2 +- src/hal/hisi/v3_hal.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/hal/hisi/v3_aud.h b/src/hal/hisi/v3_aud.h index 7dbc2ac..dd84cff 100644 --- a/src/hal/hisi/v3_aud.h +++ b/src/hal/hisi/v3_aud.h @@ -69,7 +69,7 @@ typedef struct { } v3_aud_impl; static int v3_aud_load(v3_aud_impl *aud_lib) { - if (!(aud_lib->handle = dlopen("libmi_ai.so", RTLD_LAZY | RTLD_GLOBAL))) { + if (!(aud_lib->handle = dlopen("libmpi.so", RTLD_LAZY | RTLD_GLOBAL))) { fprintf(stderr, "[v3_aud] Failed to load library!\nError: %s\n", dlerror()); return EXIT_FAILURE; } diff --git a/src/hal/hisi/v3_hal.c b/src/hal/hisi/v3_hal.c index 8b16f60..09cf4e6 100644 --- a/src/hal/hisi/v3_hal.c +++ b/src/hal/hisi/v3_hal.c @@ -66,7 +66,7 @@ void v3_audio_deinit(void) v3_aud.fnDisableDevice(_v3_aud_dev); } -int i6_audio_init(void) +int v3_audio_init(void) { int ret;