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 InstructionsDownload pa_snapshot.tgz
from http://www.portaudio.com/download.html
to /usr/src . Then:
$ cd /usr/src $ tar -zxf pa_snapshot.tgz $ cd portaudio $ ./configure --disable-static $ make $ make install
PortAudio is installed under /usr/local/* by default.
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
autoconf before doing
./configure - 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
注:Building and Installing
PortAudio on Windows(原文出处,翻译整理仅供参考!) |
|