Microphone stream capture in WAV format

I am transferring a subway style application from the window of my phone 7.5 in Windows 8. My application was used to capture the microphone input stream.

I found the MediaCapture class in win 8 api for metro-style applications, but I see no way to get the microphone input in a wav encoded stream.

Switching to another encoding format will significantly affect the code base.

Is it possible to capture a wav encoded microphone stream?

+6
source share
1 answer

Of course. I recommend you use the Naudio class, and from the sources you can easily find how to record a recording. Here is the code EXAMPLE

Enjoy it!

+1
source

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


All Articles