Reputation: 1677
I'm migrating an metro style application from windows phone 7.5 to windows 8. My application was used to capture the microphone input stream .
I've found MediaCapture class in the win 8 api for metro style apps, but I see no possibililty to get the microphone input stream in wav encoding.
Switching to another encoding format would significally affect the codebase.
Is there any possibility to capture the microphone stream in wav encoding?
Upvotes: 6
Views: 3228
Reputation: 5805
Sure it is. I recommend you to use Naudio class, and under sources you can easily find how to capture record. Here is the code EXAMPLE
Enjoy!
Upvotes: 1