<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40"><head><meta http-equiv=Content-Type content="text/html; charset=utf-8"><meta name=Generator content="Microsoft Word 15 (filtered medium)"><style><!--
/* Font Definitions */
@font-face
{font-family:"Cambria Math";
panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
{font-family:Calibri;
panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
{font-family:"Trebuchet MS";
panose-1:2 11 6 3 2 2 2 2 2 4;}
@font-face
{font-family:Georgia;
panose-1:2 4 5 2 5 4 5 2 3 3;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0in;
margin-bottom:.0001pt;
font-size:12.0pt;
font-family:"Times New Roman",serif;}
a:link, span.MsoHyperlink
{mso-style-priority:99;
color:blue;
text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
{mso-style-priority:99;
color:purple;
text-decoration:underline;}
p.msonormal0, li.msonormal0, div.msonormal0
{mso-style-name:msonormal;
mso-margin-top-alt:auto;
margin-right:0in;
mso-margin-bottom-alt:auto;
margin-left:0in;
font-size:12.0pt;
font-family:"Times New Roman",serif;}
span.EmailStyle18
{mso-style-type:personal-reply;
font-family:"Calibri",sans-serif;
color:windowtext;}
.MsoChpDefault
{mso-style-type:export-only;
font-family:"Calibri",sans-serif;}
@page WordSection1
{size:8.5in 11.0in;
margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
{page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]--></head><body lang=EN-US link=blue vlink=purple><div class=WordSection1><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri",sans-serif'>Completely separate from FS, I’ve recently encountered sound driver issues on Windows 10. You might look in the Event Viewer under Custom Views, Server Roles, Administrative Events and see if there are any Device Manager reports, such as ‘Failed to migrate (driver to Win 10)’. Besides providing drivers that fail to install under Windows 10, there have been some Windows updates that have introduced some annoying driver glitches, such as for the virtual NIC, if you’re a Hyper-V VM user.<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri",sans-serif'><o:p> </o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri",sans-serif'>-Ray<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri",sans-serif'><o:p> </o:p></span></p><p class=MsoNormal>Pontimax’s mrcpSP11-STT- the lowest cost, by far, highest recognition accuracy MRCP server available<span style='font-size:11.0pt;font-family:"Calibri",sans-serif'><o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri",sans-serif'><o:p> </o:p></span></p><p class=MsoNormal><b><span style='font-size:11.0pt;font-family:"Calibri",sans-serif'>From:</span></b><span style='font-size:11.0pt;font-family:"Calibri",sans-serif'> Gregor Nanger [mailto:gregor@infomedia.si] <br><b>Sent:</b> Sunday, September 10, 2017 1:26 AM<br><b>To:</b> FreeSWITCH Users Help <freeswitch-users@lists.freeswitch.org><br><b>Subject:</b> Re: [Freeswitch-users] PortAudio and Windows devices<o:p></o:p></span></p><p class=MsoNormal><o:p> </o:p></p><div><div><p class=MsoNormal><span style='font-family:"Trebuchet MS",sans-serif'>Hi,<o:p></o:p></span></p></div><div><p class=MsoNormal><span style='font-family:"Trebuchet MS",sans-serif'><o:p> </o:p></span></p></div><div><p class=MsoNormal><span style='font-family:"Trebuchet MS",sans-serif'>in VS go to Build/Configuration Manager and see if mod_portaudio project is selected for build. Maybe it builds without it?<o:p></o:p></span></p></div><div><p class=MsoNormal><span style='font-family:"Trebuchet MS",sans-serif'><o:p> </o:p></span></p></div><div><p class=MsoNormal><span style='font-family:"Trebuchet MS",sans-serif'>Or post errors you get while building solution.<o:p></o:p></span></p></div></div><div><p class=MsoNormal><o:p> </o:p></p><div><p class=MsoNormal>2017-09-10 3:04 GMT+02:00 Clive Lansink <<a href="mailto:clive@lansink.co.nz" target="_blank">clive@lansink.co.nz</a>>:<o:p></o:p></p><blockquote style='border:none;border-left:solid #CCCCCC 1.0pt;padding:0in 0in 0in 6.0pt;margin-left:4.8pt;margin-right:0in'><p class=MsoNormal>Hi again everyone.<br><br>OK I appreciate that nobody has yet answered this but now I have more info that may help.<br><br>I succeeded in building the Freeswitch executable for Windows from the source. I git cloned version 1.6.19 which I understand is the most recent stable release. I am using Visual Studio 2015 Express.<br><br>I first built the debug version 64-bit. There were three errors but at least there was an executable so I ran that. Now the pa devlist command lists my sound devices so that works. Also the debug information indicates that it is using DirectSound. I actually haven't made a call because of another issue but at least I can confirm that mod_portaudio sees my audio devices in this situation.<br><br>Then I cleaned the solution and built the release version. Again I got three errors but again there was an executable so I ran that. Now the pa devlist command produces no devices.<br><br>This suggests to me that something is amiss with the process for generating the release version for Windows which also makes the Windows installer, that impacts on PortAudio. In that case, the result In my experience is that PortAudio just doesn't work because it doesn't see any audio devices.<br><br>It's beyond me I'm afraid to figure out the difference here. I'm just not experienced with Visual Studio to understand what is going on with these two scenarios.<br><br>Hope this helps.<br><br><br>Clive Lansink<br>Email: <a href="mailto:Clive@Lansink.Co.NZ">Clive@Lansink.Co.NZ</a><br>Phone: <a href="tel:%2B64%209%20520-4242">+64 9 520-4242</a><br>Mobile: <a href="tel:%2B64%2021%20663-999">+64 21 663-999</a><br>Fax: <a href="tel:%2B64%2021%20789-150">+64 21 789-150</a><br><br>-----Original message-----<br>From: Clive Lansink <<a href="mailto:clive@lansink.co.nz">clive@lansink.co.nz</a>><br>To: "Freeswitch users list" <<a href="mailto:freeswitch-users@lists.freeswitch.org">freeswitch-users@lists.freeswitch.org</a>><br>Subject: [Freeswitch-users] PortAudio and Windows devices<br>Reply-to: FreeSWITCH Users Help <<a href="mailto:freeswitch-users@lists.freeswitch.org">freeswitch-users@lists.freeswitch.org</a>><br>Date: Fri, 8 Sep 2017 10:03:32 +1200<br><br><br>Hi everyone. Can someone please help with the following problem? I have spent several hours on this today, just googling around, and although I think I am not the only one with this problem, I haven't actually found the solution.<br><br>Problem is PortAudio reports there are no input and output devices. I am running Freeswitch on Windows 10 64-bit. The Freeswitch installer is FreeSWITCH-1.6.18-x64-Release.msi which I downloaded recently from <a href="http://files.freeswitch.org" target="_blank">files.freeswitch.org</a>. I should explain that I have been using Freeswitch for a number of years and PortAudio used to work, even on this Windows 10 PC. The problem seems to be with the more recent versions of Freeswitch.<br><br>We know that Freeswitch for Windows includes PortAudio. That's good because I don't know how to build Freeswitch for Windows. I just know how to install and use it.<br><br>I think I read somewhere that the Freeswitch PortAudio is built for DirectEx. I came across the Dxdiag tool which tells me about DirectEx devices. I have several input and output devices on this machine, but Dxdiag only lists one output device and it lists no input devices. It tells me I have DirectEx version 12.<br><br>I do a lot of programming in Python and that includes a Python module that provides bindings for PortAudio. That code still works.<br><br>I read that PortAudio by default is built for MME, or maybe it is PyAudio that is built for MME. Whatever the case, that code works.<br><br>But if Freeswitch's PortAudio module is built for DirectEx, could there be a problem with DirectEx on Windows 10? I just get the impression that Microsoft is favouring newer Windows sound APIs. Issuing the pa devlist command just lists nothing so it is as if it is just not seeing any devices, but they are certainly there.<br><br>I think this has been a problem for several years because I have Freeswitch version 1.5.15 on another Windows 10 64-bit PC and PortAudio on that PC has the same problem. I just haven't had to use it on that PC.<br><br>By the way, I did try running Freeswitch in console mode with administrator privileges and it made no difference.<br><br>I hope someone can suggest something to help me fix this problem.<br><br><br>Clive Lansink<br>Email: <a href="mailto:Clive@Lansink.Co.NZ">Clive@Lansink.Co.NZ</a><br>Phone: <a href="tel:%2B64%209%20520-4242">+64 9 520-4242</a><br>Mobile: <a href="tel:%2B64%2021%20663-999">+64 21 663-999</a><br>Fax: <a href="tel:%2B64%2021%20789-150">+64 21 789-150</a><br><br><br>_________________________________________________________________________<br>Professional FreeSWITCH Consulting Services:<br><a href="mailto:consulting@freeswitch.org">consulting@freeswitch.org</a><br><a href="http://www.freeswitchsolutions.com" target="_blank">http://www.freeswitchsolutions.com</a><br><br>Official FreeSWITCH Sites<br><a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br><a href="http://confluence.freeswitch.org" target="_blank">http://confluence.freeswitch.org</a><br><a href="http://www.cluecon.com" target="_blank">http://www.cluecon.com</a><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>_________________________________________________________________________<br>Professional FreeSWITCH Consulting Services:<br><a href="mailto:consulting@freeswitch.org">consulting@freeswitch.org</a><br><a href="http://www.freeswitchsolutions.com" target="_blank">http://www.freeswitchsolutions.com</a><br><br>Official FreeSWITCH Sites<br><a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br><a href="http://confluence.freeswitch.org" target="_blank">http://confluence.freeswitch.org</a><br><a href="http://www.cluecon.com" target="_blank">http://www.cluecon.com</a><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><o:p></o:p></p></blockquote></div><p class=MsoNormal><br><br clear=all><o:p></o:p></p><div><p class=MsoNormal><o:p> </o:p></p></div><p class=MsoNormal>-- <o:p></o:p></p><div><div><table class=MsoNormalTable border=1 cellspacing=3 cellpadding=0 width=537 style='width:402.75pt;border:dashed #BBBBBB 1.0pt'><tr><td width=63 valign=top style='width:47.25pt;border:none;border-right:solid #00A1E6 1.0pt;padding:.75pt 6.0pt .75pt .75pt'><p class=MsoNormal style='margin:6.0pt'><b><span style='font-size:10.0pt;font-family:"Georgia",serif;color:#00A1E6;letter-spacing:.75pt;border:none windowtext 1.0pt;padding:0in'>Gregor Nanger</span></b><b><span style='font-size:9.0pt;font-family:"Arial",sans-serif;color:#202020;letter-spacing:.75pt'><o:p></o:p></span></b></p><div><p class=MsoNormal style='margin:6.0pt'><b><span style='font-size:13.0pt;font-family:"Arial",sans-serif;color:#202020;letter-spacing:.75pt'> <o:p></o:p></span></b></p></div></td><td width=354 valign=top style='width:265.5pt;border:none;padding:.75pt .75pt .75pt 4.5pt;outline:rgb(80,80,80) none 0px;border-spacing:2px'><p class=MsoNormal style='margin:6.0pt'><b><span style='font-size:7.5pt;font-family:"Georgia",serif'>CTO</span></b><span style='font-size:7.5pt;font-family:"Georgia",serif'><br>t./f.: 00386 (0) 7 6000 308/309 • m:. 00386 (0)41 756485 <br>• Infomedia d.o.o. • Jerebova 3, Novo mesto, Slovenia <br>• <a href="http://www.infomedia.si" target="_blank">www.infomedia.si</a></span><span style='font-size:9.0pt;font-family:"Arial",sans-serif'><o:p></o:p></span></p></td></tr></table><p class=MsoNormal><o:p> </o:p></p></div></div></div></div></body></html>