[pulseaudio-commits] Broken: pulseaudio/pulseaudio#327 (next - 0aeaf87)

Travis CI builds at travis-ci.org
Sat May 13 18:21:59 UTC 2017


Build Update for pulseaudio/pulseaudio
-------------------------------------

Build: #327
Status: Broken

Duration: 3 minutes and 5 seconds
Commit: 0aeaf87 (next)
Author: Tanu Kaskinen
Message: sink, source: update the default sink/source on port switches

When sinks are compared during the default sink selection, the active
port's availability is inspected. Therefore, the default sink should be
updated when the active port changes, because the new port may have
different availability status than the old port.

For example, let's say that a laptop has an analog sink with a speaker
and a headphone port, and headphones are initially plugged in, so both
ports can be used[1]. The headphone port is initially the active port.
There's also a null sink in the system. When the headphones are
unplugged, the headphone port becomes unavailable, and the null sink
becomes the new default sink. Then module-switch-on-connect changes the
analog sink port to speakers. Now the default sink should change back to
the analog sink, but that doesn't happen without this patch.

[1] Actually we currently mark speakers as unavailable when headphones
are plugged in, but that's not strictly necessary. My example relies on
both ports being available initially, so the bug can't be reproduced
with the current mixer configuration.

View the changeset: https://github.com/pulseaudio/pulseaudio/compare/b8858ff24d03...0aeaf87cb15d

View the full build log and details: https://travis-ci.org/pulseaudio/pulseaudio/builds/231925374?utm_source=email&utm_medium=notification

--

You can configure recipients for build notifications in your .travis.yml file. See https://docs.travis-ci.com/user/notifications

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/pulseaudio-commits/attachments/20170513/6d954095/attachment.html>


More information about the pulseaudio-commits mailing list