AudioServices

From iPhone Development Wiki
Revision as of 20:51, 11 November 2009 by KennyTM~ (talk | contribs) (Created page with 'AudioServices is a group of C functions in {{fwlink|AudioToolbox}} for playing short (≤30 seconds) sounds. == Predefined sounds == There are some predefined system sounds,…')
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

AudioServices is a group of C functions in AudioToolbox for playing short (≤30 seconds) sounds.

Predefined sounds

There are some predefined system sounds, for the system sound ID in the range 1000 to 2000 (decimal), as shown below (as of 3.1.2). The system sounds are all stored in /System/Library/Audio/UISounds/.

Sound ID File name
1000 new-mail.caf
1001 mail-sent.caf
1002 Voicemail.caf
1003 ReceivedMessage.caf
1004 SentMessage.caf
1005 sq_alarm.caf
1006 low_power.caf
1007 sms-received1.caf
1008 sms-received2.caf
1009 sms-received3.caf
1010 sms-received4.caf
1012 sms-received1.caf
1013 sms-received5.caf
1014 sms-received6.caf
1015 Voicemail.caf
1050 ussd.caf
1051 SIMToolkitCallDropped.caf
1052 SIMToolkitGeneralBeep.caf
1053 SIMToolkitNegativeACK.caf
1054 SIMToolkitPositiveACK.caf
1055 SIMToolkitSMS.caf
1057 Tink.caf
1070 ct-busy.caf
1071 ct-congestion.caf
1072 ct-path-ack.caf
1073 ct-error.caf
1074 ct-call-waiting.caf
1075 ct-keytone2.caf
1100 sq_lock.caf
1101 sq_lock.caf
1103 sq_tock.caf
1104 sq_tock.caf
1105 sq_tock.caf
1106 sq_beep-beep.caf
1107 RingerChanged.caf
1108 photoShutter.caf
1109 shake.caf
1110 jbl_begin.caf
1111 jbl_confirm.caf
1112 jbl_cancel.caf
1113 begin_record.caf
1114 end_record.caf
1115 jbl_ambiguous.caf
1116 jbl_no_match.caf
1117 begin_video_record.caf
1118 end_video_record.caf
1200 dtmf-0.caf
1201 dtmf-1.caf
1202 dtmf-2.caf
1203 dtmf-3.caf
1204 dtmf-4.caf
1205 dtmf-5.caf
1206 dtmf-6.caf
1207 dtmf-7.caf
1208 dtmf-8.caf
1209 dtmf-9.caf
1210 dtmf-star.caf
1211 dtmf-pound.caf
1254 long_low_short_high.caf
1255 short_double_high.caf
1256 short_low_high.caf
1257 short_double_low.caf
1258 short_double_low.caf
1259 middle_9_short_double_low.caf
1300 Voicemail.caf
1301 ReceivedMessage.caf
1302 new-mail.caf
1303 mail-sent.caf
1304 sq_alarm.caf
1305 sq_lock.caf
1306 sq_tock.caf
1307 sms-received1.caf
1308 sms-received2.caf
1309 sms-received3.caf
1310 sms-received4.caf
1312 sms-received1.caf
1313 sms-received5.caf
1314 sms-received6.caf
1315 Voicemail.caf