summaryrefslogtreecommitdiffstats
path: root/plugin/most_unicens.c
diff options
context:
space:
mode:
authorTobias Jahnke <tobias.jahnke@microchip.com>2018-11-20 14:46:45 +0100
committerTobias Jahnke <tobias.jahnke@microchip.com>2018-12-18 13:01:13 +0100
commit3b4582fd7bbac25c1b8577d76b538e4e3fe8978c (patch)
treee81aa555beb26ea043fc11c94cabd30df7337397 /plugin/most_unicens.c
parent8dc6241c47e500a51afb3db1c77ac4c234f11b17 (diff)
hal-unicens: removed unused sections, updated json
Bug-AGL: SPEC-1505 Signed-off-by: Tobias Jahnke <tobias.jahnke@microchip.com>
Diffstat (limited to 'plugin/most_unicens.c')
-rw-r--r--plugin/most_unicens.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/plugin/most_unicens.c b/plugin/most_unicens.c
index e34ef63..610a9f9 100644
--- a/plugin/most_unicens.c
+++ b/plugin/most_unicens.c
@@ -88,6 +88,7 @@ Abort_Exit:
return err;
}
+#if 0
CTLP_CAPI(MasterSwitch, source, argsJ, queryJ)
{
json_bool master_switch;
@@ -134,6 +135,7 @@ Abort_Exit:
return err;
}
+#endif
CTLP_CAPI(PCMVol, source, argsJ, queryJ)
{
@@ -204,13 +206,11 @@ CTLP_CAPI(Init, source, argsJ, queryJ)
// avoid muted volume to be persistent after boot.
//wrap_volume_master(source->api, 80);
wrap_volume_pcm(source->api, pcm_volume, PCM_MAX_CHANNELS);
-
- AFB_ApiNotice(source->api, "4A-HAL-UNICENS: Initializing plugin done..");
initialized = 1;
Abort_Exit:
pthread_mutex_unlock(&mutex);
-
+ AFB_ApiNotice(source->api, "4A-HAL-UNICENS: Initializing plugin done, err=%d", err);
return err;
}