Welcome to the new platform of Programmers Heaven! We apologize for the inconvenience caused, if you visited us from a broken link of the previous version. The main reason to move to a new platform is to provide more effective and collaborative experience to you all. Please feel free to experience the new platform and use it's exciting features. Contact us for any issue that you need to get clarified. We are more than happy to help you.
How to write a sound recording program in C langage?
Hi, everyone. I am wondering how to write a C program for recording 5-second audio via the PC microphone. I only know it's quite easy to achieve this in the language of MatLab(by just using its wavrecord and wavwrite commands), however I have no idea how to do it in C programming language as I am new to C. Do I actually need to initialize the sound device? If so, how? I am with the Soundblaster Audigy and Windows XP. Any comments will be highly appreciated.