Searching in the source of PWLib and on comments on the internet, I discourage the use of DirectSound for now...
Thanks for all your help.Yes,I install directx sdk 9.0c.maybe I should download the lastest version from svn,now,I just download it from www.packetizer.com.I also try to modify the config.c to :dnl MSWIN_DISPLAY dsound,Direct Sound Support
dnl MSWIN_CHECK_FILE dsound,include\dsound.h,P_DIRECTSOUND=1
dnl MSWIN_DISPLAY dshow, Direct Show Support
dnl MSWIN_CHECK_FILE dshow, include\DShow.h, P_DIRECTSHOW =1
dnl MSWIN_DIR_SYMBOL dsound,DIRECTX_DIR
dnl MSWIN_DIR_SYMBOL dshow, DIRECTX_DIRAlthough when I compile it with Visual studio c++2003,it output "Direct Show Support",at fact,when I compile the myphone2,I find it donot support.Thanks again.2008-11-28
JobsGuo(Guo Huayong)
发件人: Nyamul Hassan发送时间: 2008-11-28 19:07:42收件人: h323plus抄送:主题: Re: [h323plus] how to support directshowHi,As Ryan said, you need DIRECT X SDK, not DirectX9.0cRegardsHASSAN----- Original Message -----From: JobsGuo(Guo Huayong)Sent: Friday, November 28, 2008 12:59Subject: Re: [h323plus] how to support directshowHi,Dear Ryan:It is very exit to received an chinese friends reply.Maybe I did not describe my difficulty clearly.I install all the parts of Directx9.0c.At fact,I always develop project based on DShow.And follow your remind,I reinstall the DirectX9.0c,it is same as the last time.I said I can not find dshow.h,just means I can not find it in the ptlib/dshow.h.I ever remember it need #include <ptlib/dshow.h>.but today,I do not find this code.At last,Do you sure it support dshow just install directx9 without any other set?Thanks again.2008-11-28
JobsGuo(Guo Huayong)
发件人: Ryan Yan发送时间: 2008-11-28 14:32:18收件人: JobsGuo\(Guo Huayong\); h323plus抄送:主题: Re: [h323plus] how to support directshowDear JobsGuo,Please double check if you have installed all the parts of DirectX 9.0 SDK.I can find dshow.h in \DXSDK\include\If you have any other problem, you can contact me.You are Chinese tooGood luck,RyanFrom: JobsGuo(Guo Huayong)Sent: Friday, November 28, 2008 1:56 PMTo: h323plusSubject: [h323plus] how to support directshowHi,all.when I compile the ptlib-v2_0_1,I find the config in ptbuildopts.h show below://///////////////////////////////////////////////
//
// DirectX Support (Windows only)
//#ifndef _WIN32_WCE
#define P_DIRECTSOUND 1
#undef P_DIRECTSHOW
#undef P_VFW_CAPTURE
#endifSo I can not get the directshow support.but I can get the directsound support.I indeed install directx 9.0c.so it can find the directx file.but why it can not find the directshow? Besides,I also can not find the dshow.h.Who can help me ?thanks!2008-11-28
JobsGuo(Guo Huayong)Mobile:13918103120QQ : 360480589MSN : ghyhust@hotmail.com