From 3392199837251e8b165dda1eb0ec211d9c06dd0b Mon Sep 17 00:00:00 2001 From: Fulup Ar Foll Date: Tue, 7 Mar 2017 20:13:20 +0100 Subject: Initial Commit --- README.md | 56 ++++++++++++++++++++++++++++++++++++++++++++++++++++++-- 1 file changed, 54 insertions(+), 2 deletions(-) (limited to 'README.md') diff --git a/README.md b/README.md index e9adb8c..7bc2868 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,54 @@ -# audio-bindings -AGL Audio Bindings for ALSA, Pulse & Most +------------------------------------------------------------------------ +AGL-AudioBindings expose ALSA, Pulse & Most APIs through AGL framework +------------------------------------------------------------------------ + + +AFB_daemon dependency on Standard Linux Distributions +------------------------------------------------------- + # handle dependencies > (OpenSuse-42.2, Fedora-25, Ubuntu 16.04.2LTS) + gcc > 4.8 + libsystemd-dev>=222 + libmicrohttpd-dev>=0.9.48 + openssl-dev + uuid-dev + +``` + # Might want to add following variables into ~/.bashrc + export CC=gcc-5; export CXX=g++-5 # if using gcc5 + export DEST=$HOME/opt + export LD_LIBRARY_PATH=$DEST/lib64 + export LIBRARY_PATH=$DEST/lib64 + export PKG_CONFIG_PATH=$DEST/lib64/pkgconfig + export PATH=$DEST/bin:$PATH + + # Warning: previous GCC options should be set before initial cmake (clean Build/*) + source ~/.bashrc + cd app-framework-binder; mkdir build; cd build + cmake -DCMAKE_INSTALL_PREFIX=$DEST .. + make + make install +``` + +Other Audio Binding Dependencies +---------------------------------- + afb-daemon + alsa-devel + + Edit CMakeList.txt to tune options + + +``` +# Compile binding +INSTALL_DIR=xxxx # default ./Install +mkdir build +cd build +cmake -DCMAKE_INSTALL_PREFIX=$INSTALL_DIR .. +make +make install +ls + +# Start the binder +afb-daemon --token=x --ldpaths=$INSTALL_DIR/lib --port=5555 --rootdir=$INSTALL_DIR --verbose +``` + + -- cgit 1.2.3-korg