1
유선 헤드셋을 사용하는 경우 태블릿에서 HDMI 오디오 출력을 어떻게 비활성화 할 수 있습니까? 나는유선 헤드셋을 사용하는 경우 태블릿에서 HDMI 오디오 사용 안 함
mgr = (AudioManager) context.getSystemService(Context.AUDIO_SERVICE);
mgr.setWiredHeadsetOn(true);
및
mgr = (AudioManager) context.getSystemService(Context.AUDIO_SERVICE);
mgr.setParameters("audio_devices_out_active=AUDIO_CODEC");
그것은 작동하지 않았다 시도 할 것 '(