Jump to content
  • Advertisement
Sign in to follow this  
Peter19852001

Writing a program to record sound, how to

This topic is 4905 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

Recently I am wondering how to write a program to record sounds just like "Recorder" does. Any information is appreciated, the platform can be both windows or linux. Thanks in advance.

Share this post


Link to post
Share on other sites
Advertisement
In directX there is something called directsound.
You should download directXSDK9 from microsoft's site.
Here:
http://www.microsoft.com/downloads/details.aspx?FamilyID=AFC15F29-D7C9-4CF7-A8D5-8AB81F14AE1B&displaylang=en

I believe it includes all the relevant documentation including directsound (the size seems to fit), eventhough it is called an update?
I looked for minutes and couldnt find any other relevant documentation of directx.
Hope that helps.

Share this post


Link to post
Share on other sites
Another option from DirectSound that is probably much lighter weight would be to use the waveIn* series of winapi functions. Look up waveInOpen in the MSDN
I haven't use that specific series of functions, but I've used waveOut* and it was extremely simple.

Share this post


Link to post
Share on other sites
Sign in to follow this  

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!