[Opalvoip-svn] SF.net SVN: opalvoip: [19152] opal/trunk/plugins/LID/TigerJet
Brought to you by:
csoutheren,
rjongbloed
From: <rjo...@us...> - 2007-12-21 07:33:04
|
Revision: 19152 http://opalvoip.svn.sourceforge.net/opalvoip/?rev=19152&view=rev Author: rjongbloed Date: 2007-12-20 23:33:08 -0800 (Thu, 20 Dec 2007) Log Message: ----------- Made TigerJet LID plug in work with Vista. Modified Paths: -------------- opal/trunk/plugins/LID/TigerJet/TJ_2005.vcproj opal/trunk/plugins/LID/TigerJet/tj_win.cpp Modified: opal/trunk/plugins/LID/TigerJet/TJ_2005.vcproj =================================================================== --- opal/trunk/plugins/LID/TigerJet/TJ_2005.vcproj 2007-12-21 06:14:40 UTC (rev 19151) +++ opal/trunk/plugins/LID/TigerJet/TJ_2005.vcproj 2007-12-21 07:33:08 UTC (rev 19152) @@ -102,6 +102,8 @@ /> <Tool Name="VCPostBuildEventTool" + Description="Copying LID and debug information to plug in directory" + CommandLine="if not exist c:\ptlib_plugins exit
copy $(TargetPath) c:\ptlib_plugins
copy $(TargetDir)\$(TargetName).pdb c:\ptlib_plugins
copy .\TjIpSys.dll c:\ptlib_plugins
" /> </Configuration> <Configuration Modified: opal/trunk/plugins/LID/TigerJet/tj_win.cpp =================================================================== --- opal/trunk/plugins/LID/TigerJet/tj_win.cpp 2007-12-21 06:14:40 UTC (rev 19151) +++ opal/trunk/plugins/LID/TigerJet/tj_win.cpp 2007-12-21 07:33:08 UTC (rev 19152) @@ -305,7 +305,7 @@ for (UINT id = 0; id < waveInGetNumDevs(); id++) { WAVEINCAPS caps; - if (waveInGetDevCaps(id, &caps, sizeof(caps)) == 0 && _strnicmp(caps.szPname, searchName, strlen(searchName)) == 0) { + if (waveInGetDevCaps(id, &caps, sizeof(caps)) == 0 && strstr(caps.szPname, searchName) != NULL) { if (bufsize <= strlen(caps.szPname)) return PluginLID_BufferTooSmall; This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |