Opened 10 years ago

Closed 10 years ago

#6475 closed patch (fixed)

Add version check for PulseAudio

Reported by: sphery <mtdean@…> Owned by: Isaac Richards
Priority: minor Milestone: unknown
Component: MythTV - General Version: head
Severity: medium Keywords:
Cc: Ticket locked: no

Description

The new PulseAudio code uses pa_context_suspend_source_by_index() and pa_context_suspend_sink_by_index() which were added to Pulse in version 0.9.7. The attached patch simply adds a version check to ensure that audio_pulse is only enabled if the system Pulse version is at least 0.9.7.

Note that unlike some of our other pkg-config checks (but also like some of them--including the libav* ones), the check does not include a check for the existence of pkg-config (using "which", which, itself may not be installed on the system).

Attachments (1)

mythtv-configure-pulseaudio_version_check.patch (399 bytes) - added by sphery <mtdean@…> 10 years ago.
Adds PulseAudio? version check.

Download all attachments as: .zip

Change History (2)

Changed 10 years ago by sphery <mtdean@…>

Adds PulseAudio? version check.

comment:1 Changed 10 years ago by danielk

Resolution: fixed
Status: newclosed

(In [20433]) Fixes #6475. Check that a new enough pulse audio lib is installed before we try to use it.

Note: See TracTickets for help on using tickets.