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/CMakeLists.txt | 2 +- MOST_UNICENS/hal_most_unicens.c | 208 +-- MOST_UNICENS/ucs2-vol/inc/device_value.h | 7 +- MOST_UNICENS/ucs2-vol/inc/libmostvolume.h | 3 + MOST_UNICENS/ucs2-vol/inc/setup.h | 2 + MOST_UNICENS/ucs2-vol/src/device_container.cpp | 23 +- MOST_UNICENS/ucs2-vol/src/device_value.cpp | 33 +- MOST_UNICENS/ucs2-vol/src/libmostvolume.cpp | 2 + MOST_UNICENS/ucs2-vol/src/setup.cpp | 26 +- MOST_UNICENS/wrap_unicens.c | 32 + MOST_UNICENS/wrap_unicens.h | 1 + MOST_UNICENS/wrap_volume.c | 3 +- afb-utilities | 2 +- conf.d/cmake/config.cmake | 41 +- nbproject/configurations.xml | 2174 ++---------------------- nbproject/project.xml | 17 +- 16 files changed, 254 insertions(+), 2322 deletions(-) diff --git a/MOST_UNICENS/CMakeLists.txt b/MOST_UNICENS/CMakeLists.txt index 23bf75f..5107cac 100644 --- a/MOST_UNICENS/CMakeLists.txt +++ b/MOST_UNICENS/CMakeLists.txt @@ -35,7 +35,7 @@ PROJECT_TARGET_ADD(hal-most-unicens) # Library dependencies (include updates automatically) TARGET_LINK_LIBRARIES(${TARGET_NAME} hal-utilities-4a - afb-utilities + afb-helpers ucs2-volume ${link_libraries} ) diff --git a/MOST_UNICENS/hal_most_unicens.c b/MOST_UNICENS/hal_most_unicens.c index d31082c..d106d6e 100644 --- a/MOST_UNICENS/hal_most_unicens.c +++ b/MOST_UNICENS/hal_most_unicens.c @@ -31,101 +31,6 @@ #define PCM_Volume_Navigation 1001 #define PCM_Volume_Emergency 1002 -/* Default Values for MasterVolume Ramping */ -STATIC halVolRampT volRampMaster= { - .mode = RAMP_VOL_NORMAL, - .slave = Master_Playback_Volume, - .delay = 100*1000, // ramping delay in us - .stepDown=1, - .stepUp =1, -}; - -/* Soft Volume Ramping Value can be customize by Audio Role and hardware card */ -STATIC halVolRampT volRampEmergency= { - .slave = Emergency_Playback_Volume, - .delay = 50*1000, // ramping delay in us - .stepDown= 2, - .stepUp = 10, -}; - -STATIC halVolRampT volRampWarning= { - .slave = Warning_Playback_Volume, - .delay = 50*1000, // ramping delay in us - .stepDown= 2, - .stepUp = 10, -}; - -STATIC halVolRampT volRampCustomHigh= { - .slave = CustomHigh_Playback_Volume, - .delay = 50*1000, // ramping delay in us - .stepDown= 2, - .stepUp = 4, -}; - -STATIC halVolRampT volRampPhone= { - .slave = Phone_Playback_Volume, - .delay = 50*1000, // ramping delay in us - .stepDown= 2, - .stepUp = 4, -}; - -STATIC halVolRampT volRampNavigation= { - .slave = Navigation_Playback_Volume, - .delay = 50*1000, // ramping delay in us - .stepDown= 2, - .stepUp = 4, -}; - -STATIC halVolRampT volRampCustomMedium= { - .slave = CustomMedium_Playback_Volume, - .delay = 50*1000, // ramping delay in us - .stepDown= 2, - .stepUp = 4, -}; - -STATIC halVolRampT volRampVideo= { - .slave = Video_Playback_Volume, - .delay = 50*1000, // ramping delay in us - .stepDown= 2, - .stepUp = 4, -}; - -STATIC halVolRampT volRampStreaming= { - .slave = Streaming_Playback_Volume, - .delay = 50*1000, // ramping delay in us - .stepDown= 2, - .stepUp = 4, -}; - -STATIC halVolRampT volRampMultimedia= { - .slave = Multimedia_Playback_Volume, - .delay = 50*1000, // ramping delay in us - .stepDown= 2, - .stepUp = 4, -}; - -STATIC halVolRampT volRampRadio= { - .slave = Radio_Playback_Volume, - .delay = 50*1000, // ramping delay in us - .stepDown= 2, - .stepUp = 4, -}; - -STATIC halVolRampT volRampCustomLow= { - .slave = CustomLow_Playback_Volume, - .delay = 50*1000, // ramping delay in us - .stepDown= 2, - .stepUp = 4, -}; - -STATIC halVolRampT volRampFallback= { - .slave = Fallback_Playback_Volume, - .delay = 50*1000, // ramping delay in us - .stepDown= 2, - .stepUp = 4, -}; - - static int master_volume = 80; static json_bool master_switch; static int pcm_volume[PCM_MAX_CHANNELS] = {100,100,100,100,100,100}; @@ -238,93 +143,14 @@ STATIC alsaHalMapT alsaHalMap[]= { { .tag=Master_Playback_Volume, .cb={.callback=unicens_master_vol_cb, .handle=&master_volume}, .info="Sets master playback volume", .ctl={.numid=CTL_AUTO, .type=SND_CTL_ELEM_TYPE_INTEGER, .count=1, .minval=0, .maxval=100, .step=1, .value=80, .name="Master Playback Volume"} }, +#if 0 /*{ .tag=Master_OnOff_Switch, .cb={.callback=unicens_master_switch_cb, .handle=&master_switch}, .info="Sets master playback switch", .ctl={.numid=CTL_AUTO, .type=SND_CTL_ELEM_TYPE_BOOLEAN, .count=1, .minval=0, .maxval=1, .step=1, .value=1, .name="Master Playback Switch"} },*/ { .tag=PCM_Playback_Volume, .cb={.callback=unicens_pcm_vol_cb, .handle=&pcm_volume}, .info="Sets PCM playback volume", .ctl={.numid=CTL_AUTO, .type=SND_CTL_ELEM_TYPE_INTEGER, .count=6, .minval=0, .maxval=100, .step=1, .value=100, .name="PCM Playback Volume"} }, - - // Sound card does not have hardware volume ramping - { .tag=Master_Playback_Ramp, .cb={.callback=volumeRamp, .handle=&volRampMaster}, .info="RampUp Master Volume", - .ctl={.numid=CTL_AUTO, .type=SND_CTL_ELEM_TYPE_INTEGER, .name="Master_Ramp", .count=1, .minval=0, .maxval=100, .step=1, .value=80 } - }, - - // Implement Rampup Volume for Virtual Channels (0-100) - { .tag=Emergency_Playback_Ramp, .cb={.callback=volumeRamp, .handle=&volRampEmergency}, .info="RampUp Emergency Volume", - .ctl={.numid=CTL_AUTO, .type=SND_CTL_ELEM_TYPE_INTEGER,.name="Emergency_Ramp", .minval=0, .maxval=100, .step=1, .value=80 } - }, - { .tag=Warning_Playback_Ramp, .cb={.callback=volumeRamp, .handle=&volRampWarning}, .info="RampUp Warning Volume", - .ctl={.numid=CTL_AUTO, .type=SND_CTL_ELEM_TYPE_INTEGER,.name="Warning_Ramp", .minval=0, .maxval=100, .step=1, .value=80 } - }, - { .tag=CustomHigh_Playback_Ramp, .cb={.callback=volumeRamp, .handle=&volRampCustomHigh}, .info="RampUp CustomHigh Volume", - .ctl={.numid=CTL_AUTO, .type=SND_CTL_ELEM_TYPE_INTEGER,.name="CustomHigh_Ramp", .minval=0, .maxval=100, .step=1, .value=80 } - }, - { .tag=Phone_Playback_Ramp, .cb={.callback=volumeRamp, .handle=&volRampPhone}, .info="RampUp Phone Volume", - .ctl={.numid=CTL_AUTO, .type=SND_CTL_ELEM_TYPE_INTEGER,.name="Phone_Ramp", .minval=0, .maxval=100, .step=1, .value=80 } - }, - { .tag=Navigation_Playback_Ramp, .cb={.callback=volumeRamp, .handle=&volRampNavigation}, .info="RampUp Navigation Volume", - .ctl={.numid=CTL_AUTO, .type=SND_CTL_ELEM_TYPE_INTEGER,.name="Navigation_Ramp", .minval=0, .maxval=100, .step=1, .value=80 } - }, - { .tag=CustomMedium_Playback_Ramp, .cb={.callback=volumeRamp, .handle=&volRampCustomMedium}, .info="RampUp CustomMedium Volume", - .ctl={.numid=CTL_AUTO, .type=SND_CTL_ELEM_TYPE_INTEGER,.name="CustomMedium_Ramp", .minval=0, .maxval=100, .step=1, .value=80 } - }, - { .tag=Video_Playback_Ramp, .cb={.callback=volumeRamp, .handle=&volRampVideo}, .info="RampUp Video Volume", - .ctl={.numid=CTL_AUTO, .type=SND_CTL_ELEM_TYPE_INTEGER,.name="Video_Ramp", .minval=0, .maxval=100, .step=1, .value=80 } - }, - { .tag=Streaming_Playback_Ramp, .cb={.callback=volumeRamp, .handle=&volRampStreaming}, .info="RampUp Streaming Volume", - .ctl={.numid=CTL_AUTO, .type=SND_CTL_ELEM_TYPE_INTEGER,.name="Streaming_Ramp", .minval=0, .maxval=100, .step=1, .value=80 } - }, - { .tag=Multimedia_Playback_Ramp, .cb={.callback=volumeRamp, .handle=&volRampMultimedia}, .info="RampUp Multimedia Volume", - .ctl={.numid=CTL_AUTO, .type=SND_CTL_ELEM_TYPE_INTEGER,.name="Multimedia_Ramp", .minval=0, .maxval=100, .step=1, .value=80 } - }, - { .tag=Radio_Playback_Ramp, .cb={.callback=volumeRamp, .handle=&volRampRadio}, .info="RampUp Radio Volume", - .ctl={.numid=CTL_AUTO, .type=SND_CTL_ELEM_TYPE_INTEGER,.name="Radio_Ramp", .minval=0, .maxval=100, .step=1, .value=80 } - }, - { .tag=CustomLow_Playback_Ramp, .cb={.callback=volumeRamp, .handle=&volRampCustomLow}, .info="RampUp CustomLow Volume", - .ctl={.numid=CTL_AUTO, .type=SND_CTL_ELEM_TYPE_INTEGER,.name="CustomLow_Ramp", .minval=0, .maxval=100, .step=1, .value=80 } - }, - { .tag=Fallback_Playback_Ramp, .cb={.callback=volumeRamp, .handle=&volRampFallback}, .info="RampUp Fallback Volume", - .ctl={.numid=CTL_AUTO, .type=SND_CTL_ELEM_TYPE_INTEGER,.name="Fallback_Ramp", .minval=0, .maxval=100, .step=1, .value=80 } - }, - - // Bind with existing ones created by ALSA configuration (and linked to softvol) [0-255] - { .tag=Emergency_Playback_Volume , - .ctl={.name="Emergency_Volume",.numid=CTL_AUTO, .type=SND_CTL_ELEM_TYPE_INTEGER,.count=2, .maxval=255, .value=204 } - }, - { .tag=Warning_Playback_Volume , - .ctl={.name="Warning_Volume",.numid=CTL_AUTO, .type=SND_CTL_ELEM_TYPE_INTEGER,.count=2, .maxval=255, .value=204 } - }, - { .tag=CustomHigh_Playback_Volume , - .ctl={.name="CustomHigh_Volume",.numid=CTL_AUTO, .type=SND_CTL_ELEM_TYPE_INTEGER,.count=2, .maxval=255, .value=204 } - }, - { .tag=Phone_Playback_Volume , - .ctl={.name="Phone_Volume",.numid=CTL_AUTO, .type=SND_CTL_ELEM_TYPE_INTEGER,.count=2, .maxval=255, .value=204 } - }, - { .tag=Navigation_Playback_Volume , - .ctl={.name="Navigation_Volume",.numid=CTL_AUTO, .type=SND_CTL_ELEM_TYPE_INTEGER,.count=2, .maxval=255, .value=204 } - }, - { .tag=CustomMedium_Playback_Volume , - .ctl={.name="CustomMedium_Volume",.numid=CTL_AUTO, .type=SND_CTL_ELEM_TYPE_INTEGER,.count=2, .maxval=255, .value=204 } - }, - { .tag=Video_Playback_Volume , - .ctl={.name="Video_Volume",.numid=CTL_AUTO, .type=SND_CTL_ELEM_TYPE_INTEGER,.count=2, .maxval=255, .value=204 } - }, - { .tag=Streaming_Playback_Volume , - .ctl={.name="Streaming_Volume",.numid=CTL_AUTO, .type=SND_CTL_ELEM_TYPE_INTEGER,.count=2, .maxval=255, .value=204 } - }, - { .tag=Multimedia_Playback_Volume , - .ctl={.name="Multimedia_Volume",.numid=CTL_AUTO, .type=SND_CTL_ELEM_TYPE_INTEGER,.count=2, .maxval=255, .value=204 } - }, - { .tag=Radio_Playback_Volume , - .ctl={.name="Radio_Volume",.numid=CTL_AUTO, .type=SND_CTL_ELEM_TYPE_INTEGER,.count=2, .maxval=255, .value=204 } - }, - { .tag=CustomLow_Playback_Volume , - .ctl={.name="CustomLow_Volume",.numid=CTL_AUTO, .type=SND_CTL_ELEM_TYPE_INTEGER,.count=2, .maxval=255, .value=204 } - }, - { .tag=Fallback_Playback_Volume , - .ctl={.name="Fallback_Volume",.numid=CTL_AUTO, .type=SND_CTL_ELEM_TYPE_INTEGER,.count=2, .maxval=255, .value=204 } - }, +#endif { .tag=EndHalCrlTag} /* marker for end of the array */ } ; @@ -341,6 +167,21 @@ STATIC int unicens_service_init() { int err = 0; AFB_NOTICE("Initializing HAL-MOST-UNICENS-BINDING"); + err = wrap_volume_init(); + if (err) { + AFB_ERROR("Failed to initialize wrapper for volume library"); + goto OnErrorExit; + } + + /* Step 1: Set output volume to pre-defined level */ + /* in order to avoid muted volume to be persistent after boot. */ + wrap_volume_master(80); + wrap_volume_pcm(pcm_volume, PCM_MAX_CHANNELS/*array size*/); + + /* Step 2: risk to have influence on mixer controls init */ + /* request of initial card values */ + /* unicens_request_card_values(ALSA_DEVICE_ID); */ + err = halServiceInit(afbBindingV2.api, &alsaHalSndCard); if (err) { AFB_ERROR("Cannot initialize ALSA soundcard."); @@ -359,21 +200,6 @@ STATIC int unicens_service_init() { goto OnErrorExit; } - err = wrap_volume_init(); - if (err) { - AFB_ERROR("Failed to initialize wrapper for volume library"); - goto OnErrorExit; - } - - /* Step 1: Set output volume to pre-defined level */ - /* in order to avoid muted volume to be persistent after boot. */ - wrap_volume_master(80); - wrap_volume_pcm(pcm_volume, PCM_MAX_CHANNELS/*array size*/); - - /* Step 2: risk to have influence on mixer controls init */ - /* request of initial card values */ - /* unicens_request_card_values(ALSA_DEVICE_ID); */ - OnErrorExit: AFB_NOTICE("Initializing HAL-MOST-UNICENS-BINDING done.."); return err; diff --git a/MOST_UNICENS/ucs2-vol/inc/device_value.h b/MOST_UNICENS/ucs2-vol/inc/device_value.h index bc8f142..c2fe0b1 100644 --- a/MOST_UNICENS/ucs2-vol/inc/device_value.h +++ b/MOST_UNICENS/ucs2-vol/inc/device_value.h @@ -53,13 +53,14 @@ struct STxMessage { enum DeviceValueType { DEVICE_VAL_MASTER = 0, DEVICE_VAL_LEFT = 1, - DEVICE_VAL_RIGHT = 2 + DEVICE_VAL_RIGHT = 2, + DEVICE_VAL_FIBERDYNE_MASTER = 3 }; class CDeviceValue { public: - CDeviceValue(uint16_t address, DeviceValueType type, uint16_t key); + CDeviceValue(uint16_t address, DeviceValueType type, uint16_t key, bool is_i2c); virtual ~CDeviceValue(); uint16_t GetKey(){return _key;} @@ -72,6 +73,7 @@ public: bool FireUpdateMessage(lib_most_volume_writei2c_cb_t writei2c_fptr, lib_most_volume_writei2c_result_cb_t result_fptr, void *result_user_ptr);// fires message & updates actual value + bool FireControlMessage(lib_most_volume_sendmessage_cb_t sendmsg_fptr); void SetAvailable(bool active){this->_is_available = active; _actual_value = 0x01u;} bool IsAvailable() {return this->_is_available;} @@ -84,6 +86,7 @@ private: bool _is_available; // related node is available bool _is_busy; // do not update while busy + bool _is_i2c; DeviceValueType _type; // determines the remote i2c command uint16_t _key; // lookup key uint16_t _address; // target node/group address diff --git a/MOST_UNICENS/ucs2-vol/inc/libmostvolume.h b/MOST_UNICENS/ucs2-vol/inc/libmostvolume.h index 1147993..5335754 100644 --- a/MOST_UNICENS/ucs2-vol/inc/libmostvolume.h +++ b/MOST_UNICENS/ucs2-vol/inc/libmostvolume.h @@ -63,9 +63,12 @@ typedef int (*lib_most_volume_writei2c_cb_t)(uint16_t node, uint8_t *data_ptr, u lib_most_volume_writei2c_result_cb_t result_fptr, void *result_user_ptr); +typedef int (*lib_most_volume_sendmessage_cb_t)(uint16_t node, uint16_t msgid, uint8_t *data_ptr, uint8_t data_sz); + typedef struct lib_most_volume_init_ { lib_most_volume_service_cb_t service_cb; lib_most_volume_writei2c_cb_t writei2c_cb; + lib_most_volume_sendmessage_cb_t sendmsg_cb; } lib_most_volume_init_t; diff --git a/MOST_UNICENS/ucs2-vol/inc/setup.h b/MOST_UNICENS/ucs2-vol/inc/setup.h index e7cda01..3be8bf4 100644 --- a/MOST_UNICENS/ucs2-vol/inc/setup.h +++ b/MOST_UNICENS/ucs2-vol/inc/setup.h @@ -51,6 +51,8 @@ private: CDeviceValue _volume_amp_272_m; CDeviceValue _volume_amp_272_l; CDeviceValue _volume_amp_272_r; + + CDeviceValue _volume_amp_510_m; CDeviceContainer _value_container; lib_most_volume_init_t init_data; diff --git a/MOST_UNICENS/ucs2-vol/src/device_container.cpp b/MOST_UNICENS/ucs2-vol/src/device_container.cpp index f8b1961..3448a23 100644 --- a/MOST_UNICENS/ucs2-vol/src/device_container.cpp +++ b/MOST_UNICENS/ucs2-vol/src/device_container.cpp @@ -119,18 +119,25 @@ void CDeviceContainer::Update() if (_values_pptr[_idx_processing]->RequiresUpdate()) { - if (_values_pptr[_idx_processing]->FireUpdateMessage(this->_init_ptr->writei2c_cb, - &OnI2cResult, - this)) + if (_values_pptr[_idx_processing]->GetType() == DEVICE_VAL_FIBERDYNE_MASTER) { - this->_tx_busy = true; - error = false; - break; + _values_pptr[_idx_processing]->FireControlMessage(this->_init_ptr->sendmsg_cb); } else { - error = true; - break; + if (_values_pptr[_idx_processing]->FireUpdateMessage(this->_init_ptr->writei2c_cb, + &OnI2cResult, + this)) + { + this->_tx_busy = true; + error = false; + break; + } + else + { + error = true; + break; + } } } } diff --git a/MOST_UNICENS/ucs2-vol/src/device_value.cpp b/MOST_UNICENS/ucs2-vol/src/device_value.cpp index 7103192..22b8dfb 100644 --- a/MOST_UNICENS/ucs2-vol/src/device_value.cpp +++ b/MOST_UNICENS/ucs2-vol/src/device_value.cpp @@ -32,11 +32,12 @@ #define CONTROL_CH_1 0x08U #define CONTROL_CH_2 0x09U -CDeviceValue::CDeviceValue(uint16_t address, DeviceValueType type, uint16_t key) +CDeviceValue::CDeviceValue(uint16_t address, DeviceValueType type, uint16_t key, bool is_i2c) { this->_is_available = false; this->_is_busy = false; this->_address = address; + this->_is_i2c = is_i2c; this->_target_value = 0x01u; this->_actual_value = 0x01u; @@ -49,7 +50,11 @@ CDeviceValue::CDeviceValue(uint16_t address, DeviceValueType type, uint16_t key) _tx_payload[0] = CONTROL_MASTER;// 7: master, 8: channel 1, 9: Channel 2 _tx_payload[1] = MUTE_VALUE_HB; //HB:Volume _tx_payload[2] = MUTE_VALUE_LB; //LB:Volume - _tx_payload_sz = 3u; + + if (type == DEVICE_VAL_FIBERDYNE_MASTER) + _tx_payload_sz = 2u; + else + _tx_payload_sz = 3u; } CDeviceValue::~CDeviceValue() @@ -60,6 +65,14 @@ void CDeviceValue::ApplyMostValue(uint8_t value, DeviceValueType type, uint8_t t { uint16_t tmp = MUTE_VALUE; + if (type == DEVICE_VAL_FIBERDYNE_MASTER) + { + tx_payload[0] = 0x00U; + tx_payload[1] = value; + + return; + } + switch (type) { case DEVICE_VAL_LEFT: @@ -75,7 +88,7 @@ void CDeviceValue::ApplyMostValue(uint8_t value, DeviceValueType type, uint8_t t tx_payload[0] = CONTROL_CH_2; break; default: - /*std::cerr << "CDeviceValue::ApplyMostValue() error matching incorrect" << std::endl;*/ + /*std::cerr << "CDeviceValue::ApplyMostValue() error matching incorrect" << std::endl;*/ case DEVICE_VAL_MASTER: tmp = (uint16_t)(0x100U + 0x2FFU - (0x2FFU * ((int32_t)value) / (0xFFU))); tx_payload[0] = CONTROL_MASTER; @@ -97,6 +110,20 @@ bool CDeviceValue::RequiresUpdate() return false; } +bool CDeviceValue::FireControlMessage(lib_most_volume_sendmessage_cb_t sendmsg_fptr) +{ + ApplyMostValue(this->_target_value, _type, _tx_payload); + + if (this->_is_available && !this->_is_busy) + { + sendmsg_fptr(this->_address, 0x100U, _tx_payload, _tx_payload_sz); + + this->_actual_value = this->_target_value; + } + + return true; +} + bool CDeviceValue::FireUpdateMessage(lib_most_volume_writei2c_cb_t writei2c_fptr, lib_most_volume_writei2c_result_cb_t result_fptr, void *result_user_ptr) 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) { diff --git a/MOST_UNICENS/ucs2-vol/src/setup.cpp b/MOST_UNICENS/ucs2-vol/src/setup.cpp index dd6675b..ad841ab 100644 --- a/MOST_UNICENS/ucs2-vol/src/setup.cpp +++ b/MOST_UNICENS/ucs2-vol/src/setup.cpp @@ -43,18 +43,19 @@ void CSetup::Release() { } CSetup::CSetup() - : _volume_amp_270_m(0x270U, DEVICE_VAL_MASTER, LIB_MOST_VOLUME_MASTER), - _volume_amp_270_l(0x270U, DEVICE_VAL_LEFT, LIB_MOST_VOLUME_CH_FRONT_LEFT), - _volume_amp_270_r(0x270U, DEVICE_VAL_RIGHT, LIB_MOST_VOLUME_CH_FRONT_RIGHT), - _volume_amp_271_m(0x271U, DEVICE_VAL_MASTER, LIB_MOST_VOLUME_MASTER), - _volume_amp_271_l(0x271U, DEVICE_VAL_LEFT, LIB_MOST_VOLUME_CH_REAR_LEFT), - _volume_amp_271_r(0x271U, DEVICE_VAL_RIGHT, LIB_MOST_VOLUME_CH_REAR_RIGHT), - _volume_amp_272_m(0x272U, DEVICE_VAL_MASTER, LIB_MOST_VOLUME_MASTER), - _volume_amp_272_l(0x272U, DEVICE_VAL_LEFT, LIB_MOST_VOLUME_CH_CENTER), - _volume_amp_272_r(0x272U, DEVICE_VAL_RIGHT, LIB_MOST_VOLUME_CH_SUB), + : _volume_amp_270_m(0x270U, DEVICE_VAL_MASTER, LIB_MOST_VOLUME_MASTER, true), + _volume_amp_270_l(0x270U, DEVICE_VAL_LEFT, LIB_MOST_VOLUME_CH_FRONT_LEFT, true), + _volume_amp_270_r(0x270U, DEVICE_VAL_RIGHT, LIB_MOST_VOLUME_CH_FRONT_RIGHT, true), + _volume_amp_271_m(0x271U, DEVICE_VAL_MASTER, LIB_MOST_VOLUME_MASTER, true), + _volume_amp_271_l(0x271U, DEVICE_VAL_LEFT, LIB_MOST_VOLUME_CH_REAR_LEFT, true), + _volume_amp_271_r(0x271U, DEVICE_VAL_RIGHT, LIB_MOST_VOLUME_CH_REAR_RIGHT, true), + _volume_amp_272_m(0x272U, DEVICE_VAL_MASTER, LIB_MOST_VOLUME_MASTER, true), + _volume_amp_272_l(0x272U, DEVICE_VAL_LEFT, LIB_MOST_VOLUME_CH_CENTER, true), + _volume_amp_272_r(0x272U, DEVICE_VAL_RIGHT, LIB_MOST_VOLUME_CH_SUB, true), + _volume_amp_510_m(0x510U, DEVICE_VAL_FIBERDYNE_MASTER, LIB_MOST_VOLUME_MASTER, false), _value_container() { - static CDeviceValue* value_list[9] = { &_volume_amp_270_m, + static CDeviceValue* value_list[10] = { &_volume_amp_270_m, &_volume_amp_270_l, &_volume_amp_270_r, &_volume_amp_271_m, @@ -62,9 +63,10 @@ CSetup::CSetup() &_volume_amp_271_r, &_volume_amp_272_m, &_volume_amp_272_l, - &_volume_amp_272_r}; + &_volume_amp_272_r, + &_volume_amp_510_m}; - _value_container.RegisterValues(value_list, 9U); + _value_container.RegisterValues(value_list, 10U); } CSetup::~CSetup() diff --git a/MOST_UNICENS/wrap_unicens.c b/MOST_UNICENS/wrap_unicens.c index 095a2fe..4b75780 100644 --- a/MOST_UNICENS/wrap_unicens.c +++ b/MOST_UNICENS/wrap_unicens.c @@ -334,3 +334,35 @@ OnErrorExit: json_object_put(j_query); return err; } + +extern int wrap_ucs_sendmessage(uint16_t src_addr, uint16_t msg_id, uint8_t *data_ptr, uint8_t data_sz) { + + json_object *j_query, *j_response = NULL; + int err; + int node = (int)src_addr; + int msgid = (int)msg_id; + size_t data_size = (size_t)data_sz; + + /* skip data attribute if possible, wrap_json_unpack may fail to deal with + * an empty Base64 string */ + if (data_size > 0) + wrap_json_pack(&j_query, "{s:i, s:i, s:Y}", "node", node, "msgid", msgid, "data", data_ptr, data_size); + else + wrap_json_pack(&j_query, "{s:i, s:i}", "node", node, "msgid", msgid); + + err = afb_service_call_sync("UNICENS", "sendmessage", j_query, &j_response); + + if (err) { + AFB_ERROR("Failed to call wrap_ucs_sendmessage"); + goto OnErrorExit; + } + else { + AFB_INFO("Called wrap_ucs_sendmessage, res=%s", json_object_to_json_string(j_response)); + json_object_put(j_response); + } + + j_query = NULL; + +OnErrorExit: + return err; +} diff --git a/MOST_UNICENS/wrap_unicens.h b/MOST_UNICENS/wrap_unicens.h index c28d13a..734ea5d 100644 --- a/MOST_UNICENS/wrap_unicens.h +++ b/MOST_UNICENS/wrap_unicens.h @@ -32,3 +32,4 @@ extern int wrap_ucs_subscribe_sync(); extern int wrap_ucs_getconfig_sync(const char *config_path, char **file_found); extern int wrap_ucs_initialize_sync(const char* file_name); extern int wrap_ucs_i2cwrite_sync(uint16_t node, uint8_t *data_ptr, uint8_t data_sz); +extern int wrap_ucs_sendmessage(uint16_t src_addr, uint16_t msg_id, uint8_t *data_ptr, uint8_t data_sz); diff --git a/MOST_UNICENS/wrap_volume.c b/MOST_UNICENS/wrap_volume.c index 5bc1e84..9f9ceff 100644 --- a/MOST_UNICENS/wrap_volume.c +++ b/MOST_UNICENS/wrap_volume.c @@ -73,7 +73,8 @@ extern int wrap_volume_init(void) { lib_most_volume_init_t mv_init; mv_init.writei2c_cb = &wrap_ucs_i2cwrite; - mv_init.service_cb = wrap_volume_service_cb; + mv_init.service_cb = &wrap_volume_service_cb; + mv_init.sendmsg_cb = &wrap_ucs_sendmessage; ret = lib_most_volume_init(&mv_init); diff --git a/afb-utilities b/afb-utilities index 7db4aac..f0ce5b6 160000 --- a/afb-utilities +++ b/afb-utilities @@ -1 +1 @@ -Subproject commit 7db4aac29d251134dea5ec4425ef87c970f6fec0 +Subproject commit f0ce5b665dd33b285d723720c16ac0542cde4e6e diff --git a/conf.d/cmake/config.cmake b/conf.d/cmake/config.cmake index ad9206e..36050cd 100644 --- a/conf.d/cmake/config.cmake +++ b/conf.d/cmake/config.cmake @@ -91,24 +91,31 @@ list(APPEND link_libraries -lpthread -lm) # Either separate options with ";", or each options must be quoted separately # DO NOT PUT ALL OPTION QUOTED AT ONCE , COMPILATION COULD FAILED ! # ---------------------------------------------------------------------------- -set(COMPILE_OPTIONS --Wall --Wextra --Wconversion --Wno-unused-parameter --Wno-sign-compare --Wno-sign-conversion --Werror=maybe-uninitialized --Werror=implicit-function-declaration --ffunction-sections --fdata-sections --fPIC +#set(COMPILE_OPTIONS +#-Wall +#-Wextra +#-Wconversion +#-Wno-unused-parameter +#-Wno-sign-compare +#-Wno-sign-conversion +#-Werror=maybe-uninitialized +#-Werror=implicit-function-declaration +#-ffunction-sections +#-fdata-sections +#-fPIC # Personal compilation options --DMAX_SND_CARD=16 # should be more than enough even in luxury vehicule --DMAX_LINEAR_DB_SCALE=24 # until 24db volume normalisation use a simple linear scale --DTLV_BYTE_SIZE=256 # Alsa use 4096 as default but 256 should fit most sndcards --DCONTROL_MAXPATH_LEN=255 - CACHE STRING "Compilation flags") +#-DMAX_SND_CARD=16 # should be more than enough even in luxury vehicule +#-DMAX_LINEAR_DB_SCALE=24 # until 24db volume normalisation use a simple linear scale +#-DTLV_BYTE_SIZE=256 # Alsa use 4096 as default but 256 should fit most sndcards +#-DCONTROL_MAXPATH_LEN=255 +# CACHE STRING "Compilation flags") + +add_compile_options(-DAFB_BINDING_VERSION=2) +add_compile_options(-DMAX_SND_CARD=16) # should be more than enough even in luxury vehicule +add_compile_options(-DMAX_LINEAR_DB_SCALE=24) # until 24db volume normalisation use a simple linear scale +add_compile_options(-DTLV_BYTE_SIZE=256) # Alsa use 4096 as default but 256 should fit most sndcards +add_compile_options(-DCONTROL_MAXPATH_LEN=255) + #set(C_COMPILE_OPTIONS "" CACHE STRING "Compilation flags for C language.") #set(CXX_COMPILE_OPTIONS "" CACHE STRING "Compilation flags for C++ language.") #set(PROFILING_COMPILE_OPTIONS diff --git a/nbproject/configurations.xml b/nbproject/configurations.xml index 31d7d59..3d0270e 100644 --- a/nbproject/configurations.xml +++ b/nbproject/configurations.xml @@ -3,107 +3,36 @@ + escape.c filescan-utils.c wrap-json.c - - Alsa-AddCtl.c - Alsa-ApiHat.c - Alsa-RegEvt.c - Alsa-SetGet.c - Alsa-Ucm.c + + hal-interface.c + hal-statics.c + hal-volramp.c + hal-volume.c - - - PolicyHookCb.c - - - - audio-common.c - filescan-utils.c - wrap-json.c - - - AudioCommonLib.c - - - ctl-binding.c - ctl-dispatch.c - ctl-lua.c - ctl-misc.c - ctl-plugin-sample.c - ctl-timer.c - - - - hal-interface.c - hal-volramp.c - hal-volume.c - - - HalPlugPcm.c - - - - - device_container.cpp - device_value.cpp - libmostvolume.cpp - setup.cpp - + + + + device_container.cpp + device_value.cpp + libmostvolume.cpp + setup.cpp - hal_most_unicens.c - wrap-json.c - wrap_unicens.c - wrap_volume.c - - - IntelHdaHAL.c - - - JabraUsbHAL.c - - ScarlettUsbHAL.c - - - UnicensHAL.c - UnicensVol.c - - - - HighLevelApiConf.c - HighLevelBinding.c - - hal_most_unicens.c wrap_unicens.c wrap_volume.c - - - ConnectionInfo.cpp - Console.c - MacAddr.cpp - MostIpc.cpp - MostMsg.cpp - MostMsgTx.cpp - MsgAddr.cpp - MsgFilter.cpp - Shadow_NetworkMaster.cpp - Thread.cpp - - DeviceContainer.cpp - DeviceValue.cpp - Mediator.cpp - libmostvolume.cpp - - Build/Makefile + CMakeLists.txt + Makefile nbproject/private/launcher.properties @@ -111,2059 +40,162 @@ . - Build/Makefile + Makefile - + - GNU|GNU + default false false - - - - - + + - true - build - ${MAKE} -f Makefile install + ./build + ${MAKE} -f Makefile ${MAKE} -f Makefile clean - build/CMakeFiles/feature_tests.bin - + + + + /usr/include/json-c + /opt/AGL/include + /usr/include/p11-kit-1 + /usr/include/alsa + + + AFB_BINDING_VERSION=2 + CONTROL_MAXPATH_LEN=255 + MAX_LINEAR_DB_SCALE=24 + MAX_SND_CARD=16 + TLV_BYTE_SIZE=256 + + + + /usr/include/json-c + /opt/AGL/include + /usr/include/p11-kit-1 + /usr/include/alsa + MOST_UNICENS/ucs2-vol/inc + build/MOST_UNICENS/ucs2-vol/src + + + AFB_BINDING_VERSION=2 + CONTROL_MAXPATH_LEN=255 + MAX_LINEAR_DB_SCALE=24 + MAX_SND_CARD=16 + TLV_BYTE_SIZE=256 + + - build + ./build cmake .. true - - - - - - - - ../../../opt/include/afb - Alsa-afb - ../../../opt/include/alsa - /usr/include/json-c - Audio-Common - ../../../opt/include - build/Alsa-afb - - - - - - - ../../../opt/include - ../../../opt/include/alsa - /usr/include/p11-kit-1 - /usr/include/json-c - /usr/include/lua5.3 - Audio-Common - build/Alsa-afb - - - CONTROL_CONFIG_PATH="/home/fulup/Workspace/AGL-AppFW/audio-bindings-dev/conf.d/project/config.d:/usr/local/controller/config.d" - CONTROL_CONFIG_POST="control" - CONTROL_CONFIG_PRE="onload" - CONTROL_DOSCRIPT_PRE="doscript" - CONTROL_LUA_EVENT="luaevt" - CONTROL_LUA_PATH="/home/fulup/Workspace/AGL-AppFW/audio-bindings-dev/conf.d/project/lua.d:/usr/local/controller/ctl-lua.d" - CONTROL_MAXPATH_LEN=255 - CONTROL_ONLOAD_DEFAULT="onload-default" - CONTROL_PLUGIN_PATH="/home/fulup/Workspace/AGL-AppFW/audio-bindings-dev/build:/home/fulup/opt/audio-bindings/ctlplug:/usr/lib/afb/ctlplug" - CONTROL_SUPPORT_LUA - CTL_PLUGIN_MAGIC=2468013579 - MAX_LINEAR_DB_SCALE=24 - MAX_SND_CARD=16 - NATIVE_LINUX - TLV_BYTE_SIZE=256 - alsa_lowlevel_EXPORTS - - - - - - - ../../../opt/include/afb - Alsa-afb - ../../../opt/include/alsa - /usr/include/json-c - Audio-Common - ../../../opt/include - build/Alsa-afb - - - - - - - ../../../opt/include/afb - Alsa-afb - ../../../opt/include/alsa - /usr/include/json-c - Audio-Common - ../../../opt/include - build/Alsa-afb - - - - - - - ../../../opt/include/afb - Alsa-afb - ../../../opt/include/alsa - /usr/include/json-c - Audio-Common - ../../../opt/include - build/Alsa-afb - - - - - - - ../../../opt/include/afb - Audio-Common - /usr/include/json-c - build/Audio-Common - - - - - - - ../../../opt/include - ../../../opt/include/alsa - /usr/include/p11-kit-1 - /usr/include/json-c - /usr/include/lua5.3 - Audio-Common - build/Audio-Common - - - CONTROL_CONFIG_PATH="/home/fulup/Workspace/AGL-AppFW/audio-bindings-dev/conf.d/project/config.d:/usr/local/controller/config.d" - CONTROL_CONFIG_POST="control" - CONTROL_CONFIG_PRE="onload" - CONTROL_DOSCRIPT_PRE="doscript" - CONTROL_LUA_EVENT="luaevt" - CONTROL_LUA_PATH="/home/fulup/Workspace/AGL-AppFW/audio-bindings-dev/conf.d/project/lua.d:/usr/local/controller/ctl-lua.d" - CONTROL_MAXPATH_LEN=255 - CONTROL_ONLOAD_DEFAULT="onload-default" - CONTROL_PLUGIN_PATH="/home/fulup/Workspace/AGL-AppFW/audio-bindings-dev/build:/home/fulup/opt/audio-bindings/ctlplug:/usr/lib/afb/ctlplug" - CONTROL_SUPPORT_LUA - CTL_PLUGIN_MAGIC=2468013579 - MAX_LINEAR_DB_SCALE=24 - MAX_SND_CARD=16 - NATIVE_LINUX - TLV_BYTE_SIZE=256 - - - - - - - Audio-Common - /usr/include/json-c - build/Audio-Common - - - - + - - - - ../../../opt/include - ../../../opt/include/alsa - /usr/include/p11-kit-1 - /usr/include/json-c - /usr/include/lua5.3 - Audio-Common - build/Controller-afb - - - CONTROL_CONFIG_PATH="/home/fulup/Workspace/AGL-AppFW/audio-bindings-dev/conf.d/project/config.d:/usr/local/controller/config.d" - CONTROL_CONFIG_POST="control" - CONTROL_CONFIG_PRE="onload" - CONTROL_DOSCRIPT_PRE="doscript" - CONTROL_LUA_EVENT="luaevt" - CONTROL_LUA_PATH="/home/fulup/Workspace/AGL-AppFW/audio-bindings-dev/conf.d/project/lua.d:/usr/local/controller/ctl-lua.d" - CONTROL_MAXPATH_LEN=255 - CONTROL_ONLOAD_DEFAULT="onload-default" - CONTROL_PLUGIN_PATH="/home/fulup/Workspace/AGL-AppFW/audio-bindings-dev/build:/home/fulup/opt/audio-bindings/ctlplug:/usr/lib/afb/ctlplug" - CONTROL_SUPPORT_LUA - CTL_PLUGIN_MAGIC=2468013579 - MAX_LINEAR_DB_SCALE=24 - MAX_SND_CARD=16 - NATIVE_LINUX - TLV_BYTE_SIZE=256 - control_afb_EXPORTS - - - - - - - ../../../opt/include - ../../../opt/include/alsa - /usr/include/p11-kit-1 - /usr/include/json-c - /usr/include/lua5.3 - Audio-Common - build/Controller-afb - - - CONTROL_CONFIG_PATH="/home/fulup/Workspace/AGL-AppFW/audio-bindings-dev/conf.d/project/config.d:/usr/local/controller/config.d" - CONTROL_CONFIG_POST="control" - CONTROL_CONFIG_PRE="onload" - CONTROL_DOSCRIPT_PRE="doscript" - CONTROL_LUA_EVENT="luaevt" - CONTROL_LUA_PATH="/home/fulup/Workspace/AGL-AppFW/audio-bindings-dev/conf.d/project/lua.d:/usr/local/controller/ctl-lua.d" - CONTROL_MAXPATH_LEN=255 - CONTROL_ONLOAD_DEFAULT="onload-default" - CONTROL_PLUGIN_PATH="/home/fulup/Workspace/AGL-AppFW/audio-bindings-dev/build:/home/fulup/opt/audio-bindings/ctlplug:/usr/lib/afb/ctlplug" - CONTROL_SUPPORT_LUA - CTL_PLUGIN_MAGIC=2468013579 - MAX_LINEAR_DB_SCALE=24 - MAX_SND_CARD=16 - NATIVE_LINUX - TLV_BYTE_SIZE=256 - control_afb_EXPORTS - - - - - - - ../../../opt/include - ../../../opt/include/alsa - /usr/include/p11-kit-1 - /usr/include/json-c - /usr/include/lua5.3 - Audio-Common - build/Controller-afb - - - CONTROL_CONFIG_PATH="/home/fulup/Workspace/AGL-AppFW/audio-bindings-dev/conf.d/project/config.d:/usr/local/controller/config.d" - CONTROL_CONFIG_POST="control" - CONTROL_CONFIG_PRE="onload" - CONTROL_DOSCRIPT_PRE="doscript" - CONTROL_LUA_EVENT="luaevt" - CONTROL_LUA_PATH="/home/fulup/Workspace/AGL-AppFW/audio-bindings-dev/conf.d/project/lua.d:/usr/local/controller/ctl-lua.d" - CONTROL_MAXPATH_LEN=255 - CONTROL_ONLOAD_DEFAULT="onload-default" - CONTROL_PLUGIN_PATH="/home/fulup/Workspace/AGL-AppFW/audio-bindings-dev/build:/home/fulup/opt/audio-bindings/ctlplug:/usr/lib/afb/ctlplug" - CONTROL_SUPPORT_LUA - CTL_PLUGIN_MAGIC=2468013579 - MAX_LINEAR_DB_SCALE=24 - MAX_SND_CARD=16 - NATIVE_LINUX - TLV_BYTE_SIZE=256 - control_afb_EXPORTS - - - - - - - ../../../opt/include/afb - Controller-afb - /usr/include/json-c - build/Controller-afb - - - - - - - ../../../opt/include - ../../../opt/include/alsa - /usr/include/p11-kit-1 - /usr/include/json-c - /usr/include/lua5.3 - Audio-Common - build/Controller-afb - - - CONTROL_CONFIG_PATH="/home/fulup/Workspace/AGL-AppFW/audio-bindings-dev/conf.d/project/config.d:/usr/local/controller/config.d" - CONTROL_CONFIG_POST="control" - CONTROL_CONFIG_PRE="onload" - CONTROL_DOSCRIPT_PRE="doscript" - CONTROL_LUA_EVENT="luaevt" - CONTROL_LUA_PATH="/home/fulup/Workspace/AGL-AppFW/audio-bindings-dev/conf.d/project/lua.d:/usr/local/controller/ctl-lua.d" - CONTROL_MAXPATH_LEN=255 - CONTROL_ONLOAD_DEFAULT="onload-default" - CONTROL_PLUGIN_PATH="/home/fulup/Workspace/AGL-AppFW/audio-bindings-dev/build:/home/fulup/opt/audio-bindings/ctlplug:/usr/lib/afb/ctlplug" - CONTROL_SUPPORT_LUA - CTL_PLUGIN_MAGIC=2468013579 - MAX_LINEAR_DB_SCALE=24 - MAX_SND_CARD=16 - NATIVE_LINUX - TLV_BYTE_SIZE=256 - audio_plugin_sample_EXPORTS - - - - - - - ../../../opt/include - ../../../opt/include/alsa - /usr/include/p11-kit-1 - /usr/include/json-c - /usr/include/lua5.3 - Audio-Common - build/Controller-afb - - - CONTROL_CONFIG_PATH="/home/fulup/Workspace/AGL-AppFW/audio-bindings-dev/conf.d/project/config.d:/usr/local/controller/config.d" - CONTROL_CONFIG_POST="control" - CONTROL_CONFIG_PRE="onload" - CONTROL_DOSCRIPT_PRE="doscript" - CONTROL_LUA_EVENT="luaevt" - CONTROL_LUA_PATH="/home/fulup/Workspace/AGL-AppFW/audio-bindings-dev/conf.d/project/lua.d:/usr/local/controller/ctl-lua.d" - CONTROL_MAXPATH_LEN=255 - CONTROL_ONLOAD_DEFAULT="onload-default" - CONTROL_PLUGIN_PATH="/home/fulup/Workspace/AGL-AppFW/audio-bindings-dev/build:/home/fulup/opt/audio-bindings/ctlplug:/usr/lib/afb/ctlplug" - CONTROL_SUPPORT_LUA - CTL_PLUGIN_MAGIC=2468013579 - MAX_LINEAR_DB_SCALE=24 - MAX_SND_CARD=16 - NATIVE_LINUX - TLV_BYTE_SIZE=256 - control_afb_EXPORTS - - - - - - - Audio-Common - build/HAL-afb/HAL-interface - - + tool="1" + flavor2="0"> + + - - - - Audio-Common - build/HAL-afb/HAL-interface - - - - - - - build/HAL-afb/HAL-interface - - - - - - - - - - + tool="1" + flavor2="0"> + + - - - + tool="1" + flavor2="0"> + + - - - - - - - - Shared-Interface - HAL-afb/HAL-interface - build/HAL-afb/Unicens-USB - - - - - - - HAL-afb/HAL-interface - build/HAL-afb/Unicens-USB - - + tool="1" + flavor2="0"> + + - - + + - - + + - - + + - - + + - - + + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - ../../../opt/include - ../../../opt/include/alsa - /usr/include/p11-kit-1 - /usr/include/json-c - /usr/include/lua5.3 - build/Alsa-Plugin/Alsa-Policy-Hook - - - CONTROL_CONFIG_PATH="/home/fulup/Workspace/AGL-AppFW/audio-bindings-dev/conf.d/project/config.d:/usr/local/controller/config.d" - CONTROL_CONFIG_POST="control" - CONTROL_CONFIG_PRE="onload" - CONTROL_DOSCRIPT_PRE="doscript" - CONTROL_LUA_EVENT="luaevt" - CONTROL_LUA_PATH="/home/fulup/Workspace/AGL-AppFW/audio-bindings-dev/conf.d/project/lua.d:/usr/local/controller/ctl-lua.d" - CONTROL_MAXPATH_LEN=255 - CONTROL_ONLOAD_DEFAULT="onload-default" - CONTROL_PLUGIN_PATH="/home/fulup/Workspace/AGL-AppFW/audio-bindings-dev/build:/home/fulup/opt/audio-bindings/ctlplug:/usr/lib/afb/ctlplug" - CONTROL_SUPPORT_LUA - CTL_PLUGIN_MAGIC=2468013579 - MAX_LINEAR_DB_SCALE=24 - MAX_SND_CARD=16 - NATIVE_LINUX - PIC - TLV_BYTE_SIZE=256 - policy_hook_cb_EXPORTS - - - - - - - ../../../opt/include - ../../../opt/include/alsa - /usr/include/p11-kit-1 - /usr/include/json-c - /usr/include/lua5.3 - Audio-Common - build/Controller-afb - build/HAL-afb/HAL-plugin - /usr/include/alsa - build/Common - - - CONTROL_CDEV_RX="/dev/inic-usb-crx" - CONTROL_CDEV_TX="/dev/inic-usb-ctx" - CONTROL_CONFIG_PATH="/home/fulup/Workspace/AGL-AppFW/audio-bindings-dev/conf.d/project/config.d:/usr/local/controller/config.d" - CONTROL_CONFIG_POST="control" - CONTROL_CONFIG_PRE="onload" - CONTROL_LUA_EVENT="luaevt" - CONTROL_LUA_PATH="/home/fulup/Workspace/AGL-AppFW/audio-bindings-dev/conf.d/project/lua.d:/usr/local/controller/ctl-lua.d" - CONTROL_MAXPATH_LEN=255 - CONTROL_ONLOAD_DEFAULT="onload-default" - CONTROL_PLUGIN_PATH="/home/fulup/Workspace/AGL-AppFW/audio-bindings-dev/build:/home/fulup/opt/audio-bindings/ctlplug:/usr/lib/afb/ctlplug" - CTL_PLUGIN_MAGIC=2468013579 - MAX_LINEAR_DB_SCALE=24 - MAX_SND_CARD=16 - TLV_BYTE_SIZE=256 - audio_plugin_sample_EXPORTS - control_afb_EXPORTS - - - - - - - ../../../opt/include - ../../../opt/include/alsa - /usr/include/p11-kit-1 - /usr/include/json-c - /usr/include/lua5.3 - - - CONTROL_CONFIG_PATH="/home/fulup/Workspace/AGL-AppFW/audio-bindings-dev/conf.d/project/config.d:/usr/local/controller/config.d" - CONTROL_CONFIG_POST="control" - CONTROL_CONFIG_PRE="onload" - CONTROL_LUA_EVENT="luaevt" - CONTROL_LUA_PATH="/home/fulup/Workspace/AGL-AppFW/audio-bindings-dev/conf.d/project/lua.d:/usr/local/controller/ctl-lua.d" - CONTROL_MAXPATH_LEN=255 - CONTROL_ONLOAD_DEFAULT="onload-default" - CONTROL_PLUGIN_PATH="/home/fulup/Workspace/AGL-AppFW/audio-bindings-dev/build:/home/fulup/opt/audio-bindings/ctlplug:/usr/lib/afb/ctlplug" - CTL_PLUGIN_MAGIC=2468013579 - MAX_LINEAR_DB_SCALE=24 - MAX_SND_CARD=16 - TLV_BYTE_SIZE=256 - - - - - - - ../../../opt/include/afb - HAL-afb/HAL-interface - - - - - - - Audio-Common - build/Controller-afb - build/HAL-afb/HAL-plugin - ../../../opt/include/afb - HAL-afb/HAL-plugin - - - CONTROL_CDEV_RX="/dev/inic-usb-crx" - CONTROL_CDEV_TX="/dev/inic-usb-ctx" - audio_plugin_sample_EXPORTS - control_afb_EXPORTS - - - - - - - ../../../opt/include/afb - HAL-afb/HDA-intel - Audio-Common - HAL-afb/HAL-interface - build/HAL-afb/HDA-intel - - - - - - - HAL-afb/Jabra-Solemate - ../../../opt/include/afb - Audio-Common - HAL-afb/HAL-interface - build/HAL-afb/Jabra-Solemate - - - - - - - ../../../opt/include/afb - HAL-afb/Scarlett-Focusrite - Audio-Common - HAL-afb/HAL-interface - build/HAL-afb/Scarlett-Focusrite - - - - - - - Audio-Common - build/Controller-afb - build/HAL-afb/HAL-plugin - ../../../opt/include/afb - HAL-afb/Unicens-USB - - - CONTROL_CDEV_RX="/dev/inic-usb-crx" - CONTROL_CDEV_TX="/dev/inic-usb-ctx" - audio_plugin_sample_EXPORTS - control_afb_EXPORTS - - - - - - - ../../../opt/include - ../../../opt/include/alsa - /usr/include/p11-kit-1 - /usr/include/json-c - /usr/include/lua5.3 - Audio-Common - build/Controller-afb - build/HAL-afb/HAL-plugin - ../../../opt/include/afb - HighLevel-afb - Shared-Interface - build/HighLevel-afb - - - CONTROL_CONFIG_PATH="/home/fulup/Workspace/AGL-AppFW/audio-bindings-dev/conf.d/project/config.d:/usr/local/controller/config.d" - CONTROL_CONFIG_POST="control" - CONTROL_CONFIG_PRE="onload" - CONTROL_LUA_EVENT="luaevt" - CONTROL_LUA_PATH="/home/fulup/Workspace/AGL-AppFW/audio-bindings-dev/conf.d/project/lua.d:/usr/local/controller/ctl-lua.d" - CONTROL_MAXPATH_LEN=255 - CONTROL_ONLOAD_DEFAULT="onload-default" - CONTROL_PLUGIN_PATH="/home/fulup/Workspace/AGL-AppFW/audio-bindings-dev/build:/home/fulup/opt/audio-bindings/ctlplug:/usr/lib/afb/ctlplug" - CTL_PLUGIN_MAGIC=2468013579 - MAX_LINEAR_DB_SCALE=24 - MAX_SND_CARD=16 - TLV_BYTE_SIZE=256 - audio_plugin_sample_EXPORTS - control_afb_EXPORTS - - - - /usr/include/json-c - ../../../opt/include - /usr/include/p11-kit-1 - ../../../opt/include/alsa MOST_UNICENS/ucs2-vol/inc - hal-utilities-4a afb-utilities + hal-utilities-4a build/MOST_UNICENS - CONTROL_MAXPATH_LEN=255 - MAX_LINEAR_DB_SCALE=24 - MAX_SND_CARD=16 - NATIVE_LINUX - TLV_BYTE_SIZE=256 hal_most_unicens_EXPORTS - + - ../../../opt/include - ../../../opt/include/alsa - /usr/include/p11-kit-1 - /usr/include/json-c - /usr/include/lua5.3 - Audio-Common - build/Controller-afb - build/HAL-afb/HAL-plugin + afb-utilities + build/afb-utilities - - CONTROL_CONFIG_PATH="/home/fulup/Workspace/AGL-AppFW/audio-bindings-dev/conf.d/project/config.d:/usr/local/controller/config.d" - CONTROL_CONFIG_POST="control" - CONTROL_CONFIG_PRE="onload" - CONTROL_LUA_EVENT="luaevt" - CONTROL_LUA_PATH="/home/fulup/Workspace/AGL-AppFW/audio-bindings-dev/conf.d/project/lua.d:/usr/local/controller/ctl-lua.d" - CONTROL_MAXPATH_LEN=255 - CONTROL_ONLOAD_DEFAULT="onload-default" - CONTROL_PLUGIN_PATH="/home/fulup/Workspace/AGL-AppFW/audio-bindings-dev/build:/home/fulup/opt/audio-bindings/ctlplug:/usr/lib/afb/ctlplug" - CTL_PLUGIN_MAGIC=2468013579 - MAX_LINEAR_DB_SCALE=24 - MAX_SND_CARD=16 - TLV_BYTE_SIZE=256 - audio_plugin_sample_EXPORTS - control_afb_EXPORTS - - - - - GNU|GNU - false - false - - - - - - - - - - true - - - - build - ${MAKE} -f Makefile install - ${MAKE} -f Makefile clean - build/CMakeFiles/feature_tests.bin - - - - - build - cmake .. - - - - - - - - + + - ../../../opt/include/alsa - /usr/include/json-c - Audio-Common - ../../../opt/include - build/Alsa-afb + hal-utilities-4a + build/hal-utilities-4a - - - - - build/Alsa-afb - + + + - - - - ../../../opt/include/alsa - /usr/include/json-c - Audio-Common - ../../../opt/include - build/Alsa-afb - + + - - - - ../../../opt/include/alsa - /usr/include/json-c - Audio-Common - ../../../opt/include - build/Alsa-afb - + + - - - - ../../../opt/include/alsa - /usr/include/json-c - Audio-Common - ../../../opt/include - build/Alsa-afb - + + - - - - ../../../opt/include/afb - Audio-Common - /usr/include/json-c - build/Audio-Common - - - - - - - ../../../opt/include/afb - Audio-Common - /usr/include/json-c - build/Audio-Common - - - - - - - Audio-Common - /usr/include/json-c - build/Audio-Common - - - - - - - - - - - build/Controller-afb - - - - - - - /usr/include/json-c - /usr/include/lua5.3 - Audio-Common - ../../../opt/include - build/Controller-afb - - - - - - - /usr/include/json-c - /usr/include/lua5.3 - Audio-Common - ../../../opt/include - build/Controller-afb - - - - - - - /usr/include/json-c - build/Controller-afb - - - - - - - /usr/include/json-c - /usr/include/lua5.3 - build/Controller-afb - - - - - - - ../../../opt/include - build/Controller-afb - - - - - - - Audio-Common - ../../../opt/include - build/HAL-afb/HAL-interface - - - - - - - Audio-Common - build/HAL-afb/HAL-interface - - - - - - - build/HAL-afb/HAL-interface - - - - - - - - - - - ../../../opt/include/afb - HAL-afb/HAL_MOST_UNICENS - ../../../opt/include/alsa - /usr/include/json-c - Audio-Common - HAL-afb/HAL-interface - ../../../opt/include - build/HAL-afb/HAL_MOST_UNICENS - - - - - - - HAL-afb/HAL_MOST_UNICENS/ucs2-vol/inc - HAL-afb/HAL_MOST_UNICENS/ucs2-vol/src - - - - - - - HAL-afb/HAL_MOST_UNICENS/ucs2-vol/src - HAL-afb/HAL_MOST_UNICENS/ucs2-vol/inc - - - - - - - HAL-afb/HAL_MOST_UNICENS/ucs2-vol/src - HAL-afb/HAL_MOST_UNICENS/ucs2-vol/inc - - - - - - - HAL-afb/HAL_MOST_UNICENS/ucs2-vol/inc - HAL-afb/HAL_MOST_UNICENS/ucs2-vol/src - - - - - - - HAL-afb/HAL_MOST_UNICENS - /usr/include/json-c - build/HAL-afb/HAL_MOST_UNICENS - - - - - - - ../../../opt/include/afb - HAL-afb/HAL_MOST_UNICENS - /usr/include/json-c - build/HAL-afb/HAL_MOST_UNICENS - - - - - - - ../../../opt/include/afb - HAL-afb/HAL_MOST_UNICENS - HAL-afb/HAL_MOST_UNICENS/ucs2-vol/inc - build/HAL-afb/HAL_MOST_UNICENS - - - - - - - - - - - - - - - - - - - Shared-Interface - HAL-afb/HAL-interface - build/HAL-afb/Unicens-USB - - - - - - - HAL-afb/HAL-interface - build/HAL-afb/Unicens-USB - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - ../../../opt/include/afb - afb-utilities - /usr/include/json-c - build/afb-utilities - - - - - - - afb-utilities - /usr/include/json-c - build/afb-utilities - - - - - - - Alsa-Plugin/Alsa-Policy-Hook - ../../../opt/include/alsa - /usr/include/json-c - ../../../opt/include/afb - ../../../opt/include - build/Alsa-Plugin/Alsa-Policy-Hook - - - CONTROL_MAXPATH_LEN=255 - MAX_LINEAR_DB_SCALE=24 - MAX_SND_CARD=16 - NATIVE_LINUX - PIC - TLV_BYTE_SIZE=256 - policy_hook_cb_EXPORTS - - - - - - - ../../../opt/include/afb - Alsa-afb - - - - - - - ../../../opt/include - ../../../opt/include/alsa - /usr/include/p11-kit-1 - /usr/include/json-c - /usr/include/lua5.3 - Audio-Common - build/Controller-afb - build/HAL-afb/HAL-plugin - /usr/include/alsa - build/Common - - - CONTROL_CDEV_RX="/dev/inic-usb-crx" - CONTROL_CDEV_TX="/dev/inic-usb-ctx" - CONTROL_CONFIG_PATH="/home/fulup/Workspace/AGL-AppFW/audio-bindings-dev/conf.d/project/config.d:/usr/local/controller/config.d" - CONTROL_CONFIG_POST="control" - CONTROL_CONFIG_PRE="onload" - CONTROL_LUA_EVENT="luaevt" - CONTROL_LUA_PATH="/home/fulup/Workspace/AGL-AppFW/audio-bindings-dev/conf.d/project/lua.d:/usr/local/controller/ctl-lua.d" - CONTROL_MAXPATH_LEN=255 - CONTROL_ONLOAD_DEFAULT="onload-default" - CONTROL_PLUGIN_PATH="/home/fulup/Workspace/AGL-AppFW/audio-bindings-dev/build:/home/fulup/opt/audio-bindings/ctlplug:/usr/lib/afb/ctlplug" - CTL_PLUGIN_MAGIC=2468013579 - MAX_LINEAR_DB_SCALE=24 - MAX_SND_CARD=16 - TLV_BYTE_SIZE=256 - audio_plugin_sample_EXPORTS - control_afb_EXPORTS - - - - - - - ../../../opt/include/afb - Controller-afb - - - - - - - ../../../opt/include - ../../../opt/include/alsa - /usr/include/p11-kit-1 - /usr/include/json-c - - - CONTROL_MAXPATH_LEN=255 - MAX_LINEAR_DB_SCALE=24 - MAX_SND_CARD=16 - TLV_BYTE_SIZE=256 - - - - - ../../../opt/include - ../../../opt/include/alsa - /usr/include/p11-kit-1 - /usr/include/json-c - /usr/include/lua5.3 - HAL-afb/HAL_MOST_UNICENS/ucs2-vol/inc - build/HAL-afb/HAL_MOST_UNICENS/ucs2-vol/src - HAL-afb/HAL_MOST_UNICENS/ucs2-vol/src - - - CONTROL_MAXPATH_LEN=255 - MAX_LINEAR_DB_SCALE=24 - MAX_SND_CARD=16 - NATIVE_LINUX - TLV_BYTE_SIZE=256 - - - - - - - ../../../opt/include/afb - HAL-afb/HAL-interface - - - - - - - /usr/include/lua5.3 - Audio-Common - build/Controller-afb - build/HAL-afb/HAL-plugin - ../../../opt/include/afb - HAL-afb/HAL-plugin - - - CONTROL_CDEV_RX="/dev/inic-usb-crx" - CONTROL_CDEV_TX="/dev/inic-usb-ctx" - CONTROL_CONFIG_PATH="/home/fulup/Workspace/AGL-AppFW/audio-bindings-dev/conf.d/project/config.d:/usr/local/controller/config.d" - CONTROL_CONFIG_POST="control" - CONTROL_CONFIG_PRE="onload" - CONTROL_LUA_EVENT="luaevt" - CONTROL_LUA_PATH="/home/fulup/Workspace/AGL-AppFW/audio-bindings-dev/conf.d/project/lua.d:/usr/local/controller/ctl-lua.d" - CONTROL_ONLOAD_DEFAULT="onload-default" - CONTROL_PLUGIN_PATH="/home/fulup/Workspace/AGL-AppFW/audio-bindings-dev/build:/home/fulup/opt/audio-bindings/ctlplug:/usr/lib/afb/ctlplug" - CTL_PLUGIN_MAGIC=2468013579 - audio_plugin_sample_EXPORTS - control_afb_EXPORTS - - - - - - - ../../../opt/include/afb - HAL-afb/HDA-intel - Audio-Common - HAL-afb/HAL-interface - build/HAL-afb/HDA-intel - - - - - - - HAL-afb/Jabra-Solemate - ../../../opt/include/afb - Audio-Common - HAL-afb/HAL-interface - build/HAL-afb/Jabra-Solemate - - - - - - - ../../../opt/include/afb - HAL-afb/Scarlett-Focusrite - Audio-Common - HAL-afb/HAL-interface - build/HAL-afb/Scarlett-Focusrite - - - - - - - /usr/include/lua5.3 - Audio-Common - build/Controller-afb - build/HAL-afb/HAL-plugin - ../../../opt/include/afb - HAL-afb/Unicens-USB - - - CONTROL_CDEV_RX="/dev/inic-usb-crx" - CONTROL_CDEV_TX="/dev/inic-usb-ctx" - CONTROL_CONFIG_PATH="/home/fulup/Workspace/AGL-AppFW/audio-bindings-dev/conf.d/project/config.d:/usr/local/controller/config.d" - CONTROL_CONFIG_POST="control" - CONTROL_CONFIG_PRE="onload" - CONTROL_LUA_EVENT="luaevt" - CONTROL_LUA_PATH="/home/fulup/Workspace/AGL-AppFW/audio-bindings-dev/conf.d/project/lua.d:/usr/local/controller/ctl-lua.d" - CONTROL_ONLOAD_DEFAULT="onload-default" - CONTROL_PLUGIN_PATH="/home/fulup/Workspace/AGL-AppFW/audio-bindings-dev/build:/home/fulup/opt/audio-bindings/ctlplug:/usr/lib/afb/ctlplug" - CTL_PLUGIN_MAGIC=2468013579 - audio_plugin_sample_EXPORTS - control_afb_EXPORTS - - - - - - - ../../../opt/include - ../../../opt/include/alsa - /usr/include/p11-kit-1 - /usr/include/json-c - /usr/include/lua5.3 - Audio-Common - build/Controller-afb - build/HAL-afb/HAL-plugin - ../../../opt/include/afb - HighLevel-afb - Shared-Interface - build/HighLevel-afb - - - CONTROL_CONFIG_PATH="/home/fulup/Workspace/AGL-AppFW/audio-bindings-dev/conf.d/project/config.d:/usr/local/controller/config.d" - CONTROL_CONFIG_POST="control" - CONTROL_CONFIG_PRE="onload" - CONTROL_LUA_EVENT="luaevt" - CONTROL_LUA_PATH="/home/fulup/Workspace/AGL-AppFW/audio-bindings-dev/conf.d/project/lua.d:/usr/local/controller/ctl-lua.d" - CONTROL_MAXPATH_LEN=255 - CONTROL_ONLOAD_DEFAULT="onload-default" - CONTROL_PLUGIN_PATH="/home/fulup/Workspace/AGL-AppFW/audio-bindings-dev/build:/home/fulup/opt/audio-bindings/ctlplug:/usr/lib/afb/ctlplug" - CTL_PLUGIN_MAGIC=2468013579 - MAX_LINEAR_DB_SCALE=24 - MAX_SND_CARD=16 - TLV_BYTE_SIZE=256 - audio_plugin_sample_EXPORTS - control_afb_EXPORTS - - - - - - - ../../../opt/include - ../../../opt/include/alsa - /usr/include/p11-kit-1 - /usr/include/json-c - /usr/include/lua5.3 - Audio-Common - build/Controller-afb - build/HAL-afb/HAL-plugin - - - CONTROL_CONFIG_PATH="/home/fulup/Workspace/AGL-AppFW/audio-bindings-dev/conf.d/project/config.d:/usr/local/controller/config.d" - CONTROL_CONFIG_POST="control" - CONTROL_CONFIG_PRE="onload" - CONTROL_LUA_EVENT="luaevt" - CONTROL_LUA_PATH="/home/fulup/Workspace/AGL-AppFW/audio-bindings-dev/conf.d/project/lua.d:/usr/local/controller/ctl-lua.d" - CONTROL_MAXPATH_LEN=255 - CONTROL_ONLOAD_DEFAULT="onload-default" - CONTROL_PLUGIN_PATH="/home/fulup/Workspace/AGL-AppFW/audio-bindings-dev/build:/home/fulup/opt/audio-bindings/ctlplug:/usr/lib/afb/ctlplug" - CTL_PLUGIN_MAGIC=2468013579 - MAX_LINEAR_DB_SCALE=24 - MAX_SND_CARD=16 - TLV_BYTE_SIZE=256 - audio_plugin_sample_EXPORTS - control_afb_EXPORTS - - - - - - - GNU|GNU - false - false - - - - - - - - - - true - - - - build - ${MAKE} -f Makefile populate - ${MAKE} -f Makefile clean - build/CMakeFiles/feature_tests.bin - - - - - build - cmake .. - - - - - - - - - - ../../../opt/include/alsa - /usr/include/json-c - Audio-Common - ../../../opt/include - build/Alsa-afb - - - - - - - build/Alsa-afb - - - - - - - ../../../opt/include/alsa - /usr/include/json-c - Audio-Common - ../../../opt/include - build/Alsa-afb - - - - - - - ../../../opt/include/alsa - /usr/include/json-c - Audio-Common - ../../../opt/include - build/Alsa-afb - - - - - - - ../../../opt/include/alsa - /usr/include/json-c - Audio-Common - ../../../opt/include - build/Alsa-afb - - - - - - - ../../../opt/include/afb - Audio-Common - /usr/include/json-c - build/Audio-Common - - - - - - - ../../../opt/include/afb - Audio-Common - /usr/include/json-c - build/Audio-Common - - - - - - - Audio-Common - /usr/include/json-c - build/Audio-Common - - - - - - - - - - - build/Controller-afb - - - - - - - /usr/include/json-c - /usr/include/lua5.3 - Audio-Common - ../../../opt/include - build/Controller-afb - - - - - - - /usr/include/json-c - /usr/include/lua5.3 - Audio-Common - ../../../opt/include - build/Controller-afb - - - - - - - /usr/include/json-c - build/Controller-afb - - - - - - - /usr/include/json-c - /usr/include/lua5.3 - build/Controller-afb - - - - - - - ../../../opt/include - build/Controller-afb - - - - - - - Audio-Common - ../../../opt/include - build/HAL-afb/HAL-interface - - - - - - - Audio-Common - build/HAL-afb/HAL-interface - - - - - - - build/HAL-afb/HAL-interface - - - - - - - - - - - ../../../opt/include/afb - HAL-afb/HAL_MOST_UNICENS - ../../../opt/include/alsa - /usr/include/json-c - Audio-Common - HAL-afb/HAL-interface - ../../../opt/include - build/HAL-afb/HAL_MOST_UNICENS - - - - - - - HAL-afb/HAL_MOST_UNICENS/ucs2-vol/inc - HAL-afb/HAL_MOST_UNICENS/ucs2-vol/src - - - - - - - HAL-afb/HAL_MOST_UNICENS/ucs2-vol/src - HAL-afb/HAL_MOST_UNICENS/ucs2-vol/inc - - - - - - - HAL-afb/HAL_MOST_UNICENS/ucs2-vol/src - HAL-afb/HAL_MOST_UNICENS/ucs2-vol/inc - - - - - - - HAL-afb/HAL_MOST_UNICENS/ucs2-vol/inc - HAL-afb/HAL_MOST_UNICENS/ucs2-vol/src - - - - - - - HAL-afb/HAL_MOST_UNICENS - /usr/include/json-c - build/HAL-afb/HAL_MOST_UNICENS - - - - - - - ../../../opt/include/afb - HAL-afb/HAL_MOST_UNICENS - /usr/include/json-c - build/HAL-afb/HAL_MOST_UNICENS - - - - - - - ../../../opt/include/afb - HAL-afb/HAL_MOST_UNICENS - HAL-afb/HAL_MOST_UNICENS/ucs2-vol/inc - build/HAL-afb/HAL_MOST_UNICENS - - - - - - - - - - - - - - - - - - - Shared-Interface - HAL-afb/HAL-interface - build/HAL-afb/Unicens-USB - - - - - - - HAL-afb/HAL-interface - build/HAL-afb/Unicens-USB - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - ../../../opt/include/afb - afb-utilities - /usr/include/json-c - build/afb-utilities - - - - - - - afb-utilities - /usr/include/json-c - build/afb-utilities - - - - - - - Alsa-Plugin/Alsa-Policy-Hook - ../../../opt/include/alsa - /usr/include/json-c - ../../../opt/include/afb - ../../../opt/include - build/Alsa-Plugin/Alsa-Policy-Hook - - - CONTROL_MAXPATH_LEN=255 - MAX_LINEAR_DB_SCALE=24 - MAX_SND_CARD=16 - NATIVE_LINUX - PIC - TLV_BYTE_SIZE=256 - policy_hook_cb_EXPORTS - - - - - - - ../../../opt/include/afb - Alsa-afb - - - - - - - ../../../opt/include - ../../../opt/include/alsa - /usr/include/p11-kit-1 - /usr/include/json-c - /usr/include/lua5.3 - Audio-Common - build/Controller-afb - build/HAL-afb/HAL-plugin - /usr/include/alsa - build/Common - - - CONTROL_CDEV_RX="/dev/inic-usb-crx" - CONTROL_CDEV_TX="/dev/inic-usb-ctx" - CONTROL_CONFIG_PATH="/home/fulup/Workspace/AGL-AppFW/audio-bindings-dev/conf.d/project/config.d:/usr/local/controller/config.d" - CONTROL_CONFIG_POST="control" - CONTROL_CONFIG_PRE="onload" - CONTROL_LUA_EVENT="luaevt" - CONTROL_LUA_PATH="/home/fulup/Workspace/AGL-AppFW/audio-bindings-dev/conf.d/project/lua.d:/usr/local/controller/ctl-lua.d" - CONTROL_MAXPATH_LEN=255 - CONTROL_ONLOAD_DEFAULT="onload-default" - CONTROL_PLUGIN_PATH="/home/fulup/Workspace/AGL-AppFW/audio-bindings-dev/build:/home/fulup/opt/audio-bindings/ctlplug:/usr/lib/afb/ctlplug" - CTL_PLUGIN_MAGIC=2468013579 - MAX_LINEAR_DB_SCALE=24 - MAX_SND_CARD=16 - TLV_BYTE_SIZE=256 - audio_plugin_sample_EXPORTS - control_afb_EXPORTS - - - - - - - ../../../opt/include/afb - Controller-afb - - - - - - - ../../../opt/include - ../../../opt/include/alsa - /usr/include/p11-kit-1 - /usr/include/json-c - - - CONTROL_MAXPATH_LEN=255 - MAX_LINEAR_DB_SCALE=24 - MAX_SND_CARD=16 - TLV_BYTE_SIZE=256 - - - - - ../../../opt/include - ../../../opt/include/alsa - /usr/include/p11-kit-1 - /usr/include/json-c - /usr/include/lua5.3 - HAL-afb/HAL_MOST_UNICENS/ucs2-vol/inc - build/HAL-afb/HAL_MOST_UNICENS/ucs2-vol/src - HAL-afb/HAL_MOST_UNICENS/ucs2-vol/src - - - CONTROL_MAXPATH_LEN=255 - MAX_LINEAR_DB_SCALE=24 - MAX_SND_CARD=16 - NATIVE_LINUX - TLV_BYTE_SIZE=256 - - - - - - - ../../../opt/include/afb - HAL-afb/HAL-interface - - - - - - - /usr/include/lua5.3 - Audio-Common - build/Controller-afb - build/HAL-afb/HAL-plugin - ../../../opt/include/afb - HAL-afb/HAL-plugin - - - CONTROL_CDEV_RX="/dev/inic-usb-crx" - CONTROL_CDEV_TX="/dev/inic-usb-ctx" - CONTROL_CONFIG_PATH="/home/fulup/Workspace/AGL-AppFW/audio-bindings-dev/conf.d/project/config.d:/usr/local/controller/config.d" - CONTROL_CONFIG_POST="control" - CONTROL_CONFIG_PRE="onload" - CONTROL_LUA_EVENT="luaevt" - CONTROL_LUA_PATH="/home/fulup/Workspace/AGL-AppFW/audio-bindings-dev/conf.d/project/lua.d:/usr/local/controller/ctl-lua.d" - CONTROL_ONLOAD_DEFAULT="onload-default" - CONTROL_PLUGIN_PATH="/home/fulup/Workspace/AGL-AppFW/audio-bindings-dev/build:/home/fulup/opt/audio-bindings/ctlplug:/usr/lib/afb/ctlplug" - CTL_PLUGIN_MAGIC=2468013579 - audio_plugin_sample_EXPORTS - control_afb_EXPORTS - - - - - - - ../../../opt/include/afb - HAL-afb/HDA-intel - Audio-Common - HAL-afb/HAL-interface - build/HAL-afb/HDA-intel - - - - - - - HAL-afb/Jabra-Solemate - ../../../opt/include/afb - Audio-Common - HAL-afb/HAL-interface - build/HAL-afb/Jabra-Solemate - - - - - - - ../../../opt/include/afb - HAL-afb/Scarlett-Focusrite - Audio-Common - HAL-afb/HAL-interface - build/HAL-afb/Scarlett-Focusrite - - - - - - - /usr/include/lua5.3 - Audio-Common - build/Controller-afb - build/HAL-afb/HAL-plugin - ../../../opt/include/afb - HAL-afb/Unicens-USB - - - CONTROL_CDEV_RX="/dev/inic-usb-crx" - CONTROL_CDEV_TX="/dev/inic-usb-ctx" - CONTROL_CONFIG_PATH="/home/fulup/Workspace/AGL-AppFW/audio-bindings-dev/conf.d/project/config.d:/usr/local/controller/config.d" - CONTROL_CONFIG_POST="control" - CONTROL_CONFIG_PRE="onload" - CONTROL_LUA_EVENT="luaevt" - CONTROL_LUA_PATH="/home/fulup/Workspace/AGL-AppFW/audio-bindings-dev/conf.d/project/lua.d:/usr/local/controller/ctl-lua.d" - CONTROL_ONLOAD_DEFAULT="onload-default" - CONTROL_PLUGIN_PATH="/home/fulup/Workspace/AGL-AppFW/audio-bindings-dev/build:/home/fulup/opt/audio-bindings/ctlplug:/usr/lib/afb/ctlplug" - CTL_PLUGIN_MAGIC=2468013579 - audio_plugin_sample_EXPORTS - control_afb_EXPORTS - - - - - - - ../../../opt/include - ../../../opt/include/alsa - /usr/include/p11-kit-1 - /usr/include/json-c - /usr/include/lua5.3 - Audio-Common - build/Controller-afb - build/HAL-afb/HAL-plugin - ../../../opt/include/afb - HighLevel-afb - Shared-Interface - build/HighLevel-afb - - - CONTROL_CONFIG_PATH="/home/fulup/Workspace/AGL-AppFW/audio-bindings-dev/conf.d/project/config.d:/usr/local/controller/config.d" - CONTROL_CONFIG_POST="control" - CONTROL_CONFIG_PRE="onload" - CONTROL_LUA_EVENT="luaevt" - CONTROL_LUA_PATH="/home/fulup/Workspace/AGL-AppFW/audio-bindings-dev/conf.d/project/lua.d:/usr/local/controller/ctl-lua.d" - CONTROL_MAXPATH_LEN=255 - CONTROL_ONLOAD_DEFAULT="onload-default" - CONTROL_PLUGIN_PATH="/home/fulup/Workspace/AGL-AppFW/audio-bindings-dev/build:/home/fulup/opt/audio-bindings/ctlplug:/usr/lib/afb/ctlplug" - CTL_PLUGIN_MAGIC=2468013579 - MAX_LINEAR_DB_SCALE=24 - MAX_SND_CARD=16 - TLV_BYTE_SIZE=256 - audio_plugin_sample_EXPORTS - control_afb_EXPORTS - - - - - - - ../../../opt/include - ../../../opt/include/alsa - /usr/include/p11-kit-1 - /usr/include/json-c - /usr/include/lua5.3 - Audio-Common - build/Controller-afb - build/HAL-afb/HAL-plugin - - - CONTROL_CONFIG_PATH="/home/fulup/Workspace/AGL-AppFW/audio-bindings-dev/conf.d/project/config.d:/usr/local/controller/config.d" - CONTROL_CONFIG_POST="control" - CONTROL_CONFIG_PRE="onload" - CONTROL_LUA_EVENT="luaevt" - CONTROL_LUA_PATH="/home/fulup/Workspace/AGL-AppFW/audio-bindings-dev/conf.d/project/lua.d:/usr/local/controller/ctl-lua.d" - CONTROL_MAXPATH_LEN=255 - CONTROL_ONLOAD_DEFAULT="onload-default" - CONTROL_PLUGIN_PATH="/home/fulup/Workspace/AGL-AppFW/audio-bindings-dev/build:/home/fulup/opt/audio-bindings/ctlplug:/usr/lib/afb/ctlplug" - CTL_PLUGIN_MAGIC=2468013579 - MAX_LINEAR_DB_SCALE=24 - MAX_SND_CARD=16 - TLV_BYTE_SIZE=256 - audio_plugin_sample_EXPORTS - control_afb_EXPORTS - - - diff --git a/nbproject/project.xml b/nbproject/project.xml index 824d0e8..1ef2f4f 100644 --- a/nbproject/project.xml +++ b/nbproject/project.xml @@ -3,7 +3,7 @@ org.netbeans.modules.cnd.makeproject - unicens-4a + 4a-hal-unicens c cpp,cxx h,hpp @@ -14,15 +14,7 @@ - Local_Raw_Controller - 0 - - - Local_Alias - 0 - - - Local-Ctl + Default 0 @@ -30,10 +22,5 @@ false - - Authorize - Controler - printf - -- cgit 1.2.3-korg