PortAudio

From Audacity Wiki
Revision as of 13:33, 4 January 2012 by Arent (talk | contribs)
Jump to: navigation, search
PortAudio  is a cross-platform Audio I/O library used by Audacity. PortAudio development is led by Phil Burk and Ross Bencina, but some of the Audacity developers are major contributors to PortAudio as well. There are two major versions of PortAudio available, of which the Audacity stable 1.2.x line uses PortAudio v18 by default, and the Beta 1.3.x line uses the more recent v19.
 
Related article(s):

Portaudio v18

This is the earlier version of PortAudio, but it has limited support for more modern audio APIs . In particular, it has no ALSA  support on Linux. The Audacity version of PortAudio has been patched extensively, in particular to get our Mac CoreAudio  support to work with a wider range of devices.

Portaudio v19

PortAudio v19 is the current version of PortAudio and is still being developed. The API is regarded as "stable" by the PortAudio developers, but the degree of completeness in the implementations is variable. We rely on SVN "snapshots" of the codebase. Often the version of PortAudio used in Audacity has patches that have yet to make it back to the PortAudio SVN.

PortAudio v19 is the only way to get ALSA support under Linux. In some cases it's also the only way to get certain external devices to work with Audacity, especially Firewire devices on Mac (though USB devices on Mac can be more problematic on v19 than v18).