It would be very cool to be able to send audio to portaudio from another program using something like PulseAudio. For instance I am running a freeswitch box with no soundcard but i want to be able to send audio from a program such as MPD to freeswitch. Could something like this be possible in PA2?<br>
<br><div class="gmail_quote">2011/1/28 Joćo Mesquita <span dir="ltr">&lt;<a href="mailto:jmesquita@freeswitch.org">jmesquita@freeswitch.org</a>&gt;</span><br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
Paulo,<div><br></div><div>What is the current status of PA with non-blocking I/O? A little while ago it was not moving forward and pablio was the only way out of it. What are your plans? Maybe some of us can help?</div><div>

<br></div><div>Regards,<div>Joćo Mesquita<div><div></div><div class="h5"><br>
<br><br><div class="gmail_quote">On Fri, Jan 28, 2011 at 9:54 AM, Tamas Jalsovszky <span dir="ltr">&lt;<a href="mailto:jalsot@gmail.com" target="_blank">jalsot@gmail.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">

Wow, I didn&#39;t even know that somebody is working on PA2.<br>Paulo, could you share some more information about that module? Why would somebody use it instead of the current one? Advantages/disadvantages?<br>Is the source code available somewhere? Do you have a roadmap for the module? :)<br>


<br>Regards,<br><font color="#888888">  Tamas</font><div><div></div><div><br><br><div class="gmail_quote">On Fri, Jan 28, 2011 at 12:51 PM, Paulo Vicentini <span dir="ltr">&lt;<a href="mailto:vizentini@hotmail.com" target="_blank">vizentini@hotmail.com</a>&gt;</span> wrote:<br>

<blockquote class="gmail_quote" style="margin:0pt 0pt 0pt 0.8ex;border-left:1px solid rgb(204, 204, 204);padding-left:1ex">




<div>
<div>Hi</div><div>You can try PortMixer for volume control that is intended to work along with PortAudio </div><div><br></div><div>I am developing/testing &quot;mod_portaudio2&quot; that does not rely on pablio, maybe things will be better with this approach</div>


<div>  </div><div>Paulo</div><div><br></div><hr>From: <a href="mailto:mitch.capper@gmail.com" target="_blank">mitch.capper@gmail.com</a><br>Date: Sat, 22 Jan 2011 21:05:22 -0800<br>To: <a href="mailto:freeswitch-users@lists.freeswitch.org" target="_blank">freeswitch-users@lists.freeswitch.org</a><br>


Subject: Re: [Freeswitch-users] Portaudio Improvements<div><div></div><div><br><br>Ah well viewing volume levels had not been something I had looked into.  It wouldn&#39;t be too hard but the question is how do you constantly report that (FS event every second? every half second? port audio commands to return that value frequently?).  If your client is windows however again the native windows volume handler for apps does also keep track of their current output.   <br>




<br>~Mitch<br><br><div>On Sat, Jan 22, 2011 at 5:26 PM, Seven Du <span dir="ltr">&lt;<a href="mailto:dujinfang@gmail.com" target="_blank">dujinfang@gmail.com</a>&gt;</span> wrote:<br><blockquote style="padding-left:1ex">




Thanks Mitch, I actually had tried the equivalent uuid_audio and looks<br>
like it&#39;s the only way to do it for now. We had wanted to get energy<br>
levels dynamically to show a live indication but we given up that<br>
feature.<br>
<div><div></div><div><br>
<br>
On Sun, Jan 23, 2011 at 2:52 AM, Mitch Capper &lt;<a href="mailto:mitch.capper@gmail.com" target="_blank">mitch.capper@gmail.com</a>&gt; wrote:<br>
&gt; It is true PA lacks volume control, it had been something I was debating.<br>
&gt; Adding gain is pretty simple as you are for the most part just multiplying<br>
&gt; up the samples I believe so would not be a major item to add to portaudio, I<br>
&gt; however decided not to go this route for two reasons.  1) In Windows each<br>
&gt; application has its own volume setting (Vista and higher),  and apps are<br>
&gt; starting to tie into this than internal volume controls.  The downside is it<br>
&gt; doesn&#39;t distort audio/have a gain option.   This is when I thought about<br>
&gt; allowing for a fixed gain amount added to portaudio.  2) Freeswitch actually<br>
&gt; has its own built in volume control settings with set_audio_level.<br>
&gt; set_audio_level allows for 9 settings (4 lower 4 higher) and seems to do a<br>
&gt; good job at digital volume control.<br>
&gt; Avoiding modifying the audio stream itself could also result in less<br>
&gt; distortion when using actual volume controls (headsets, etc).<br>
&gt;<br>
&gt; So if you want volume control I would say take a look at set_audio_level as<br>
&gt; it may be the simplest method.   Adding it to portaudio would work but one<br>
&gt; of the nice advantages of set_audio_level is the fact you can also do it per<br>
&gt; channel rather than globally:)<br>
&gt;<br>
&gt; ~Mitch<br>
&gt;<br>
&gt; On Fri, Jan 21, 2011 at 5:44 PM, Seven Du &lt;<a href="mailto:dujinfang@gmail.com" target="_blank">dujinfang@gmail.com</a>&gt; wrote:<br>
&gt;&gt;<br>
&gt;&gt; In addition to AEC. I also found PA lacks the ability to change the<br>
&gt;&gt; sound device volume. I tried to control sound devices in QT but<br>
&gt;&gt; haven&#39;t find a way. Ideas on this?<br>
&gt;<br>
&gt;<br>
</div></div><div><div></div><div>&gt; _______________________________________________<br>
&gt; FreeSWITCH-users mailing list<br>
&gt; <a href="mailto:FreeSWITCH-users@lists.freeswitch.org" target="_blank">FreeSWITCH-users@lists.freeswitch.org</a><br>
&gt; <a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
&gt; UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
&gt; <a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
&gt;<br>
&gt;<br>
<br>
<br>
<br>
--<br>
About: <a href="http://about.me/dujinfang" target="_blank">http://about.me/dujinfang</a><br>
Blog: <a href="http://www.dujinfang.com" target="_blank">http://www.dujinfang.com</a><br>
Proj:  <a href="http://www.freeswitch.org.cn" target="_blank">http://www.freeswitch.org.cn</a><br>
<br>
_______________________________________________<br>
FreeSWITCH-users mailing list<br>
<a href="mailto:FreeSWITCH-users@lists.freeswitch.org" target="_blank">FreeSWITCH-users@lists.freeswitch.org</a><br>
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
</div></div></blockquote></div><br>
<br></div></div>_______________________________________________
FreeSWITCH-users mailing list
<a href="mailto:FreeSWITCH-users@lists.freeswitch.org" target="_blank">FreeSWITCH-users@lists.freeswitch.org</a>
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a>                                               </div>
<br>_______________________________________________<br>
FreeSWITCH-users mailing list<br>
<a href="mailto:FreeSWITCH-users@lists.freeswitch.org" target="_blank">FreeSWITCH-users@lists.freeswitch.org</a><br>
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
<br></blockquote></div><br>
</div></div><br>_______________________________________________<br>
FreeSWITCH-users mailing list<br>
<a href="mailto:FreeSWITCH-users@lists.freeswitch.org" target="_blank">FreeSWITCH-users@lists.freeswitch.org</a><br>
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
<br></blockquote></div><br></div></div></div></div>
<br>_______________________________________________<br>
FreeSWITCH-users mailing list<br>
<a href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a><br>
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
<br></blockquote></div><br>