Fwd: Help with voiceage g729 integration in pjsua

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



I was reading readme build files... and I can explain better my doubts.
 The voiceage g729 codec has only a builded va_g729.lib and a simple
va_g729.h file.
The va_g729.h file is so simple than this:

#define  L_FRAME_COMPRESSED 10
#define  L_FRAME            80

void va_g729a_init_encoder();
void va_g729a_encoder(short *speech, unsigned char *bitstream);
void va_g729a_init_decoder();
void va_g729a_decoder(unsigned char *bitstream, short *synth_short, int
bfi);

I have written a wraper g729.c file to provide correct pjsip codec function
calls ( emulating gsm.c  file).

Now I have problems with building all this.
I dont know where I have to indicate where is the va_g729.lib, (in order to
link?). I have read that it can be specified in config_site.h and in
user.mak but I dont know what to put in second...
Please I need help from someone with skills in mingw build that can send me
some clue...

Thanks in advance


---------- Forwarded message ----------
From: segalion <segalion@xxxxxxxxx>
Date: 2009/10/27
Subject: Help with voiceage g729 integration in pjsua
To: pjsip at lists.pjsip.org


I was trying to integrate voiceage W32 g729 codec in pjsua.
I have created the g729.c and g729.h (emulating gsm.x files) calling the
va_g729.h functions (init, code and decode ), and I have


I was trying to compile this with mingw but I have problems...
I have modify pjsua_media.c (with proper g729 inicialization), and enable
g729 in config_site.h (Enable g729 in config_site.h as # define
PJMEDIA_HAS_G729_CODEC 1
)

as recomended Elangbam Johnson

My problem now is all the makefile, lib, link etc. in mingw.
Can anybody helpme with all this...?

Thanks in advance...



           I already integrated for windows mobile, this is the

process what i've done. Must be same for desktop also.


The g.729 evaluation version of Voice Age will in?clude 3 files g729a.lib,
g729a_if.h and typedef.h,



   1. Create 2 files and add in pjsip project (g729.c and g729.h) following

   the pattern same as gsm or g711. or any other codecs.
   2. Include g729a_if.h and typedef.h in g729.c
   3. Call the required API?s given in the voice library in g729.c wherever
   required

The API?s are


E_IF_g729a_init

E_IF_g729a_queryBlockSize

E_IF_g729a_encode

D_IF_g729a_init

D_IF_g729a_queryBlockSize

D_IF_g729a_decode



   1. Call pjmedia_codec_g729_init() and pjmedia_codec_g729_deinit()  in pj

   sua_media.c.

5.

Elangbam Johnson
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.pjsip.org/pipermail/pjsip_lists.pjsip.org/attachments/20091028/5599a3be/attachment.html>


[Index of Archives]     [Asterisk Users]     [Asterisk App Development]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [Linux API]
  Powered by Linux