Capturing microphone audio stream in Windows using C

I am looking to create a Morse detector (and, ultimately, an encoder) on C. I would like to use the audio port as an input signal and try the input voltage on the port.

How can I read the voltage on a microphone audio port in Windows using C?

+3
source share
1 answer

The simplest way is to use the waveIn functions provided by the Win32 API.

You can read Record and play sound using Waveform audio format for review or just dive into the API Documentation .

+7

Source: https://habr.com/ru/post/1725548/


All Articles