Commit 821f5176 authored by DanmeiChen's avatar DanmeiChen

convert int to boolean

parent e48bd828
......@@ -71,7 +71,7 @@ public class MediastreamerAndroidContext {
{
AudioManager audiomanager = (AudioManager)mContext.getSystemService(Context.AUDIO_SERVICE);
//setSpeakerphoneOn for special device to enable choose the audio input source
if(factory.getDeviceFlags() & DEVICE_USE_ANDROID_CAMCORDER) {
if((factory.getDeviceFlags() & DEVICE_USE_ANDROID_CAMCORDER)!=0) {
audiomanager.setSpeakerphoneOn(true);
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment