PulseAudio  3.0.0-7.1.mga3
version.h File Reference

Define header version. More...

Go to the source code of this file.

Macros

#define pa_get_headers_version()   ("3.0.0")
 Return the version of the header files.
 
#define PA_API_VERSION   12
 The current API version.
 
#define PA_PROTOCOL_VERSION   27
 The current protocol version.
 
#define PA_MAJOR   3
 The major version of PA.
 
#define PA_MINOR   0
 The minor version of PA.
 
#define PA_MICRO   0
 The micro version of PA (will always be 0 from v1.0 onwards).
 
#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.

Macro Definition 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 ( )    ("3.0.0")

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   3

The major version of PA.

Since
0.9.15
#define PA_MICRO   0

The micro version of PA (will always be 0 from v1.0 onwards).

Since
0.9.15
#define PA_MINOR   0

The minor version of PA.

Since
0.9.15
#define PA_PROTOCOL_VERSION   27

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.