From: Steve K. <st...@st...> - 2003-11-29 01:38:43
|
Better error reporting for initialization problems like this is something I need to work on in the Library. At the very least, I'd like to be able to say whether the initialization failed because of sound system initialization issues, or something else. One thing that we should fix in the iaxcomm build is making sure it links statically to wx and wx_xrc; my guess is that the linking is currently set to link wx statically, but the xrc stuff dynamically, which is why you needed wx installed. It really shouldn't be necessary. (especially if wx itself is being linked statically -- it's the big part (2Mb or whatnot), and the xrc library is much smaller. -SteveK On Nov 28, 2003, at 7:02 PM, Shore Linux Solutions wrote: > > Steve > The problem of loading it seems to be totally corrected. As soon as I > load it the module from my sound card iaxcomm came off without a > hitch. By the way Micheal if you are reading this I think it would > probably be more effective if there was an error message that popped > up saying something to the effect, "No soundcard detected" or > something along these lines for the more novice of users. > Thanks a lot for your assistance Steve. > AJ > >> From: Steve Kann <st...@st...> >> To: "Shore Linux Solutions" <sho...@ho...> >> Subject: Re: [Iaxclient-devel] iaxcomm won't load on RedHat 9 >> Date: Thu, 27 Nov 2003 22:09:31 -0500 >> >> AJ, >> >> You shouldn't need the wx libraries in order to run iaxcomm; I'm >> pretty sure that Michael is linking the wx libraries needed into the >> binary. >> >> So, that step shouldn't be necessary. >> >> If I remember correctly, you also had trouble with other iaxclient >> software. My guess is that the problem is that your soundcard does >> not support an 8khz sample rate. Currently, iaxclient does not >> handle sound cards whose drivers don't natively support 8khz sample >> rates (although most do). For example, I have a USB headset, and >> this headset supports only 48khz -- and will not work with iaxclient. >> >> You can try this, though; do "esddsp iaxcomm". This will cause the >> driver to use esd, which will generally do resampling for you, and >> allow iaxclient to work with your soundcard. This will, >> unfortunately, add some extra latency to your connection, but should >> allow it to work. >> >> It would probably take a day or so to add resampling support to >> iaxclient, so that it would support soundcards like this, but this is >> currently only an issue on Linux (on the Mac, the Mac Audio system >> has built-in resampling [allowing any sample rate], and on Windows, >> I'm 99% sure that the windows mme interface will at least resample if >> necessary for 8khz -- I've never seen a card where this doesn't >> work). So, this isn't currently a high priority, although if someone >> wants to do the work, I'd gladly accept patches [there's even >> resampling code already in the library, although it's not being >> used]. >> >> -SteveK >> >> >> On Nov 27, 2003, at 8:57 PM, Shore Linux Solutions wrote: >> >>> I installed the wxWindows libraries from source and am attempting to >>> run the lastest posted iaxcomm on my RedHat 9 box. However, when I >>> cd into the iaxcomm directory and attempt to execute the binary I >>> get the following error message "Error wxWindows Fatal Error : >>> Couldn't Initialize IAX Client ." >>> Has anyone else seen a simular problem or might be able to suggest >>> corrective action to fix it? >>> Also, fyi if I attempt to execute the make in the iaxcomm directory >>> I get the following error: >>> (cd ../../lib; make libiaxclient.a) >>> make[1]: Entering directory `/lib' >>> make[1]: *** No rule to make target `libiaxclient.a'. Stop. >>> make[1]: Leaving directory `/lib' >>> make: *** [makelib] Error 2 >>> >>> AJ >>> >>> _________________________________________________________________ >>> online games and music with a high-speed Internet connection! >>> Prices start at less than $1 a day average. >>> https://broadband.msn.com (Prices may vary by service area.) >>> >>> >>> >>> ------------------------------------------------------- >>> This SF.net email is sponsored by: SF.net Giveback Program. >>> Does SourceForge.net help you be more productive? Does it >>> help you create better code? SHARE THE LOVE, and help us help >>> YOU! Click Here: http://sourceforge.net/donate/ >>> _______________________________________________ >>> Iaxclient-devel mailing list >>> Iax...@li... >>> https://lists.sourceforge.net/lists/listinfo/iaxclient-devel >>> >> > > _________________________________________________________________ > Gift-shop online from the comfort of home at MSN Shopping! No crowds, > free parking. http://shopping.msn.com > |