<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
  <meta content="text/html; charset=ISO-8859-1"
 http-equiv="Content-Type">
  <title></title>
</head>
<body text="#000000" bgcolor="#ffffff">
<br>
On 10/27/2009 11:59 AM, Ma Begaj wrote:
<blockquote
 cite="mid:a72d33330910270859w508263bema8f94a3a420c9751@mail.gmail.com"
 type="cite">
  <blockquote type="cite" style="font-size: large; color: rgb(0, 0, 0);">
    <blockquote type="cite"
 style="font-size: large; color: rgb(0, 0, 0);">
      <pre wrap=""><span class="moz-txt-citetags">&gt;&gt; </span>I could finally use my A2DP bluetooth headphones on the fly, without
<span class="moz-txt-citetags">&gt;&gt; </span>stopping the video/music and without changing sound device in the
<span class="moz-txt-citetags">&gt;&gt; </span>mythfrontend configuration.
<span class="moz-txt-citetags">&gt;&gt;</span>
      </pre>
    </blockquote>
    <pre wrap=""><span class="moz-txt-citetags">&gt;</span>
<span class="moz-txt-citetags">&gt; </span>Yes, on ubuntu 9.10 I can switch on the fly with Pulse between HDMI and A2DP
<span class="moz-txt-citetags">&gt; </span>output, or output to both simultaneously. &nbsp;I just re-tested it, as there's
<span class="moz-txt-citetags">&gt; </span>been quite a lot of change in the A2DP support... never can tell what works
<span class="moz-txt-citetags">&gt; </span>one day to the next. &nbsp; Should be pretty stable now, though with release
<span class="moz-txt-citetags">&gt; </span>imminent.
<span class="moz-txt-citetags">&gt;</span>
    </pre>
  </blockquote>
  <pre wrap="">How do you switch between HDMI (or in my case Alsa:Surround51) and
A2DP? On the command line?
  </pre>
</blockquote>
The PulseAudio Volume Control (pavucontrol) applet will let you
re-direct audio output graphically...&nbsp; I'm sure there are a variety of
programmatic interfaces that could do it as well, if you were trying to
hook it into your remote control.&nbsp; <br>
<br>
In Myth, you just leave it as ALSA:default.<br>
<br>
My .asoundrc creates an alsa interface for Pulse:<br>
<blockquote>pcm.!default {<br>
&nbsp; type pulse<br>
}<br>
  <br>
ctl.!default {<br>
&nbsp;&nbsp;&nbsp; type pulse<br>
}<br>
</blockquote>
<br>
<br>
<br>
<br>
</body>
</html>