Set volume mixer control value 86/216086/2 submit/tizen/20191021.043551
authorSangchul Lee <sc11.lee@samsung.com>
Mon, 21 Oct 2019 03:58:43 +0000 (12:58 +0900)
committerSangchul Lee <sc11.lee@samsung.com>
Mon, 21 Oct 2019 04:17:34 +0000 (13:17 +0900)
It had been set inside of UCM with a verb, but we removed the UCM
codes in the previous patch, Now it is added to _audio_volume_init()
and it is set with the previous value.

[Version] 0.1.7
[Issue Type] Bug fix

Change-Id: I383ea92485f450258f309a17bef16714dfc3579f
Signed-off-by: Sangchul Lee <sc11.lee@samsung.com>
packaging/audio-hal-bcm2837.spec
tizen-audio-volume.c

index 8d7d9c987143d2beb9ee49ad5d047f89d94fc7d4..7ca95599a0f2cbe12c8540e95c98293667a94729 100644 (file)
@@ -1,6 +1,6 @@
 Name:       audio-hal-bcm2837
 Summary:    TIZEN Audio HAL for BCM2837
-Version:    0.1.6
+Version:    0.1.7
 Release:    0
 Group:      System/Libraries
 License:    Apache-2.0
index 4ecf326c44bd0808a2c9b45f6a781cada10f4734..7257b32d282b29782badb4aab4c6be75d9f1bd2f 100644 (file)
@@ -29,6 +29,7 @@
 #include <iniparser.h>
 
 #include "tizen-audio-internal.h"
+#include "tizen-audio-impl.h"
 
 #define VOLUME_INI_DEFAULT_PATH     SYSCONFDIR"/multimedia/mmfw_audio_volume.ini" /* SYSCONFDIR is defined at .spec */
 #define VOLUME_INI_TEMP_PATH        "/opt/system/mmfw_audio_volume.ini"
@@ -290,6 +291,8 @@ audio_return_t _audio_volume_init(audio_hal_t *ah)
         return AUDIO_ERR_UNDEFINED;
     }
 
+    _mixer_control_set_value(ah, "PCM Playback Volume", -663); /* value of 90% */
+
     return audio_ret;
 }