<div>Michal , Thanks for your replay <br> <br>I googled some info about module-rescue-stream... <br> <br>I am new to audiopulse..Please clarify my doubts...<br> <br>1) Default sink device is set with &quot;set-default-sink&quot; command. When this sink device fails </div>

<div>    (what i set with set-default-sink command) , From where module-rescue-stream picks up another </div>
<div>    sink device ? <br> <br>-Raja<br> </div>
<div><span class="gmail_quote">On 5/18/09, <b class="gmail_sendername"><a href="mailto:pulseaudio-discuss-request@mail.0pointer.de">pulseaudio-discuss-request@mail.0pointer.de</a></b> &lt;<a href="mailto:pulseaudio-discuss-request@mail.0pointer.de">pulseaudio-discuss-request@mail.0pointer.de</a>&gt; wrote:</span>
<blockquote class="gmail_quote" style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid">Send pulseaudio-discuss mailing list submissions to<br>       <a href="mailto:pulseaudio-discuss@mail.0pointer.de">pulseaudio-discuss@mail.0pointer.de</a><br>
<br>To subscribe or unsubscribe via the World Wide Web, visit<br>       <a href="https://tango.0pointer.de/mailman/listinfo/pulseaudio-discuss">https://tango.0pointer.de/mailman/listinfo/pulseaudio-discuss</a><br>or, via email, send a message with subject or body &#39;help&#39; to<br>
       <a href="mailto:pulseaudio-discuss-request@mail.0pointer.de">pulseaudio-discuss-request@mail.0pointer.de</a><br><br>You can reach the person managing the list at<br>       <a href="mailto:pulseaudio-discuss-owner@mail.0pointer.de">pulseaudio-discuss-owner@mail.0pointer.de</a><br>
<br>When replying, please edit your Subject line so it is more specific<br>than &quot;Re: Contents of pulseaudio-discuss digest...&quot;<br><br><br>Today&#39;s Topics:<br><br>  1. How to add dynamic switching support between      Bluetooth<br>
     headset and Local speaker. (Raja.Mani)<br>  2. Re: How to add dynamic switching support between Bluetooth<br>     headset and Local speaker. (Micha? Sawicz)<br><br><br>----------------------------------------------------------------------<br>
<br>Message: 1<br>Date: Mon, 18 May 2009 15:02:26 +0530<br>From: &quot;Raja.Mani&quot; &lt;<a href="mailto:rajambsc@gmail.com">rajambsc@gmail.com</a>&gt;<br>Subject: [pulseaudio-discuss] How to add dynamic switching support<br>
       between Bluetooth headset and Local speaker.<br>To: <a href="mailto:pulseaudio-discuss@mail.0pointer.de">pulseaudio-discuss@mail.0pointer.de</a><br>Message-ID:<br>       &lt;<a href="mailto:c7e95f7c0905180232k24006cf8q9fba2b88c78fcdbc@mail.gmail.com">c7e95f7c0905180232k24006cf8q9fba2b88c78fcdbc@mail.gmail.com</a>&gt;<br>
Content-Type: text/plain; charset=&quot;iso-8859-1&quot;<br><br>Hi ,<br><br>I have to implement dynamic switching support between Bluetooth headset and<br>Local speaker in Linux..<br><br>For example if i am playing mp3 file in music player over bluetooth headset<br>
(using alsasink plaugin),<br>suddenly i disconnected headset  connection .. then rest of song should be<br>played in local speaker..<br><br>Can we do with pluseaudio?<br><br>Could you give some point where i can put this dynamic switching logic?<br>
<br>It would be great if anyone provide this..<br><br>-Raja.<br>-------------- next part --------------<br>An HTML attachment was scrubbed...<br>URL: &lt;<a href="https://tango.0pointer.de/pipermail/pulseaudio-discuss/attachments/20090518/135f4f1a/attachment.html">https://tango.0pointer.de/pipermail/pulseaudio-discuss/attachments/20090518/135f4f1a/attachment.html</a>&gt;<br>
<br>------------------------------<br><br>Message: 2<br>Date: Mon, 18 May 2009 11:45:47 +0200<br>From: Micha? Sawicz &lt;<a href="mailto:michal@sawicz.net">michal@sawicz.net</a>&gt;<br>Subject: Re: [pulseaudio-discuss] How to add dynamic switching support<br>
       between Bluetooth headset and Local speaker.<br>To: General PulseAudio Discussion<br>       &lt;<a href="mailto:pulseaudio-discuss@mail.0pointer.de">pulseaudio-discuss@mail.0pointer.de</a>&gt;<br>Message-ID: &lt;<a href="mailto:1242639947.4690.23.camel@midell.sawicz.net">1242639947.4690.23.camel@midell.sawicz.net</a>&gt;<br>
Content-Type: text/plain; charset=&quot;UTF-8&quot;<br><br>Dnia 2009-05-18, pon o godzinie 15:02 +0530, Raja.Mani pisze:<br>&gt;<br>&gt;  Can we do with pluseaudio?<br>&gt;<br>&gt;  Could you give some point where i can put this dynamic switching<br>
&gt; logic?<br>&gt;<br>&gt;  It would be great if anyone provide this..<br><br>It&#39;s already working like this with module-rescue-stream. Whenever a<br>sink is removed all streams playing into it are moved to another sink.<br>
There&#39;s a bug, though, that prevents that from happening when you have<br>tunnel streams, for example.<br><br>--<br>Micha? Sawicz &lt;<a href="mailto:michal@sawicz.net">michal@sawicz.net</a>&gt;<br><br><br><br>------------------------------<br>
<br>_______________________________________________<br>pulseaudio-discuss mailing list<br><a href="mailto:pulseaudio-discuss@mail.0pointer.de">pulseaudio-discuss@mail.0pointer.de</a><br><a href="https://tango.0pointer.de/mailman/listinfo/pulseaudio-discuss">https://tango.0pointer.de/mailman/listinfo/pulseaudio-discuss</a><br>
<br><br>End of pulseaudio-discuss Digest, Vol 50, Issue 36<br>**************************************************<br></blockquote></div><br>