[−][src]Module libpulse_sys::version
Version constants and functions.
The constants defined here follow those given in the C headers.
- They are typically updated only following a new major release of PA.
- They are not typically updated following a new minor release of PA. i.e. we may declare
version
12.0
here, but remain compatible with all12.x
, so long as PA itself continues to adhere to semantic versioning (i.e. no breaking changes in minor releases). - They are not the minimum compatible PA version. We have feature flags for providing backwards compatibility with a limited number of past major versions.
Currently:
- We primarily target PA version
12.x
- We have backwards compatibility with PA version
11.x
(and it is believed10.x
) if thepa_encoding_from_string
feature flag is disabled.
When feature flags are used for backwards compatibility, the versions defined here (as of
version 1.4
) are adjusted to return the newest compatible major version.
The get_library_version
function always obtains at runtime the version of the actual PA
library in use.
Enums
Compatibility | PA version compatibility selection. |
Constants
LINK_TARGET_VERSION | Deprecated |
PA_API_VERSION | |
PA_MAJOR | Deprecated |
PA_MICRO | Deprecated |
PA_MINOR | Deprecated |
PA_PROTOCOL_VERSION | |
TARGET_VERSION | The major and minor components of the newest version of the PulseAudio client library this linking library is known to be compatible with. |
TARGET_VERSION_STRING | The newest version of the PulseAudio client library this linking library is known to be compatible with. |
Functions
get_compatibility | Returns indication of PA version compatibility support, depending upon feature flags used. |
pa_check_version | |
pa_get_headers_version | Deprecated |
pa_get_library_version⚠ |