Writing a program to record sound, how to
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.
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.
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.
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.
I haven't use that specific series of functions, but I've used waveOut* and it was extremely simple.
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement