summaryrefslogtreecommitdiffstats
path: root/Alsa-afb
diff options
context:
space:
mode:
authorRomain Forlot <romain.forlot@iot.bzh>2017-08-21 10:23:18 +0200
committerRomain Forlot <romain.forlot@iot.bzh>2017-08-21 10:23:18 +0200
commit88d0b8c02eaaac8843f184e379fc5a19250295e5 (patch)
tree4893d2b5cb0fdbddf0357ebd7d32009e73856cec /Alsa-afb
parentba709f088f5a4718b7096003ab19083af4681155 (diff)
parentd51d083be8e34000cd00ce979445eacb45a16e97 (diff)
Merge branch 'fulup-dev'
Change-Id: I7dc6859767ac5919cf383e33bd2cf3a98698d9b4
Diffstat (limited to 'Alsa-afb')
-rw-r--r--Alsa-afb/Alsa-ApiHat.c6
-rw-r--r--Alsa-afb/CMakeLists.txt3
2 files changed, 3 insertions, 6 deletions
diff --git a/Alsa-afb/Alsa-ApiHat.c b/Alsa-afb/Alsa-ApiHat.c
index 1e9f5ad..e22f2d5 100644
--- a/Alsa-afb/Alsa-ApiHat.c
+++ b/Alsa-afb/Alsa-ApiHat.c
@@ -31,7 +31,7 @@
#include "Alsa-ApiHat.h"
STATIC int AlsaInit(void) {
- int rc= prctl(PR_SET_NAME, "afb-audio-agent\0",NULL,NULL,NULL);
+ int rc= prctl(PR_SET_NAME, "afb-aaaa-agent",NULL,NULL,NULL);
if (rc) AFB_ERROR("ERROR: AlsaCore fail to rename process");
return rc;
@@ -62,8 +62,8 @@ static const struct afb_verb_v2 api_verbs[] = {
/*
* description of the binding for afb-daemon
*/
-const struct afb_binding_v2 afbBindingV2 = {
+const afb_binding_v2 afbBindingV2 = {
.api = "alsacore",
.verbs = api_verbs,
- .init = AlsaInit,
+ .preinit = AlsaInit,
};
diff --git a/Alsa-afb/CMakeLists.txt b/Alsa-afb/CMakeLists.txt
index 876e837..fab49ae 100644
--- a/Alsa-afb/CMakeLists.txt
+++ b/Alsa-afb/CMakeLists.txt
@@ -36,6 +36,3 @@ PROJECT_TARGET_ADD(alsa-lowlevel)
${link_libraries}
)
- # installation directory
- INSTALL(TARGETS ${TARGET_NAME}
- LIBRARY DESTINATION ${BINDINGS_INSTALL_DIR})