From: Faizan N. <fa...@ti...> - 2003-06-10 14:19:25
|
Hi. I have compiled the libiax and made enough changes to make it portable. = Now it can be compiled as mutithreaded ilbrary from VC without any = problem. I also had problems in using it with my IAX Client but now = those are solved and it compiles and links fine with Win32 VC projects. = I have it dialing and hanging up find on Asterisk. I didnt hear any = sound , so I am gonna do it right now. Why do you need Makefile for vc. Lets just use dsw files to get working. = But yes there are a lot of things required to be done before you compile = and moreover use it in VC projects. If anyone is interested then I can upload it on my site later I fix the = sound problem. Keep up the good work. ----- Original Message -----=20 From: Steve Kann=20 To: ur...@ad...=20 Cc: iaxclient devel=20 Sent: Tuesday, June 10, 2003 6:42 PM Subject: RE: [Iaxclient-devel] couple of updates.. On Tue, 2003-06-10 at 00:13, Uriel Carrasquilla wrote:=20 Steve: The keyboard detection: wouldn't it make sense to wake up on a = keyboard interrupt (0-9 # *) only instead of every 10 ms. I know how to = do that in Java but will find out how to do it with C.=20 I don't know if you can get at any 'keyboard interrupts" portably, = even amongst Win platforms (I would guess that NT-based Windows won't = let you). =20 And, it isn't right to just register for and get keyboard events, = because we want the control key state, even if we don't have input = focus. I.e. you're working in another app, but still can press control = to talk. Anyway, this seems to be working fine, and not causing any kind of = load, as it is now. Also, if we use VC, is it correct to say that we still need Cygwin? = I think I know the answer by looking at the gsm and iax code but better = ask than ass-u-me.=20 It should be possible to make the whole library compile with VC, and = without cygwin, but I haven't done that yet. =20 =20 It shouldn't be hard to do (just compile all the same files, plus or = minus a few compatibility things to fix, perhaps), but It's just harder = for me to maintain that way. I'd need to maintain two makefiles (one = for VC, plus one for everything else), and then test 4 builds instead of = three. So, if someone steps up and makes proper nmake/VC makefiles (and any = needed portability fixes), I'll definately keep them in CVS. =20 -SteveK Regards, Uriel=20 -----Original Message----- From: iax...@li... = [mailto:iax...@li...]On Behalf Of Steve = Kann Sent: Monday, June 09, 2003 7:37 PM To: iaxclient devel Subject: [Iaxclient-devel] couple of updates.. In CVS, there's been a couple of updates. =20 - Changed Win32 build stuff a bit: a) now, we have an "iaxclient.lib" target, which should make a = library that you can link against with VC++ (at least, it worked for = me). b) The "wx" GUI build now builds as a win subsystem exe, as = opposed to a console app, so you don't get a console window anymore. c) removed use of "sleep()" in testcall, which confused VC++ a = bit (since there's a Sleep() also in Win32). - Universal changes: Changed the iaxc API a bit to no longer use unnecessary "FILE" = pointers which were no longer necessary. - WX GUI changes: Started adding some menus, and keyboard state detection. This = stuff will be used for toggling silence suppression, "push to talk" = feature, and mute. None of it works yet (just menus, and keyboard = detection so far), and I'm not sure how it will be implemented yet. Also, the keyboard detection stuff is currently happening _way_ = too often (every 10ms). Or maybe it needs to happen that often? -SteveK =20 There's new binaries out there built with this as well. --=20 Steve Kann - Chief Engineer - 520 8th Ave #2300 NY 10018 - (212) = 533-1775 HorizonLive.com - collaborate . interact . learn "The box said 'Requires Windows 95, NT, or better,' so I installed = Linux." =20 --=20 Steve Kann - Chief Engineer - 520 8th Ave #2300 NY 10018 - (212) = 533-1775 HorizonLive.com - collaborate . interact . learn "The box said 'Requires Windows 95, NT, or better,' so I installed = Linux." =20 |