summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJaechul Lee <jcsing.lee@samsung.com>2022-07-04 11:15:46 +0900
committerJaechul Lee <jcsing.lee@samsung.com>2022-07-04 11:15:46 +0900
commit9f3febaf4fcef19a649520e66a8782d3d1abc1d5 (patch)
treeb4b1f602564cfdcafe7f0033796032dd6cf8bf5c
parent422a7be33b1d77499d71a8492acd94a98a61e69b (diff)
downloadaudio-alsa-9f3febaf4fcef19a649520e66a8782d3d1abc1d5.tar.gz
audio-alsa-9f3febaf4fcef19a649520e66a8782d3d1abc1d5.tar.bz2
audio-alsa-9f3febaf4fcef19a649520e66a8782d3d1abc1d5.zip
[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.spec2
-rw-r--r--tizen-audio-impl-pcm.c2
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,