1. Download and compilation of Portaudio
Portaudio is an open source cross-platform audio input/output library, official website: http://www.portaudio.com/. There is a download link inside the official website, I am under the pa_stable_v190600_20161030.tgz.
Unzip the pa_stable_v190600_20161030.tgz file to the current file with the following directory structure:
1.1 Windows Compilation
Portaudio source of the build directory has a msvc folder, containing VC6.0 project files, open with VS2010. Compile error, this is because there is less asiosdk, so we need to download ASIOSDK.
ASIOSDK Download the address is: https://www.steinberg.net/en/company/developers.html, the download page is as follows:
Download the blue box in the "ASIO SDK" on the line, I downloaded the package file is Asiosdk2.3.zip, unzip it to portaudio\src\hostapi\asio\. After decompression for the directory will be more than a ASIOSDK2.3 folder, we will change it to ASIOSDK, and then compile our portaudio can be passed.
portaudio--Cross-platform audio acquisition API