[Request]Change the default alarm tone.
authorxiaolong_.ma <xiaolong_.ma@samsung.com>
Sat, 8 Sep 2012 03:10:42 +0000 (11:10 +0800)
committerxiaolong_.ma <xiaolong_.ma@samsung.com>
Sat, 8 Sep 2012 03:19:46 +0000 (11:19 +0800)
alarm/CMakeLists.txt
alarm/include/alarm_define.h
alarm/include/alarm_string.h
packaging/org.tizen.clock.spec
ring/res/sounds/General notification_sdk.wav [new file with mode: 0644]

index de76f8d..66b1b0d 100644 (file)
@@ -19,8 +19,8 @@ SET(LIB_SRCS src/alarm_lib.c
 
 #set define
 SET(ALARMRING_PKGNAME ${PKGNAME_RING})
-#SET(ALARM_SOUND_PATH "/opt/apps/${ALARMRING_PKGNAME}/res/sounds")
-SET(ALARM_SOUND_PATH "/opt/share/settings/Alarms")
+SET(ALARM_SOUND_PATH "/opt/apps/${ALARMRING_PKGNAME}/res/sounds")
+#SET(ALARM_SOUND_PATH "/opt/share/settings/Alarms")
 SET(PACKAGE alarm)
 #SET(LOCALEDIR "${RESDIR}/locale/alarm")
 
index d684389..dd0e957 100644 (file)
@@ -54,7 +54,7 @@
 #define THEME_NAME          EDJDIR"/theme_alarm.edj"
 #define ALARM_ICON_PATH     IMAGEDIR"/code"
 #define ALARM_TEMP_NUM      ALARM_ICON_PATH"/50_time_num_"
-#define ALARM_MORNING_CALL_TONE          "Walk in the forest.mp3"
+#define ALARM_MORNING_CALL_TONE          "General notification_sdk.wav"
 #define ALARM_DEF_TONE          ALARM_MORNING_CALL_TONE
 //
 #define ALARM_IMAGE_ADD ALARM_ICON_PATH"/01_controlbar_icon_create.png"
index 5b004d2..a1c8ec2 100644 (file)
@@ -41,7 +41,7 @@
 #define        STRING_ALARM_SNOOZE_TIME_10M    "10m"
 #define        STRING_ALARM_SETTING_TIME_CHANGED       "setting_time_changed"
 #define        STRING_ALARM_IDS_COM_BODY_ALARM_S_      S_("IDS_COM_BODY_ALARM")
-#define        STRING_ALARM_IDS_ALM_BODY_SAMSUNG_TUNE_         "Walk in the forest"//_("IDS_ALM_BODY_SAMSUNG_TUNE")
+#define        STRING_ALARM_IDS_ALM_BODY_SAMSUNG_TUNE_         "Default"//_("IDS_ALM_BODY_SAMSUNG_TUNE")
 #define        STRING_ALARM_IDS_ALM_BODY_ONCE_         S_("IDS_COM_BODY_NEVER")
 #define        STRING_ALARM_IDS_ALM_BODY_WEEKDAYS_             _("IDS_ALM_BODY_WEEKDAYS")
 #define        STRING_ALARM_IDS_ALM_BODY_EVERYDAY_             _("IDS_ALM_BODY_EVERYDAY")
index 0025e46..ab104e0 100755 (executable)
@@ -2,7 +2,7 @@
 Name:      org.tizen.clock
 Summary:    background image library
 Version:    0.2.0
-Release:    49
+Release:    50
 License:    TBD
 Source0:    %{name}-%{version}.tar.gz
 BuildRequires:  cmake
@@ -398,7 +398,7 @@ fi
 chown -R 5000:5000 /opt/apps/org.tizen.clock/data
 vconftool set -t int db/private/org.tizen.clock/clock/clock_application_id 1 -g 5000
 #set alarm
-vconftool set -t string db/private/org.tizen.clock/alarm_app/default_alarm_tone "/opt/share/settings/Alarms/Walk in the forest.mp3" -g 5000
+vconftool set -t string db/private/org.tizen.clock/alarm_app/default_alarm_tone "/opt/apps/org.tizen.ring/res/sounds/General notification_sdk.wav" -g 5000
 vconftool set -t int db/private/org.tizen.clock/alarm_app/default_snooze_minutes 5 -g 5000
 vconftool set -t int db/alarm/state 0 -g 5000
 vconftool set -t int db/private/org.tizen.clock/alarm/update 0 -g 5000
diff --git a/ring/res/sounds/General notification_sdk.wav b/ring/res/sounds/General notification_sdk.wav
new file mode 100644 (file)
index 0000000..6487389
Binary files /dev/null and b/ring/res/sounds/General notification_sdk.wav differ