summaryrefslogtreecommitdiffstats
path: root/plugin
diff options
context:
space:
mode:
Diffstat (limited to 'plugin')
-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;
}