diff options
author | Tobias Jahnke <tobias.jahnke@microchip.com> | 2018-11-20 14:46:45 +0100 |
---|---|---|
committer | Tobias Jahnke <tobias.jahnke@microchip.com> | 2018-12-18 10:24:00 +0100 |
commit | c8e3421798ed2c48e5a9885698217ce33e8d85a2 (patch) | |
tree | 32c450d976441e26ee3739b08d60b841ad2ba82d /plugin | |
parent | 690c6800c603c09714f2d336d04b5fa83cbdd4a4 (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')
-rw-r--r-- | plugin/most_unicens.c | 6 |
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; } |