Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Capture audio in C++ from a microphone [closed]

I want doing a program to capture and process audio from a mic. I search in Internet but is so confuse. Do you know what class and functions i have use to capture audio in c++? If you give me some samples i will thank you.

I use windows 7 and visual studio 2012

like image 451
Telo Pena Barreiro Avatar asked Dec 14 '13 13:12

Telo Pena Barreiro


People also ask

How do I transfer audio from computer to microphone?

You can do this by going to Control Panel and clicking Hardware & Sound. Next is you should click Manage Audio Devices and choose Recording. Then allow Stereo Mix and set it to the default mic. Easy peasy!


1 Answers

There are multiple options, at first you have the choice to use a larger framework or the Winapi directly. If you choose the latter then have a look at this tutorial, it shows it better than I could.

like image 99
Bernd Elkemann Avatar answered Oct 01 '22 06:10

Bernd Elkemann