X-Git-Url: https://gerrit.automotivelinux.org/gerrit/gitweb?a=blobdiff_plain;f=README.md;h=b74a6334527507ca9031713fd9146cb8612dc3db;hb=1f25b3a06ec284ee132bae8a81e183bb2a9ec819;hp=02c1789df65e8dc29410710fbff8430ef864087c;hpb=1fe55667142158af865372a8b9916581662286fe;p=apps%2Fagl-service-unicens.git diff --git a/README.md b/README.md index 02c1789..b74a633 100644 --- a/README.md +++ b/README.md @@ -1,7 +1,14 @@ ------------------------------------------------------------------------ -AGL-Unicens binding expose Unicens-V2 APIs through AGL framework +AGL-UNICENS binding expose UNICENS-V2 APIs through AGL framework ------------------------------------------------------------------------ +Cloning Audio-Binding from Git +------------------------------------------------------- + +``` +git clone --recurse-submodules https://github.com/iotbzh/unicens2-binding +cd unicens2-binding +``` AFB_daemon dependency on Standard Linux Distributions ------------------------------------------------------- @@ -21,7 +28,7 @@ AFB_daemon dependency on Standard Linux Distributions Ubuntu >= 16.4 libuuid-devel apt-get install cmake git electric-fence libsystemd-dev libssl-dev uuid-dev libasound2-dev libgcrypt20-dev libgnutls-dev libgnutls-dev libjson-c-dev libmagic-dev libmxml-dev - libmicrohttpd>=0.9.54 (as today OpenSuse-42.2 or Ubuntu-.16.4 ship older versions) + libmicrohttpd>=0.9.55 (as today OpenSuse-42.2 or Ubuntu-.16.4 ship older versions) afb-daemon from AGL Gerrit git clone https://gerrit.automotivelinux.org/gerrit/src/app-framework-binder ``` @@ -42,12 +49,13 @@ AFB_daemon dependency on Standard Linux Distributions source ~/.bashrc # install LibMicroHttpd - wget https://ftp.gnu.org/gnu/libmicrohttpd/libmicrohttpd-0.9.54.tar.gz - tar -xzf libmicrohttpd-0.9.54.tar.gz - cd libmicrohttpd-0.9.54 - ./configure --prefix=$INSTALL_PREFIX + LIB_MH_VERSION=0.9.55 + wget https://ftp.gnu.org/gnu/libmicrohttpd/libmicrohttpd-${LIB_MH_VERSION}.tar.gz + tar -xzf libmicrohttpd-${LIB_MH_VERSION}.tar.gz + cd libmicrohttpd-${LIB_MH_VERSION} + ./configure --prefix=${INSTALL_PREFIX} make - make install-strip + sudo make install-strip # retrieve last AFB_daemon from AGL git clone https://gerrit.automotivelinux.org/gerrit/src/app-framework-binder @@ -146,4 +154,19 @@ Note: remote-target-populate will Note that Netbeans impose to set debug directory to ./build/pkgout or it won't find binding symbols for source debugging +# Default Volume of Amplifiers +The binding currently supports two use cases for amplifiers. +1. Amplifiers are initialized with a default volume. The head unit uses software volume + to change the volume of streaming data. +2. Amplifiers are initialized muted. The head unit uses hardware volume (e.g. HAL-MOST-UNICENS) + to change the volume of amplifiers remotely. +Use case 2 is the default use case. If you like to use this binding without hardware volume support +please adopt the ```config_multichannel_audio_kit.xml``` as explained below. + +``` + + + + +```