You need to pass GIPS_EXPIRATION_* into gips_.GIPSVE_Init.  You could
pass the parameters directly instead of using expiration.h.  Anyway,
my init function is pasted below (from gipslitemediaengine.cc).


bool GipsLiteMediaEngine::Init() {

  TRACK("GIPSVE_Init");
//  if (gips_.GIPSVE_Init() == -1)
  if (gips_.GIPSVE_Init(GIPS_EXPIRATION_MONTH, GIPS_EXPIRATION_DAY,
GIPS_EXPIRATION_YEAR) == -1)
    return false;

  char buffer[1024];
  TRACK("GIPSVE_GetVersion");
  int r = gips_.GIPSVE_GetVersion(buffer, sizeof(buffer));
  LOG(LS_INFO) << "GIPS Version: " << r << ": " << buffer;

  // Set auto gain control on
  TRACK("GIPSVE_SetAGCStatus");
  if (gips_.GIPSVE_SetAGCStatus(1) == -1)
    return false;

  TRACK("GIPSVE_GetNofCodecs");
  int ncodecs = gips_.GIPSVE_GetNofCodecs();
  for (int i = 0; i < ncodecs; ++i) {
    GIPS_CodecInst gips_codec;
    if (gips_.GIPSVE_GetCodec(i, &gips_codec) >= 0) {
      Codec codec(gips_codec.pltype, gips_codec.plname,
gips_codec.plfreq, gips_codec.rate,
                  gips_codec.channels,
GetGIPSCodecPreference(gips_codec.plname, gips_codec.plfreq));
      LOG(LS_INFO) << gips_codec.plname << "/" << gips_codec.plfreq <<
"/" << gips_codec.channels << " " << gips_codec.pltype;
      codecs_.push_back(codec);
    }
  }
  return true;
}



On May 21, 2:24 am, Swats <[EMAIL PROTECTED]> wrote:
> Yes i have updated all theVElitefiles. Have you passed same
> parameters to INIT function? Is this required?
>
> On May 18, 5:42 pm, r <[EMAIL PROTECTED]> wrote:
>
> > Your expiration.h looks fine.  The instructions on the GIPS site had
> > GIPS_EXPIRATION_MONTH as 5.  I changed my to 8 and I'm now fine.
>
> > Did you update all theVELitefiles?  Simply changing the date in
> > expiration.h will not work.  You're going to need to update at least
> > the GipsVoiceEngineLite.dll, GipsVoiceEngineLite.h, and
> > GipsVoiceEngineLite.lib files too.
>
> > On May 18, 7:15 am, Swats <[EMAIL PROTECTED]> wrote:
>
> > > I have done following declaration in Expiration.h
> > > #define GIPS_EXPIRATION_MONTH 8
> > > #define GIPS_EXPIRATION_DAY 15
> > > #define GIPS_EXPIRATION_YEAR 2007
>
> > > please let me know if i need to set the expiration date somewhere
> > > else.
>
> > > On May 18, 4:08 pm, r <[EMAIL PROTECTED]> wrote:
>
> > > > What is the expiration date of yourVELite?  There is a new download
> > > > available, which expires on 15AUG07.  'Voice Engine has expired' tells
> > > > me that either you're using the oldVELite, or your dates in
> > > > expiration.h are not correct.
>
> > > > I don't get your error - I get an error that infers the voice engine
> > > > is not properly initialized.
>
> > > > On May 18, 12:18 am, Swats <[EMAIL PROTECTED]> wrote:
>
> > > > > I am facing a similar problem. I have posted a question in GIPS forum
> > > > > but there is no reply. I am getting an error "Voice Engine has
> > > > > expired".
>
> > > > > On May 17, 7:21 pm, r <[EMAIL PROTECTED]> wrote:
>
> > > > > > Has anyone tried the newVELitelibraries yet?
>
> > > > > > I have updated to the newVELitelibraries and now my call.exe no
> > > > > > longer works.
>
> > > > > > TheVELitesample application does not work either.
>
> > > > > > I had a forum post on the GIPS board, but thought to post here to 
> > > > > > see
> > > > > > if anyone else is having problems.- Hide quoted text -
>
> > > > - Show quoted text -- Hide quoted text -
>
> > - Show quoted text -


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"google-talk-open" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/google-talk-open?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to