Proposed Enhancements to PortAudio API

018 - Version Information Interface

Enhancement Proposals Index, PortAudio Home Page

Updated: October 22, 2002

Status

This proposal is complete and has been implemented in the v19-devel CVS Branch.

Background

The is currently no way for client code to determine which version of PortAudio it is using.

Proposal

Add a function to retrieve a numeric version number, and a function to retrieve a textual description of the current PortAudio version .

/** Retrieve the release number of the currently running 
 build of PortAudio, eg 1900.
*/
int Pa_GetVersion( void );

/** Retrieve a textual description of the current PortAudio
 build, eg "PortAudio V19-devel 13 October 2002".
*/
const char* Pa_GetVersionText( void );

Discussion

Impact Analysis

This proposal makes version information available to clients and does not effect existing client code.