PortAudioInstall

= 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 &quot;wave&quot; 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  from http://www.portaudio.com/download.html to. Then:

$ cd /usr/src $ tar -zxf pa_snapshot.tgz $ cd portaudio $ ./configure --disable-static $ make $ make install PortAudio is installed under  by default.

Note: On MinGW/MSYS, you should edit the file  to change the line

Libs: -L${libdir} -lportaudio @LIBS@ to

Libs: -L${libdir} -lportaudio @DLL_LIBS@ before running. This will prevent the linker from trying to include  when building the gr-audio-portaudio DLL.

@ @

Notes:

 * pa_snapshot.tgz appears to build and work well, but that could change any day; if necessary, you can use pa_stable_v19_061121.tar.gz, but on Cygwin you will need to run  before doing
 * 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  use the   option on   (but be sure that GNU Radio's   can find it)
 * for more information on PortAudio see http://www.portaudio.com