<html>
<head>
<base href="https://bugs.freedesktop.org/" />
</head>
<body>
<p>
<div>
<b><a class="bz_bug_link
bz_status_NEW "
title="NEW --- - Pulse Audio settings lost after reboot / HDMI is set as default"
href="https://bugs.freedesktop.org/show_bug.cgi?id=73375#c25">Comment # 25</a>
on <a class="bz_bug_link
bz_status_NEW "
title="NEW --- - Pulse Audio settings lost after reboot / HDMI is set as default"
href="https://bugs.freedesktop.org/show_bug.cgi?id=73375">bug 73375</a>
from <span class="vcard"><a class="email" href="mailto:david.henningsson@canonical.com" title="David Henningsson <david.henningsson@canonical.com>"> <span class="fn">David Henningsson</span></a>
</span></b>
<pre>(In reply to <a href="show_bug.cgi?id=73375#c23">comment #23</a>)
<span class="quote">> Created <span class=""><a href="attachment.cgi?id=96337" name="attach_96337" title="Output of "pulseaudio -vvv" after killing pulseaudio, wrong profile is active">attachment 96337</a> <a href="attachment.cgi?id=96337&action=edit" title="Output of "pulseaudio -vvv" after killing pulseaudio, wrong profile is active">[details]</a></span>
> Output of "pulseaudio -vvv" after killing pulseaudio, wrong profile is active</span >
After looking at this log, I think I found it, but I'm not really sure how to
fix it yet.
There is some special code that should prevent switching from analog to HDMI:
/* Try not to switch to HDMI sinks from analog when HDMI is becoming
available */
PA_IDXSET_FOREACH(sink, profile->card->sinks, idx) {
if (!sink->active_port)
continue;
if (sink->active_port->available != PA_AVAILABLE_NO)
return false;
}
but it has stopped working on startup. The reason is this commit:
commit 0b83787d4e844f47affbc903d97b0ca69e234570
Author: David Henningsson <<a href="mailto:david.henningsson@canonical.com">david.henningsson@canonical.com</a>>
Date: Tue Apr 16 15:17:37 2013 +0200
alsa: Initialize ports before sinks/sources
...this causes the current profile not to have any sinks, so the code above
never returns false like it should.</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are the QA Contact for the bug.</li>
<li>You are the assignee for the bug.</li>
</ul>
</body>
</html>