I am new to sound in XCode, I am using sound effects. I want a sound effect and I know that for sound effects you should use audio toolbox framework, what is the code? How do I code it, what are the variables and properties?
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
First, convert the sound to lei16 caf. Here’s a good write up that explains why you should use that format.
Here’s the code to play it.