Fix invalid volume table identifier 50/44050/2 accepted/tizen/mobile/20150717.060503 accepted/tizen/tv/20150717.060523 accepted/tizen/wearable/20150717.060538 submit/tizen/20150717.050655
authorJeongho Mok <jho.mok@samsung.com>
Thu, 16 Jul 2015 10:23:21 +0000 (19:23 +0900)
committerJeongho Mok <jho.mok@samsung.com>
Fri, 17 Jul 2015 03:51:11 +0000 (20:51 -0700)
[Version] Release 0.2.6
[Profile] Mobile
[Issue Type] Fix Bug

Change-Id: I4b8895825efa142a4aef39fbebfbb01b4428d417
Signed-off-by: Jeongho Mok <jho.mok@samsung.com>
tizen-audio-volume.c

index 3faa25e9ac1695fe92777fdd78b59bb9fc4f0542..96ea40a34119680fd97c78a23e1fd3da471e6aca 100644 (file)
@@ -135,7 +135,7 @@ static void __dump_tb (audio_mgr_t *am)
     /* Dump volume table */
     AUDIO_LOG_INFO("<<<<< volume table >>>>>");
 
-    const char *table_str = __get_device_string_by_idx(AUDIO_VOLUME_DEVICE_DEFAULT);
+    const char *table_str = "volumes";
 
     AUDIO_LOG_INFO("<< %s >>", table_str);
 
@@ -204,7 +204,7 @@ static audio_return_t __load_volume_value_table_from_ini (audio_mgr_t *am)
 
     const char delimiter[] = ", ";
     char *key, *list_str, *token, *ptr = NULL;
-    const char *table_str = __get_device_string_by_idx(AUDIO_VOLUME_DEVICE_DEFAULT);
+    const char *table_str = "volumes";
 
     /* Load volume table */
     for (vol_type_idx = 0; vol_type_idx < AUDIO_VOLUME_TYPE_MAX; vol_type_idx++) {