Hi Edgar,
   Add extern C for those functions in sbrhfgen.c & sbrqmf.c

Apply the attached diff and link error should be fixed.

Let me know, if u get other errors.

Regards,
Rajesh.

-----Original Message-----
From: ext Edgar Luevano [mailto:[EMAIL PROTECTED]
Sent: Monday, May 09, 2005 5:22 PM
To: Rathinasamy Rajesh (Nokia-TP-MSW/Dallas);
[email protected]; [EMAIL PROTECTED]
Subject: RE: [Audio-dev] Too many pauses while playing some clips.


Hi Rajesh,
I have not been able to build the module datatype/aac/codec, I'm building
with the branch head-restricted and system_id=symbian-80-thumb. Can you help
me to eliminate this error, please.
Thank you
Edgar

RLINK: Translating object files...
rlink/thumb-rel32_raac.dll_archives.a(thumb-rel32_raac.dll_rlink_rlink_thumb
-rel32_raac.dll_thumb-rel32_raac_libs.l
ib_dir_aacdeclib.sbrhfgen.o)(.text$CalcCovariance1__FPiN60+0x18):sbrhfgen.c:
undefined reference to `raac_CVKernel1
(int *, int *)'
rlink/thumb-rel32_raac.dll_archives.a(thumb-rel32_raac.dll_rlink_rlink_thumb
-rel32_raac.dll_thumb-rel32_raac_libs.l
ib_dir_aacdeclib.sbrhfgen.o)(.text$CalcCovariance1__FPiN60+0x18):sbrhfgen.c:
relocation truncated to fit: ARM_26 ra
ac_CVKernel1(int *, int *)
rlink/thumb-rel32_raac.dll_archives.a(thumb-rel32_raac.dll_rlink_rlink_thumb
-rel32_raac.dll_thumb-rel32_raac_libs.l
ib_dir_aacdeclib.sbrhfgen.o)(.text$CalcCovariance2__FPiN20+0x14):sbrhfgen.c:
undefined reference to `raac_CVKernel2
(int *, int *)'
rlink/thumb-rel32_raac.dll_archives.a(thumb-rel32_raac.dll_rlink_rlink_thumb
-rel32_raac.dll_thumb-rel32_raac_libs.l
ib_dir_aacdeclib.sbrhfgen.o)(.text$CalcCovariance2__FPiN20+0x14):sbrhfgen.c:
relocation truncated to fit: ARM_26 ra
ac_CVKernel2(int *, int *)
rlink/thumb-rel32_raac.dll_archives.a(thumb-rel32_raac.dll_rlink_rlink_thumb
-rel32_raac.dll_thumb-rel32_raac_libs.l
ib_dir_aacdeclib.sbrqmf.o)(.text$raac_QMFAnalysis__FPiN20iT0i+0xd0):sbrqmf.c
: undefined reference to `raac_QMFAnaly
sisConv(int *, int *, int, int *)'
rlink/thumb-rel32_raac.dll_archives.a(thumb-rel32_raac.dll_rlink_rlink_thumb
-rel32_raac.dll_thumb-rel32_raac_libs.l
ib_dir_aacdeclib.sbrqmf.o)(.text$raac_QMFAnalysis__FPiN20iT0i+0xd0):sbrqmf.c
: relocation truncated to fit: ARM_26 r
aac_QMFAnalysisConv(int *, int *, int, int *)
rlink/thumb-rel32_raac.dll_archives.a(thumb-rel32_raac.dll_rlink_rlink_thumb
-rel32_raac.dll_thumb-rel32_raac_libs.l
ib_dir_aacdeclib.sbrqmf.o)(.text$raac_QMFSynthesis__FPiN20iPsi+0x170):sbrqmf
.c: undefined reference to `raac_QMFSyn
thesisConv(int *, int *, int, short *, int)'
rlink/thumb-rel32_raac.dll_archives.a(thumb-rel32_raac.dll_rlink_rlink_thumb
-rel32_raac.dll_thumb-rel32_raac_libs.l
ib_dir_aacdeclib.sbrqmf.o)(.text$raac_QMFSynthesis__FPiN20iPsi+0x170):sbrqmf
.c: relocation truncated to fit: ARM_26
 raac_QMFSynthesisConv(int *, int *, int, short *, int)

Cmd 'ld -s --thumb-entry _E32Dll -u _E32Dll raac.lnk
thumb-rel32\raac.exp --dll --base-file thumb-rel32\raac.bas -o
 thumb-rel32\raac.dll
"C:\Symbian\8.0a\S60_2nd_FP2\EPOC32\Release\THUMB\UREL\edll.lib"
rlink/thumb-rel32_raac.dll_t
humb-rel32_obj_umake_dll_initguid.o
rlink/thumb-rel32_raac.dll_thumb-rel32_obj_umake_dll_aacdecdll.o
rlink/thumb-re
l32_raac.dll_thumb-rel32_obj_umake_dll_aacdecdrm.o
rlink/thumb-rel32_raac.dll_thumb-rel32_obj_umake_dll_raacentrydr
m.o rlink/thumb-rel32_raac.dll_thumb-rel32_obj_umake_dll_raac_dll_stub.o
rlink/thumb-rel32_raac.dll_thumb-rel32_obj
_umake_dll_raac.uid.o rlink/thumb-rel32_raac.dll_archives.a
"C:\Symbian\8.0a\S60_2nd_FP2\EPOC32\Release\THUMB\UREL\
estlib.lib" "C:\Symbian\8.0a\S60_2nd_FP2\EPOC32\Release\THUMB\UREL\egcc.lib"
"C:\Symbian\8.0a\S60_2nd_FP2\EPOC32\Re
lease\THUMB\UREL\euser.lib"' failed with error code 1
NMAKE : fatal error U1077: 'python' : return code '0x1'
Stop.
NMAKE : fatal error U1077: '"C:\Program Files\Microsoft Visual
Studio\VC98\bin\NMAKE.EXE"' : return code '0x2'
Stop.
NMAKE : fatal error U1077: '"C:\Program Files\Microsoft Visual
Studio\VC98\bin\NMAKE.EXE"' : return code '0x2'
Stop.

Edgar Luevano


-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of
[EMAIL PROTECTED]
Sent: Monday, May 09, 2005 10:26 AM
To: [email protected]; [EMAIL PROTECTED]
Subject: [Audio-dev] Too many pauses while playing some clips.


Hi All,
  I have been integrating the AAC into Symbian player. I could observe that
certain AAC clips does not play completely and has lot of Pauses in between.
The frequency of pause is very high that the playout is not smooth.

  I tested clips (Local playback) with different rates. And playout was ok
for 8KHz, 16KHz, 32 KHz and 48KHz. For other rates ( 11025Hz, 22050Hz,
24000Hz, 44000Hz) , the player introduced a lot of pauses.

Symbian player was built of helix_1_5_0 cayanne branch.

I hope there is some kind of calculation using the different rates which is
giving this problem. Could someone help me on this ?

Thanks,
Rajesh.


_______________________________________________
Audio-dev mailing list
[email protected]
http://lists.helixcommunity.org/mailman/listinfo/audio-dev

? cvs_diff.txt
Index: sbrhfgen.c
===================================================================
RCS file: /cvsroot/datatype/aac/codec/fixpt/decoder/real/sbrhfgen.c,v
retrieving revision 1.1.2.1
diff -u -b -r1.1.2.1 sbrhfgen.c
--- sbrhfgen.c  26 Feb 2005 02:05:12 -0000      1.1.2.1
+++ sbrhfgen.c  9 May 2005 22:28:45 -0000
@@ -77,7 +48,13 @@
  *              use the assembly code version in sbrcov.s when building for 
ARM!
  
**************************************************************************************/
 #if (defined (__arm) && defined (__ARMCC_VERSION)) || (defined (_WIN32) && 
defined (_WIN32_WCE) && defined (ARM)) || (defined(__GNUC__) && 
defined(__arm__))
-void CVKernel1(int *XBuf, int *accBuf);
+#ifdef __cplusplus
+extern "C" {
+#endif
+    void CVKernel1(int *XBuf, int *accBuf);
+#ifdef __cplusplus
+}
+#endif
 #else
 void CVKernel1(int *XBuf, int *accBuf)
 {
@@ -235,7 +212,13 @@
  *              use the assembly code version in sbrcov.s when building for 
ARM!
  
**************************************************************************************/
 #if (defined (__arm) && defined (__ARMCC_VERSION)) || (defined (_WIN32) && 
defined (_WIN32_WCE) && defined (ARM)) || (defined(__GNUC__) && 
defined(__arm__))
+#ifdef __cplusplus
+extern "C" {
+#endif
 void CVKernel2(int *XBuf, int *accBuf);
+#ifdef __cplusplus
+}
+#endif
 #else
 void CVKernel2(int *XBuf, int *accBuf)
 {
Index: sbrqmf.c
===================================================================
RCS file: /cvsroot/datatype/aac/codec/fixpt/decoder/real/sbrqmf.c,v
retrieving revision 1.1.2.1
diff -u -b -r1.1.2.1 sbrqmf.c
--- sbrqmf.c    26 Feb 2005 02:05:12 -0000      1.1.2.1
+++ sbrqmf.c    9 May 2005 22:28:45 -0000
@@ -223,7 +194,13 @@
  *              use the assembly code version in sbrqmfak.s when building for 
ARM!
  
**************************************************************************************/
 #if (defined (__arm) && defined (__ARMCC_VERSION)) || (defined (_WIN32) && 
defined (_WIN32_WCE) && defined (ARM)) || (defined(__GNUC__) && 
defined(__arm__))
+#ifdef __cplusplus
+extern "C" {
+#endif
 void QMFAnalysisConv(int *cTab, int *delay, int dIdx, int *uBuf);
+#ifdef __cplusplus
+}
+#endif
 #else
 void QMFAnalysisConv(int *cTab, int *delay, int dIdx, int *uBuf)
 {
@@ -393,7 +370,13 @@
  *              use the assembly code version in sbrqmfsk.s when building for 
ARM!
  
**************************************************************************************/
 #if (defined (__arm) && defined (__ARMCC_VERSION)) || (defined (_WIN32) && 
defined (_WIN32_WCE) && defined (ARM)) || (defined(__GNUC__) && 
defined(__arm__))
+#ifdef __cplusplus
+extern "C" {
+#endif
 void QMFSynthesisConv(int *cPtr, int *delay, int dIdx, short *outbuf, int 
nChans);
+#ifdef __cplusplus
+}
+#endif
 #else
 void QMFSynthesisConv(int *cPtr, int *delay, int dIdx, short *outbuf, int 
nChans)
 {
_______________________________________________
Audio-dev mailing list
[email protected]
http://lists.helixcommunity.org/mailman/listinfo/audio-dev

Reply via email to