diff options
author | Sebastian Dröge <sebastian.droege@collabora.co.uk> | 2009-10-30 09:27:59 +0100 |
---|---|---|
committer | Sebastian Dröge <sebastian.droege@collabora.co.uk> | 2009-10-30 09:27:59 +0100 |
commit | 3f541452c4916b31a222043b172b3398647b8091 (patch) | |
tree | 4cae033d1bc7250bb98ceaf16ec663722a090ea7 /configure.ac | |
parent | 0c12f585e3b4d8ecb1f52bfcb5dca2b57c71cf44 (diff) |
pulsesink: Only set the volume on stream connection if pulse >= 0.9.20 is available
In older versions the volume set during stream connection had
no defined sematic and usually it was a relative volume. What
was needed for our use case is an absolute volume though, otherwise
the volume will be always decreased on stream connection if it's
less than 100%.
Since pulse 0.9.20 that volume is always an absolute volume if
flat volumes are used and relative otherwise, which is the same
as for pa_context_set_sink_input_volume().
Relevant pulse changesets:
http://git.0pointer.de/?p=pulseaudio.git;a=commit;h=f27a50691c8fe45bac7dd6b21fac91a359def3a1
http://git.0pointer.de/?p=pulseaudio.git;a=commit;h=2501687579e359d5032a4d165b2ffc8f5b1b8ba6
Diffstat (limited to 'configure.ac')
-rw-r--r-- | configure.ac | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac index 36b388480..0e6d63cbc 100644 --- a/configure.ac +++ b/configure.ac @@ -772,6 +772,10 @@ AG_GST_CHECK_FEATURE(PULSE, [pulseaudio plug-in], pulseaudio, [ if test x$HAVE_PULSE_0_9_15 = xyes; then AC_DEFINE(HAVE_PULSE_0_9_15, 1, [defined if pulseaudio >= 0.9.15 is available]) fi + AG_GST_PKG_CHECK_MODULES(PULSE_0_9_20, libpulse >= 0.9.20) + if test x$HAVE_PULSE_0_9_20 = xyes; then + AC_DEFINE(HAVE_PULSE_0_9_20, 1, [defined if pulseaudio >= 0.9.20 is available]) + fi ]) dnl *** dv1394 *** |