- Added new API for sound & sound port to create/open sound device with extended setting, to allow opening sound device with non-PCM format and other settings.
- Updated symbian_ua/ua.cpp to be able to reopen sound device when audio stream session is using non-PCM data/passthrough codec.
- Updated stream.c to allow it works with non-PCM data.
- Added PCMU/A frames processing into non-PCM play/record callbacks in symbian_audio_aps.cpp.
- Added passthrough codec init/deinitialization in pjsua-lib.
- Added a new pjmedia_frame_ext helper function, pjmedia_frame_ext_pop_subframes, to pop-out/remove some subframes.
- Other minor updates/fixes.




git-svn-id: https://svn.pjsip.org/repos/pjproject/branches/projects/aps-direct@2438 74dad513-b988-da41-8d7b-12977e46ad98
diff --git a/build.symbian/bld.inf b/build.symbian/bld.inf
index 4c9c13a..a07df70 100644
--- a/build.symbian/bld.inf
+++ b/build.symbian/bld.inf
@@ -20,6 +20,7 @@
 /* Codecs */
 libgsmcodec.mmp
 libspeexcodec.mmp
+libpassthroughcodec.mmp
 
 /* Sound device impl */
 symbian_audio.mmp
diff --git a/build.symbian/libpassthroughcodec.mmp b/build.symbian/libpassthroughcodec.mmp
new file mode 100644
index 0000000..c4fb277
--- /dev/null
+++ b/build.symbian/libpassthroughcodec.mmp
@@ -0,0 +1,26 @@
+TARGET		libpassthroughcodec.lib
+TARGETTYPE	lib
+
+MACRO		HAVE_CONFIG_H
+MACRO		PJ_M_I386=1
+MACRO		PJ_SYMBIAN=1
+
+//
+// GCCE optimization setting
+//
+OPTION		GCCE -O2 -fno-unit-at-a-time
+
+//
+// Passthrough codecs wrapper for pjmedia-codec
+//
+SOURCEPATH 	..\pjmedia\src\pjmedia-codec
+SOURCE		passthrough.c
+
+//
+// Header files
+//
+SYSTEMINCLUDE	..\pjmedia\include
+SYSTEMINCLUDE	..\pjlib\include 
+
+SYSTEMINCLUDE	\epoc32\include 
+SYSTEMINCLUDE	\epoc32\include\libc
diff --git a/build.symbian/symbian_ua.mmp b/build.symbian/symbian_ua.mmp
index 5f7f1f8..e21a899 100644
--- a/build.symbian/symbian_ua.mmp
+++ b/build.symbian/symbian_ua.mmp
@@ -34,7 +34,7 @@
 STATICLIBRARY		pjsip_simple.lib pjsip.lib pjsdp.lib pjmedia.lib
 STATICLIBRARY		pjnath.lib pjlib_util.lib pjlib.lib
 STATICLIBRARY		libsrtp.lib
-STATICLIBRARY		libgsmcodec.lib libspeexcodec.lib
+STATICLIBRARY		libgsmcodec.lib libspeexcodec.lib libpassthroughcodec.lib
 STATICLIBRARY		symbian_audio.lib
 
 #if SND_USE_APS