sound recording & playback
-
does anybody have any code that helps in sound recording from microphone without using directshow/directsound and all those complex things? also not write to a file but to keep the recorded sound data in memory.
from microphone without using directshow/directsound and all those complex things DirectX is a layer provided by Microsoft to access hardware using a standard uniform API, without it, you will have to write each API for each of the hardware installed. Like, when you need to use Creative Sound Card, you will need separate API and so is other sound card. You will need a lot of version of your program to get it compatible. Sonork 100.41263:Anthony_Yio Life is about experiencing ...
-
from microphone without using directshow/directsound and all those complex things DirectX is a layer provided by Microsoft to access hardware using a standard uniform API, without it, you will have to write each API for each of the hardware installed. Like, when you need to use Creative Sound Card, you will need separate API and so is other sound card. You will need a lot of version of your program to get it compatible. Sonork 100.41263:Anthony_Yio Life is about experiencing ...
Anthony - That's not entirely correct. Another option is to use the Windows MME API - for example the WaveIn* functions will do the trick too, and you won't really care about the hardware. Shoonya - start with the WaveInOpen function and go from there. I don't really know what you are looking for, but this is a viable alternative to DirectX. You might find, though, that this is has different 'complex things', and DirectX might still be the way to go. The choice is yours. Marcus Spitzmiller "Why must life be so hard? Why must I fail at every attempt at masonry?" - Homer
-
does anybody have any code that helps in sound recording from microphone without using directshow/directsound and all those complex things? also not write to a file but to keep the recorded sound data in memory.
Sorry, but decided to delete my previous posting. I don't want to deal with any questions. If you use email notification, you'll have a copy. Here's an article that covers some of the same things (except, he apparently uses callbacks, which I don't normally recommend, but if it works....) http://www.codeproject.com/audio/wave_class_for_playing_and_recording.asp#xx648264xx[^] Anyone who thinks he has a better idea of what's good for people than people do is a swine. - P.J. O'Rourke