Merge pull request #506 from hooby3dfx/master

minor tweak to mic support
This commit is contained in:
hooby3dfx 2014-07-05 22:43:47 -04:00
commit d405d8157f
2 changed files with 2 additions and 1 deletions

View File

@ -26,6 +26,7 @@ Tools required:
- If are not using r9c+, comment the "NDK_TOOLCHAIN_VERSION := 4.8" in shell/android/jni/Application.mk and shell/android/xperia/jni/Application.mk
* Android 4.4 (API 19) & Android 2.3.1 (API 9)
- http://developer.android.com/sdk/installing/adding-packages.html
- note that API 9 is hidden (you must check to show obsolete in SDK manager)
* Ant
- http://ant.apache.org/

View File

@ -42,7 +42,7 @@ public class SipEmulator extends Thread {
Log.d(TAG, "SipEmulator init called");
record = new AudioRecord(
MediaRecorder.AudioSource.MIC,
MediaRecorder.AudioSource.VOICE_RECOGNITION,
11025,
AudioFormat.CHANNEL_IN_MONO,
AudioFormat.ENCODING_PCM_16BIT,