Waitrud Weber’s blog

things and reminders for memories

windows-make: Sounds Programming:

Recording procedure is like the below.

--- execution 001 ---
> .\winmain_001.exe
Sat Jun 04 15:34:56 202    record_002 starts.
Sat Jun 04 15:34:56 202    waveInOpen:
Sat Jun 04 15:34:56 202    waveInPrepareHeader:
Sat Jun 04 15:34:56 202    waveInAddBuffer:
Sat Jun 04 15:34:56 202    record_002 ends.
--- execution 001 ---

Very thanks to:
[1] https://cpp.hotexamples.com/examples/-/-/waveInOpen/cpp-waveinopen-function-examples.html

1 Pulg Mic to the audio input and if you do not we can not open a sound device by use of waveInOpen. - -
2 - - -
3 - - -
4 - - -
5 - - -

*
We are going to stop the process of recording sounds, so, after open of a mic device, windows window like a dialog should be still open.
But, windows api itself is called for the lootin of "int main(int argc, char** argv)".