<div>Yep, when a software demands alsa (like pd does) it gets stuck. Jack is the way to go, but it actually works the same way, &#39;cause once jack gets a hold of alsa, everything else that is not communcating to jack and is demanding alsa will also be stuck. The trick is making/using programs that can talk to jack (i.e.: my audio player is mocp, video player is vlc, daw is ardour, etc... etc... they all can use jack as output).</div>

<div><br></div><div>Making flash plugin / browser going to jack has been coverd in many forums. example:</div><div>- <a href="http://ubuntuforums.org/showthread.php?t=843012">http://ubuntuforums.org/showthread.php?t=843012</a></div>

<meta http-equiv="content-type" content="text/html; charset=utf-8"><div><br></div>note: Last time I tried to put my chrome+flash_plugin working with jack it took a bit of long time and a lot of ubuntu studio forum reading!<br>

<br><div>best of luck,</div><div>Pedro</div><div><br><div class="gmail_quote">On Mon, Dec 6, 2010 at 8:21 AM, IOhannes m zmoelnig <span dir="ltr">&lt;<a href="mailto:zmoelnig@iem.at">zmoelnig@iem.at</a>&gt;</span> wrote:<br>

<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;"><div class="im">On 2010-12-05 22:34, Aaron L. wrote:<br>
&gt; This is somewhat of a complete newb issue so I apologize up front for<br>
&gt; that.......<br>
&gt;<br>
&gt; However, it seems that I cannot use pdextended and watch a youtube video at<br>
&gt; the same time (the youtube vid is a pd tutorial).<br>
&gt;<br>
&gt; Here&#39;s what it&#39;s starting with:<br>
&gt;<br>
&gt;  pasuspender -- /usr/bin/pdextended -alsa %F<br>
&gt;<br>
&gt; Is it absolutely necessary to start pd with &#39;pasuspender&#39;?<br>
&gt;<br>
&gt; When I don&#39;t (i.e. start it like this:  &#39;/usr/bin/pdextended -alsa&#39; ), I get<br>
&gt; a bunch of &#39;device or resource busy&#39; messages in the terminal and I don&#39;t<br>
&gt; get any audio when doing the whold testtone thing).<br>
&gt;<br>
&gt; Is there any way around this?<br>
<br>
<br>
</div>well, this is exactly the way how alsa is supposed to work:<br>
- only one application can access a (hardware) device at any point<br>
<br>
pulseaudio is a way to circumvent this limitation.<br>
running Pd in pasuspender, effectively disables pulseaudio including all<br>
it&#39;s features.<br>
<br>
<br>
luckily there are ways around that.<br>
<br>
- use pulseaudio (not a good option, as Pd currently doesn&#39;t support it<br>
:-(; btw, pa is geared towards the ordinary consumer multimedia desktop<br>
where people would like to watch their youtube videos and at the same<br>
time listen to the latest p!nk smash hit; Pd is not really targeted<br>
towards that marketm, hence pa is not done yet)<br>
<br>
- use alsa&#39;s &quot;dmix&quot; interface; &quot;dmix&quot; is a virtual device that allows<br>
several applications to send their audio output to the same hardware<br>
device (without the applications even knowing of it). i&#39;m not 100% sure<br>
whether you can actually access this from within Pd....<br>
<br>
- use &quot;jack&quot;. now you can think of jack as &quot;pulseaudio for pros&quot;, it<br>
allows to route the output of one process to the input of another<br>
process (or more); &quot;process&quot; can be both hardware (your soundcard) or<br>
software (Pd, your browser,...).<br>
there are also ways to make alsa-only applications (e.g. your browser)<br>
use a pseudo alsa device that really sends all audio to jack (thus the<br>
application need not be aware of jack at all)<br>
<br>
<br>
madt<br>
<font color="#888888">IOhannes<br>
<br>
</font><br>_______________________________________________<br>
<a href="mailto:Pd-list@iem.at">Pd-list@iem.at</a> mailing list<br>
UNSUBSCRIBE and account-management -&gt; <a href="http://lists.puredata.info/listinfo/pd-list" target="_blank">http://lists.puredata.info/listinfo/pd-list</a><br>
<br></blockquote></div><br><br clear="all"><br>-- <br>Pedro Lopes (MSc)<br>contact: <a href="mailto:pedro.lopes@ist.utl.pt" target="_blank">pedro.lopes@ist.utl.pt</a><br>website: <a href="http://web.ist.utl.pt/Pedro.Lopes" target="_blank">http://web.ist.utl.pt/Pedro.Lopes</a> <br>


</div>