summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--packaging/audio-hal-sc7727.spec2
-rw-r--r--tizen-audio-ctrl.c7
-rw-r--r--tizen-audio-impl-pcm.c2
-rw-r--r--tizen-audio-impl-ucm.c3
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);