diff options
author | Seungbae Shin <seungbae.shin@samsung.com> | 2018-09-04 17:30:01 +0900 |
---|---|---|
committer | Seungbae Shin <seungbae.shin@samsung.com> | 2018-09-04 17:43:38 +0900 |
commit | 3a0323a6fea77f5f48b44693e58618cd6935ede6 (patch) | |
tree | 60b86ea9fa3fa2bef48dac3a49bc4660e4af38d0 | |
parent | d571bdd9370e8fbbc9b5177cd0cc54b4059b98bc (diff) | |
download | audio-hal-sc7727-3a0323a6fea77f5f48b44693e58618cd6935ede6.tar.gz audio-hal-sc7727-3a0323a6fea77f5f48b44693e58618cd6935ede6.tar.bz2 audio-hal-sc7727-3a0323a6fea77f5f48b44693e58618cd6935ede6.zip |
Remove build warningssubmit/tizen_5.0/20181106.000001submit/tizen_5.0/20181101.000001submit/tizen/20180906.100329accepted/tizen/unified/20180906.144221accepted/tizen/5.0/unified/20181106.201801tizen_5.0accepted/tizen_5.0_unified
[Version] 0.1.27
[Issue Type] Revise
Change-Id: Icdeb6362c9782fa3ce0f02a05f140f7165e2ff68
-rw-r--r-- | packaging/audio-hal-sc7727.spec | 2 | ||||
-rw-r--r-- | tizen-audio-ctrl.c | 7 | ||||
-rw-r--r-- | tizen-audio-impl-pcm.c | 2 | ||||
-rw-r--r-- | tizen-audio-impl-ucm.c | 3 |
4 files changed, 8 insertions, 6 deletions
diff --git a/packaging/audio-hal-sc7727.spec b/packaging/audio-hal-sc7727.spec index 21bc0d3..270f2af 100644 --- a/packaging/audio-hal-sc7727.spec +++ b/packaging/audio-hal-sc7727.spec @@ -1,6 +1,6 @@ Name: audio-hal-sc7727 Summary: TIZEN Audio HAL for SC7727 -Version: 0.1.26 +Version: 0.1.27 Release: 0 Group: System/Libraries License: Apache-2.0 diff --git a/tizen-audio-ctrl.c b/tizen-audio-ctrl.c index 561bd92..2b9bacd 100644 --- a/tizen-audio-ctrl.c +++ b/tizen-audio-ctrl.c @@ -1,7 +1,7 @@ /* * audio-hal * - * Copyright (c) 2015 - 2016 Samsung Electronics Co., Ltd. All rights reserved. + * Copyright (c) 2018 Samsung Electronics Co., Ltd. All rights reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -21,6 +21,7 @@ #endif #include "tizen-audio-internal.h" +#include "tizen-audio-impl.h" audio_return_t _audio_ctrl_init(audio_hal_t *ah) { @@ -28,7 +29,7 @@ audio_return_t _audio_ctrl_init(audio_hal_t *ah) AUDIO_RETURN_VAL_IF_FAIL(ah, AUDIO_ERR_PARAMETER); - audio_ret = _mixer_control_init(ah); + audio_ret = _mixer_control_init(ah); return audio_ret; } @@ -39,7 +40,7 @@ audio_return_t _audio_ctrl_deinit(audio_hal_t *ah) AUDIO_RETURN_VAL_IF_FAIL(ah, AUDIO_ERR_PARAMETER); - audio_ret = _mixer_control_deinit(ah); + audio_ret = _mixer_control_deinit(ah); return audio_ret; } diff --git a/tizen-audio-impl-pcm.c b/tizen-audio-impl-pcm.c index 0c1304c..e809bab 100644 --- a/tizen-audio-impl-pcm.c +++ b/tizen-audio-impl-pcm.c @@ -465,7 +465,7 @@ audio_return_t _pcm_close(void *pcm_handle) { int err; - AUDIO_LOG_INFO("Try to close PCM handle 0x%x", pcm_handle); + AUDIO_LOG_INFO("Try to close PCM handle %p", pcm_handle); #ifdef __USE_TINYALSA__ if ((err = pcm_close(pcm_handle)) < 0) { diff --git a/tizen-audio-impl-ucm.c b/tizen-audio-impl-ucm.c index a15128f..aa574d7 100644 --- a/tizen-audio-impl-ucm.c +++ b/tizen-audio-impl-ucm.c @@ -397,8 +397,9 @@ audio_return_t _ucm_set_devices(audio_hal_t *ah, const char *verb, const char *d break; } } - } else + } else { for (dev_count = 0; devices[dev_count]; dev_count++); + } } __dump_use_case(UCM_PREFIX_REQUESTED, verb, devices, dev_count, NULL, 0); |