Building and Installing PortAudio on Windows
PortAudio (http://www.portaudio.com) provides a uniform programming interface to a variety of audio devices. For Windows users, it is a convenient way to get a working, full-duplex, soundcard interface for GNU Radio. Although PortAudio includes code to access Windows audio through DirectX, kernel streaming, ASIO, or WASAPI interfaces, performance with the traditional Windows "wave" interface is satisfactory for most GNU Radio purposes. This version is easily built under Cygwin and MinGW/MSYS. (These instructions should also work for Linux systems, but need to be tested.)
Detailed Instructions
Download pa_stable_v19_061121.tar.gz from http://www.portaudio.com/download.html to /usr/src. Then:
$ cd /usr/src $ tar zxf pa_stable_v19_061121.tar.gz $ cd portaudio $ autoconf $ ./configure --disable-static $ make $ make install
The autoconf command is only needed for building on Cygwin; it is not needed for MinGW/MSYS. In the future [sometime after 21 Nov 2006] the need for autoconf on Cygwin should go away.
PortAudio is installed under /usr/local/* by default.
Notes:
- a newer version (pa_stable_v19_20071207) is available, but the installation procedure omits a required file (pa_win_waveformat) when using the default audio libraries for Windows
- you can use a directory other than /usr/src if you prefer
- to install PortAudio somewhere other than /usr/local use the --prefix= option on ./configure (but be sure that GNU Radio's ./configure can find it)
- for more information on PortAudio see http://www.portaudio.com
