<br><blockquote style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;" class="gmail_quote">
With this patch applied, you app should work nicely with the following<br>
pipeline:<br><br>
App -&gt; PortAudio -&gt; Alsa -&gt; Pulse -&gt; Sound H/W -&gt; Ears -&gt; Brain<br></blockquote>
Well, then I could just go with PortAudio and rely on Ubuntu to patch their thing someday :)<br><br><blockquote style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;" class="gmail_quote">
Lennart wrote a nice article about Audio APIs recently:<br><a href="http://0pointer.de/blog/projects/guide-to-sound-apis.html" target="_blank">http://0pointer.de/blog/projects/guide-to-sound-apis.html</a><br><br>
May make for some nice reading :)<br></blockquote>

Thanks, I&#39;ve been looking for something like that...<br><br clear="all">--<br>Regards Jonas Finnemann Jensen.<br>
<br><br><div class="gmail_quote">On Tue, Jan 27, 2009 at 13:34, Colin Guthrie <span dir="ltr">&lt;<a href="mailto:gmane@colin.guthr.ie">gmane@colin.guthr.ie</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
&#39;Twas brillig, and Jonas Finnemann Jensen at 27/01/09 11:18 did gyre and<br>
gimble:<br>
<div class="Ih2E3d">&gt; Hi,<br>
&gt;<br>
&gt; I don&#39;t know if this is the right list to post this question, if not I&#39;m<br>
&gt; very sorry and feel free to ignore me :)<br>
&gt; (I think maybe this should have gone to PortAudio list, but it&#39;s down<br>
&gt; for the moment).<br>
&gt;<br>
&gt; I&#39;m doing a free platform independent application in C# using mono...<br>
&gt; Now I wish to do audio playback, so far I&#39;ve found some C# bindings for<br>
&gt; PortAudio, and as far as I can see it should be easy to include and<br>
&gt; distribute PortAudio in a windows release...<br>
&gt;<br>
&gt; However, I&#39;m running Ubuntu 8.10, and when playing music with PortAudio<br>
&gt; other applications can&#39;t play anything... I think this is because<br>
&gt; PortAudio uses ALSA directly...<br>
<br>
</div>This shouldn&#39;t be a problem as alsa can be directed to pulseaudio.<br>
<br>
I&#39;m going to hazard a guess and say that Ubuntu probably hasn&#39;t included<br>
Kevin Kofler&#39;s patches in their portaudio package that makes it play<br>
nice with the alsa-&gt;pulse plugin? You should look in the Fedora or<br>
Mandriva portaudio packages for this patch. I&#39;m not sure if it&#39;s gone<br>
upstream.<br>
<br>
<a href="http://svn.mandriva.com/cgi-bin/viewvc.cgi/packages/cooker/portaudio/current/SOURCES/portaudio-19-alsa_pulse.patch?revision=313993&amp;view=markup" target="_blank">http://svn.mandriva.com/cgi-bin/viewvc.cgi/packages/cooker/portaudio/current/SOURCES/portaudio-19-alsa_pulse.patch?revision=313993&amp;view=markup</a><br>

<br>
With this patch applied, you app should work nicely with the following<br>
pipeline:<br>
<br>
App -&gt; PortAudio -&gt; Alsa -&gt; Pulse -&gt; Sound H/W -&gt; Ears -&gt; Brain<br>
<div class="Ih2E3d"><br>
&gt; I&#39;d admit that I don&#39;t know much about audio playback and sound<br>
&gt; architecture... But should I be using PulseAudio instead of PortAudio,<br>
&gt; or should I use some specific backend in PortAudio, or a specific<br>
&gt; setting for ALSA when using it from PortAudio?<br>
&gt;<br>
&gt; What is the most portable and easy way to audio playback, from the<br>
&gt; applications developers perspective?<br>
&gt; And how do I avoid blocking other applications from playing sounds?<br>
<br>
</div>Lennart wrote a nice article about Audio APIs recently:<br>
<a href="http://0pointer.de/blog/projects/guide-to-sound-apis.html" target="_blank">http://0pointer.de/blog/projects/guide-to-sound-apis.html</a><br>
<br>
May make for some nice reading :)<br>
<br>
Col<br>
<br>
--<br>
<br>
Colin Guthrie<br>
gmane(at)<a href="http://colin.guthr.ie" target="_blank">colin.guthr.ie</a><br>
<a href="http://colin.guthr.ie/" target="_blank">http://colin.guthr.ie/</a><br>
<br>
Day Job:<br>
 &nbsp; Tribalogic Limited [<a href="http://www.tribalogic.net/" target="_blank">http://www.tribalogic.net/</a>]<br>
Open Source:<br>
 &nbsp; Mandriva Linux Contributor [<a href="http://www.mandriva.com/" target="_blank">http://www.mandriva.com/</a>]<br>
 &nbsp; PulseAudio Hacker [<a href="http://www.pulseaudio.org/" target="_blank">http://www.pulseaudio.org/</a>]<br>
 &nbsp; Trac Hacker [<a href="http://trac.edgewall.org/" target="_blank">http://trac.edgewall.org/</a>]<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" target="_blank">https://tango.0pointer.de/mailman/listinfo/pulseaudio-discuss</a><br>
</blockquote></div><br>