From: Steve K. <st...@st...> - 2003-06-10 13:43:07
|
On Tue, 2003-06-10 at 00:13, Uriel Carrasquilla wrote: > 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. 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). 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. It should be possible to make the whole library compile with VC, and without cygwin, but I haven't done that yet. 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. -SteveK > Regards, > Uriel > > -----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. > > - 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 > > > There's new binaries out there built with this as well. > > > > -- > 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." -- 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." |