summaryrefslogtreecommitdiff
path: root/README.symbian
blob: a4f8d95868b1a9b0615b0cb042e56a15120998cc (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
Using Speex on Symbian OS
Conrad Parker and Colin Ward, CSIRO Australia, July 2004


Introduction
------------

The symbian/ directory contains the following files for Symbian's abuild tool:

  bld.inf    Component definition file
  speex.mmp  Project specification file
  config.h   Configuration options for both emulator and device builds


Developing applications for libspeex for Symbian OS
---------------------------------------------------

     Any references to the statically defined SpeexMode structures must be
     replaced by a call to a speex_lib_get_mode () for that mode.

     * References to the statically defined array speex_mode_list[modeID]
     must be replaced by a call to speex_lib_get_mode (modeID):

-      mode = speex_mode_list[modeID];
+      mode = speex_lib_get_mode (modeID);

     * References to the statically defined mode structures must be replaced:

       SpeexMode * mode1, * mode2, * mode3;

-      mode1 = &speex_nb_mode;
+      mode1 = speex_lib_get_mode (SPEEX_MODEID_NB);

-      mode2 = &speex_wb_mode;
+      mode2 = speex_lib_get_mode (SPEEX_MODEID_WB);

-      mode3 = &speex_uwb_mode;
+      mode3 = speex_lib_get_mode (SPEEX_MODEID_UWB);

     Note that the constants SPEEX_MODEID_NB, SPEEX_MODEID_WB and
     SPEEX_MODEID_UWB were introduced in libspeex 1.1.6, and are
     defined in <speex/speex.h>. speex_lib_get_mode() was introduced
     in libspeex 1.1.7 and is declared in <speex/speex.h>.