equal
deleted
inserted
replaced
21 #define KVolumeMinSoundFile "z:\\resource\\avkonsystemsounds\\volume_min.wav" |
21 #define KVolumeMinSoundFile "z:\\resource\\avkonsystemsounds\\volume_min.wav" |
22 #define KVolumeMaxSoundFile "z:\\resource\\avkonsystemsounds\\volume_max.wav" |
22 #define KVolumeMaxSoundFile "z:\\resource\\avkonsystemsounds\\volume_max.wav" |
23 #define KBatteryLowSoundFile "z:\\resource\\avkonsystemsounds\\battery_low.wav" |
23 #define KBatteryLowSoundFile "z:\\resource\\avkonsystemsounds\\battery_low.wav" |
24 #define KDefaultBeepSoundFile "z:\\resource\\avkonsystemsounds\\default_beep.wav" |
24 #define KDefaultBeepSoundFile "z:\\resource\\avkonsystemsounds\\default_beep.wav" |
25 #define KBatteryRechargeSoundFile "z:\\resource\\avkonsystemsounds\\battery_dead.wav" |
25 #define KBatteryRechargeSoundFile "z:\\resource\\avkonsystemsounds\\battery_dead.wav" |
|
26 #define KConfirmationSoundFile "z:\\resource\\avkonsystemsounds\\confirmation.wav" |
|
27 #define KWarningSoundFile "z:\\resource\\avkonsystemsounds\\warning.wav" |
26 |
28 |
27 |
29 |
28 RESOURCE AVKON_SOUND_INFO_LIST r_avkon_default_sound_list |
30 RESOURCE AVKON_SOUND_INFO_LIST r_avkon_default_sound_list |
29 { |
31 { |
30 list= |
32 list= |
57 // 0x11 = 17 = OPCODE_DURATION_UNIT |
59 // 0x11 = 17 = OPCODE_DURATION_UNIT |
58 // 0x0A = 10 = duration unit => tone duration is 10ms * tone_tick |
60 // 0x0A = 10 = duration unit => tone duration is 10ms * tone_tick |
59 // 0x76 = 118 => 118-64=54=AUD_TONE_RING_FREQ_F2 = 1397Hz |
61 // 0x76 = 118 => 118-64=54=AUD_TONE_RING_FREQ_F2 = 1397Hz |
60 // 0x11 = 17 = tone_tick = 170ms |
62 // 0x11 = 17 = tone_tick = 170ms |
61 // 0x0B = 11 = OPCODE_END |
63 // 0x0B = 11 = OPCODE_END |
62 file = KDefaultBeepSoundFile; |
64 file = KConfirmationSoundFile; |
63 volume = 5; |
65 volume = 5; |
64 }, |
66 }, |
65 AVKON_SOUND_INFO |
67 AVKON_SOUND_INFO |
66 { |
68 { |
67 sid=EAvkonSIDErrorTone; |
69 sid=EAvkonSIDErrorTone; |
73 // 0x11 = 17 = OPCODE_DURATION_UNIT |
75 // 0x11 = 17 = OPCODE_DURATION_UNIT |
74 // 0x0A = 10 = duration unit => tone duration is 10ms * tone_tick |
76 // 0x0A = 10 = duration unit => tone duration is 10ms * tone_tick |
75 // 0x6C = 108 => 108-64=44=AUD_TONE_RING_FREQ_G1 = 784Hz |
77 // 0x6C = 108 => 108-64=44=AUD_TONE_RING_FREQ_G1 = 784Hz |
76 // 0x19 = 25 = tone_tick = 250ms |
78 // 0x19 = 25 = tone_tick = 250ms |
77 // 0x0B = 11 = OPCODE_END |
79 // 0x0B = 11 = OPCODE_END |
78 file = KDefaultBeepSoundFile; |
80 file = KWarningSoundFile; |
79 volume = 5; |
81 volume = 5; |
80 }, |
82 }, |
81 AVKON_SOUND_INFO |
83 AVKON_SOUND_INFO |
82 { |
84 { |
83 sid=EAvkonSIDWarningTone; |
85 sid=EAvkonSIDWarningTone; |
89 // 0x11 = 17 = OPCODE_DURATION_UNIT |
91 // 0x11 = 17 = OPCODE_DURATION_UNIT |
90 // 0x0A = 10 = duration unit => tone duration is 10ms * tone_tick |
92 // 0x0A = 10 = duration unit => tone duration is 10ms * tone_tick |
91 // 0x6C = 108 => 108-64=44=AUD_TONE_RING_FREQ_G1 = 784Hz |
93 // 0x6C = 108 => 108-64=44=AUD_TONE_RING_FREQ_G1 = 784Hz |
92 // 0x19 = 25 = tone_tick = 250ms |
94 // 0x19 = 25 = tone_tick = 250ms |
93 // 0x0B = 11 = OPCODE_END |
95 // 0x0B = 11 = OPCODE_END |
94 file = KDefaultBeepSoundFile; |
96 file = KWarningSoundFile; |
95 volume = 5; |
97 volume = 5; |
96 }, |
98 }, |
97 |
99 |
98 AVKON_SOUND_INFO |
100 AVKON_SOUND_INFO |
99 { |
101 { |