<html>
<head>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 10pt;
font-family:Tahoma
}
--></style>
</head>
<body class='hmmessage'>
Hi<div>Code is quite experimental but I intend to release it asap (probably within a few weeks)</div><div>Let's see how it goes</div><div><br></div><div>Regards</div><div>Paulo</div><div><div><br><hr id="stopSpelling">Date: Fri, 28 Jan 2011 08:48:51 -0500<br>From: vipkilla@gmail.com<br>To: freeswitch-users@lists.freeswitch.org<br>Subject: Re: [Freeswitch-users] Portaudio Improvements<br><br>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="ecxgmail_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="ecxgmail_quote" style="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="ecxgmail_quote">On Fri, Jan 28, 2011 at 9:54 AM, Tamas Jalsovszky <span dir="ltr">&lt;<a href="mailto:jalsot@gmail.com">jalsot@gmail.com</a>&gt;</span> wrote:<br><blockquote class="ecxgmail_quote" style="border-left:1px #ccc solid;padding-left:1ex">

Wow, I didn'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">&nbsp; Tamas</font><div><div></div><div><br><br><div class="ecxgmail_quote">On Fri, Jan 28, 2011 at 12:51 PM, Paulo Vicentini <span dir="ltr">&lt;<a href="mailto:vizentini@hotmail.com">vizentini@hotmail.com</a>&gt;</span> wrote:<br>

<blockquote class="ecxgmail_quote" style="padding-left:1ex">




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


<div>&nbsp;&nbsp;</div><div>Paulo</div><div><br></div><hr>From: <a href="mailto:mitch.capper@gmail.com">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">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.&nbsp; It wouldn'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?).&nbsp; If your client is windows however again the native windows volume handler for apps does also keep track of their current output.&nbsp;&nbsp; <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">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'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">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.&nbsp; 1) In Windows each<br>
&gt; application has its own volume setting (Vista and higher),&nbsp; and apps are<br>
&gt; starting to tie into this than internal volume controls.&nbsp; The downside is it<br>
&gt; doesn't distort audio/have a gain option.&nbsp;&nbsp; This is when I thought about<br>
&gt; allowing for a fixed gain amount added to portaudio.&nbsp; 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.&nbsp;&nbsp; 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">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'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">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:&nbsp; <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">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">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">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">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>
<br>_______________________________________________
FreeSWITCH-users mailing list
FreeSWITCH-users@lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org</div></div>                                               </body>
</html>