From 178a830b8ad85813b7bf0b271be79f3a8d3a6277 Mon Sep 17 00:00:00 2001 From: Tobias Jahnke Date: Wed, 10 Oct 2018 15:52:57 +0200 Subject: 4a-hal-unicens: add Fiberdyne Master Volume Bug-AGL: SPEC-1758 As preparation before introducing UNICENS 4a plugin: - Init volume library at first - Add fiberdyne master volume - Introduce commands sent by control messages - Removes outdated controls - Known issue: turn ALSA volume above "93" to hear some sound Change-Id: I591c6b109a51c9da602ad08514b67c2ec573e09c Signed-off-by: Tobias Jahnke --- MOST_UNICENS/ucs2-vol/src/libmostvolume.cpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'MOST_UNICENS/ucs2-vol/src/libmostvolume.cpp') diff --git a/MOST_UNICENS/ucs2-vol/src/libmostvolume.cpp b/MOST_UNICENS/ucs2-vol/src/libmostvolume.cpp index 5eea3fd..35f769f 100644 --- a/MOST_UNICENS/ucs2-vol/src/libmostvolume.cpp +++ b/MOST_UNICENS/ucs2-vol/src/libmostvolume.cpp @@ -23,6 +23,7 @@ #include "libmostvolume.h" #include "setup.h" +#include /*#include */ static bool _running = false; @@ -61,6 +62,7 @@ extern "C" uint8_t lib_most_volume_set(enum lib_most_volume_channel_t channel, u { uint8_t success = 1U; /*std::cerr << "lib_most_volume_set(): channel=" << channel << ", volume=" << (int)volume << std::endl;*/ + AFB_NOTICE("lib_most_volume_set"); if (_running) { -- cgit 1.2.3-korg