aboutsummaryrefslogtreecommitdiffstats
path: root/ALSA-afb
diff options
context:
space:
mode:
Diffstat (limited to 'ALSA-afb')
-rw-r--r--ALSA-afb/Alsa-ApiHat.c (renamed from ALSA-afb/AlsaCoreBinding.c)2
-rw-r--r--ALSA-afb/Alsa-ApiHat.h (renamed from ALSA-afb/AlsaCoreBinding.h)0
-rw-r--r--ALSA-afb/Alsa-SetGet.c (renamed from ALSA-afb/AlsaCtlSetGet.c)3
-rw-r--r--ALSA-afb/Alsa-Ucm.c (renamed from ALSA-afb/AlsaUseCase.c)3
-rw-r--r--ALSA-afb/CMakeLists.txt4
5 files changed, 6 insertions, 6 deletions
diff --git a/ALSA-afb/AlsaCoreBinding.c b/ALSA-afb/Alsa-ApiHat.c
index d866daf..261b54d 100644
--- a/ALSA-afb/AlsaCoreBinding.c
+++ b/ALSA-afb/Alsa-ApiHat.c
@@ -26,7 +26,7 @@
#include <sys/time.h>
#include <sys/types.h>
-#include "AlsaCoreBinding.h"
+#include "Alsa-ApiHat.h"
PUBLIC const struct afb_binding_interface *afbIface;
diff --git a/ALSA-afb/AlsaCoreBinding.h b/ALSA-afb/Alsa-ApiHat.h
index c0fd51f..c0fd51f 100644
--- a/ALSA-afb/AlsaCoreBinding.h
+++ b/ALSA-afb/Alsa-ApiHat.h
diff --git a/ALSA-afb/AlsaCtlSetGet.c b/ALSA-afb/Alsa-SetGet.c
index a41e390..1f80d01 100644
--- a/ALSA-afb/AlsaCtlSetGet.c
+++ b/ALSA-afb/Alsa-SetGet.c
@@ -27,10 +27,9 @@
#define _GNU_SOURCE // needed for vasprintf
#include <alsa/asoundlib.h>
-#include "AlsaCoreBinding.h"
#include <systemd/sd-event.h>
-
+#include "Alsa-ApiHat.h"
// use to store crl numid user request
typedef struct {
diff --git a/ALSA-afb/AlsaUseCase.c b/ALSA-afb/Alsa-Ucm.c
index 8e23e3c..78a80ad 100644
--- a/ALSA-afb/AlsaUseCase.c
+++ b/ALSA-afb/Alsa-Ucm.c
@@ -36,10 +36,11 @@
#define _GNU_SOURCE // needed for vasprintf
#include <alsa/asoundlib.h>
-#include "AlsaCoreBinding.h"
#include <alsa/asoundlib.h>
#include <alsa/use-case.h>
+#include "Alsa-ApiHat.h"
+
typedef struct {
snd_use_case_mgr_t *ucm;
int cardId;
diff --git a/ALSA-afb/CMakeLists.txt b/ALSA-afb/CMakeLists.txt
index d36dd78..f18449a 100644
--- a/ALSA-afb/CMakeLists.txt
+++ b/ALSA-afb/CMakeLists.txt
@@ -20,12 +20,12 @@
PROJECT_TARGET_ADD(alsa-afb)
# Define project Targets
- ADD_LIBRARY(alsa-afb MODULE AlsaCoreBinding.c AlsaCtlSetGet.c AlsaUseCase.c)
+ ADD_LIBRARY(alsa-afb MODULE Alsa-ApiHat.c Alsa-SetGet.c Alsa-Ucm.c)
# Binder exposes a unique public entry point
SET_TARGET_PROPERTIES(alsa-afb PROPERTIES
PREFIX ""
- LINK_FLAGS "-Wl,--version-script=${CMAKE_SOURCE_DIR}/export.map"
+ LINK_FLAGS ${BINDINGS_LINK_FLAG}
OUTPUT_NAME alsa-lowlevel-binding
)