From: Joaquin C. A. <e98...@fr...> - 2004-10-06 20:09:19
|
buffer[4096] is used through the last element of the struct placed just above buffer declaration. =20 Google for zero sized array hack to see why this works and what are the benefits. =20 Cheers, _____ =20 From: iax...@li... [mailto:iax...@li...] On Behalf Of = Richard Pettitt Sent: mercredi 6 octobre 2004 11:34 To: iax...@li... Subject: RE: [Iaxclient-devel] Iax client for windows CE I have two questions regarding buffer variables used in iaxclient_lib The first question has to do with the variable declarations for = procedure iax_send in iax.c: The variable buffer[4096] is declared, but not used. However removing this variable causes the client to crash. How is this variable used and is it possible to reduce its size without causing the client to crash? =20 The second question has to do with the variable buf[65536] declared in procedure iax_net_read(void) also in iax.c Can I reduce the size of this variable without any adverse effects. I = have reduced it to 512 and everything seems fine so far? =20 Thanks =20 Richard=20 =20 =20 =20 -----Original Message----- From: iax...@li... [mailto:iax...@li...]On Behalf Of Richard Pettitt Sent: 05 October 2004 15:11 To: Steve Kann Cc: iax...@li... Subject: RE: [Iaxclient-devel] Iax client for windows CE =20 Thanks, I=92ll disable the audio filters to reduce the load on the cpu. =20 I found the source code for the library while browsing the forum trying = to fide a way to compile the iaxclient_lib under visual studio I eventually came across this post: http://sourceforge.net/mailarchive/forum.php?thread_id=3D5190589 <http://sourceforge.net/mailarchive/forum.php?thread_id=3D5190589&forum_i= d=3D293 80> &forum_id=3D29380 =20 Where I downloaded the code posted by Faizan Naqvi and managed to get everything to compile properly. Once it compiled under visual studio I started porting it to Embedded visual C =20 I=92m unsure what version of the library this is, but it uses IAX2 and I haven=92t had any problems with the clients I have written for my = desktop. =20 =20 =20 -----Original Message----- From: Steve Kann [mailto:st...@st...] Sent: 05 October 2004 14:58 To: ric...@co... Cc: pa...@in...; iax...@li... Subject: Re: [Iaxclient-devel] Iax client for windows CE =20 I don't know what you started with, but if it's old, it might be using = IAX1, which is really not working properly anymore. Also, if you work from the current code, you might want to disable the = audio filters until you get things working, because they may be too CPU = intensive on your platform. -SteveK Richard Pettitt wrote:=20 I have managed to get the iaxclient_lib to compile under embedded visual studio 4. I found a working visual studio 6 version and then made some Windows CE specific modifications to it. So far the program successfully registers with asterisk, but as soon as = I try to make a call it crashes. The call request does go through as the = phone rings on the other end. I disabled the service_audio(); procedure as I wanted to make sure that = the problem was network related. The pocket pc I=92m using to test on is a Xda II using a SanDisk Wifi = card to connect to my local network. =20 I appreciate any help you can give me. Thank you, Richard -----Original Message----- From: Paulo Mannheimer [mailto:pa...@in...] Sent: 05 October 2004 14:33 To: ric...@co...; iax...@li... Subject: RE: [Iaxclient-devel] Iax client for windows CE We aren't working, but would be glad to help. -----Original Message----- From: iax...@li... [mailto:iax...@li...] On Behalf Of = Richard Pettitt Sent: ter=E7a-feira, 5 de outubro de 2004 08:41 To: iax...@li... Subject: [Iaxclient-devel] Iax client for windows CE Hi =20 I=92m currently working on an iaxclient for windows ce and I was = wondering if there were any other developers currently working on a client for this platform? =20 Thank you, Richard =20 |