Merge pull request #506 from hooby3dfx/master
minor tweak to mic support
This commit is contained in:
commit
d405d8157f
|
@ -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/
|
||||
|
||||
|
|
|
@ -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,
|
||||
|
|
Loading…
Reference in New Issue