diff options
author | Jaechul Lee <jcsing.lee@samsung.com> | 2022-07-04 11:15:46 +0900 |
---|---|---|
committer | Jaechul Lee <jcsing.lee@samsung.com> | 2022-07-04 11:15:46 +0900 |
commit | 9f3febaf4fcef19a649520e66a8782d3d1abc1d5 (patch) | |
tree | b4b1f602564cfdcafe7f0033796032dd6cf8bf5c | |
parent | 422a7be33b1d77499d71a8492acd94a98a61e69b (diff) | |
download | audio-alsa-tizen_7.0_hotfix.tar.gz audio-alsa-tizen_7.0_hotfix.tar.bz2 audio-alsa-tizen_7.0_hotfix.zip |
Fix coverity issues (EVALUATION_ORDER)tizen_8.0_m2_releasetizen_7.0_m2_releasesubmit/tizen/20220704.084748accepted/tizen/unified/20220705.211111accepted/tizen/8.0/unified/20231005.094436accepted/tizen/7.0/unified/hotfix/20221116.110350accepted/tizen/7.0/unified/20221110.060843tizen_8.0tizen_7.0_hotfixtizen_7.0accepted/tizen_8.0_unifiedaccepted/tizen_7.0_unified_hotfixaccepted/tizen_7.0_unified
[Version] 0.0.3
[Issue Type] Coverity
Change-Id: I536d53a30ee5c559d7dd379ca180ec1cfa74f1b0
Signed-off-by: Jaechul Lee <jcsing.lee@samsung.com>
-rw-r--r-- | packaging/hal-backend-audio-alsa.spec | 2 | ||||
-rw-r--r-- | tizen-audio-impl-pcm.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/packaging/hal-backend-audio-alsa.spec b/packaging/hal-backend-audio-alsa.spec index 5e552f2..0764a8a 100644 --- a/packaging/hal-backend-audio-alsa.spec +++ b/packaging/hal-backend-audio-alsa.spec @@ -1,6 +1,6 @@ Name: hal-backend-audio-alsa Summary: TIZEN Audio HAL using ALSA -Version: 0.0.2 +Version: 0.0.3 Release: 0 Group: System/Libraries License: Apache-2.0 diff --git a/tizen-audio-impl-pcm.c b/tizen-audio-impl-pcm.c index acec0e4..eada323 100644 --- a/tizen-audio-impl-pcm.c +++ b/tizen-audio-impl-pcm.c @@ -605,7 +605,7 @@ audio_return_e _pcm_set_params(void *pcm_handle, uint32_t direction, void *sampl requested_ss.format != selected_ss.format || requested_ss.channels != selected_ss.channels) { - uint32_t _period_size = _period_size = selected_ss.rate * period_size / requested_ss.rate; + uint32_t _period_size = selected_ss.rate * period_size / requested_ss.rate; AUDIO_LOG_INFO("hwparam has been changed. rate(%d->%d), channels(%d->%d), format(%d->%d)", requested_ss.rate, selected_ss.rate, |