Are there are any header files to be included to play audio file using C language.
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.
On Mac OS X, the native audio API is CoreAudio. Apple provides some pretty good documentation for it on their site. It provides format converters for several common file formats too.
As mentioned above, you can also use SDL—SDL has the advantage of being more portable. CoreAudio is specific to Mac OS X.