Defines | Functions

version.h File Reference

Define header version. More...

Go to the source code of this file.

Defines

#define pa_get_headers_version()   ("0.9.22")
 Return the version of the header files.
#define PA_API_VERSION   12
 The current API version.
#define PA_PROTOCOL_VERSION   16
 The current protocol version.
#define PA_MAJOR   0
 The major version of PA.
#define PA_MINOR   9
 The minor version of PA.
#define PA_MICRO   22
 The micro version of PA.
#define PA_CHECK_VERSION(major, minor, micro)
 Evaluates to TRUE if the PulseAudio library version is equal or newer than the specified.

Functions

const char * pa_get_library_version (void)
 Return the version of the library the current application is linked to.

Detailed Description

Define header version.


Define Documentation

#define PA_API_VERSION   12

The current API version.

Version 6 relates to Polypaudio 0.6. Prior versions (i.e. Polypaudio 0.5.1 and older) have PA_API_VERSION undefined. Please note that this is only ever increased on incompatible API changes!

#define PA_CHECK_VERSION (   major,
  minor,
  micro 
)
Value:
((PA_MAJOR > (major)) ||                                            \
     (PA_MAJOR == (major) && PA_MINOR > (minor)) ||                     \
     (PA_MAJOR == (major) && PA_MINOR == (minor) && PA_MICRO >= (micro)))

Evaluates to TRUE if the PulseAudio library version is equal or newer than the specified.

Since:
0.9.16
#define pa_get_headers_version (  )    ("0.9.22")

Return the version of the header files.

Keep in mind that this is a macro and not a function, so it is impossible to get the pointer of it.

#define PA_MAJOR   0

The major version of PA.

Since:
0.9.15
#define PA_MICRO   22

The micro version of PA.

Since:
0.9.15
#define PA_MINOR   9

The minor version of PA.

Since:
0.9.15
#define PA_PROTOCOL_VERSION   16

The current protocol version.

Version 8 relates to Polypaudio 0.8/PulseAudio 0.9.


Function Documentation

const char* pa_get_library_version ( void   )

Return the version of the library the current application is linked to.