• R/O
  • HTTP
  • SSH
  • HTTPS

コミット

タグ
未設定

よく使われているワード(クリックで追加)

javac++androidlinuxc#windowsobjective-ccocoa誰得qtpythonphprubygameguibathyscaphec計画中(planning stage)翻訳omegatframeworktwitterdomtestvb.netdirectxゲームエンジンbtronarduinopreviewer

device/generic/common


コミットメタ情報

リビジョン7fbe9f54a4457edc13128a1b89314aedbc36d216 (tree)
日時2016-08-08 16:41:54
作者Chih-Wei Huang <cwhuang@linu...>
コミッターChih-Wei Huang

ログメッセージ

init.sh: support IntelHDMI audio HAL

Only enable IntelHDMI audio HAL if it's the only sound card.
It doesn't work on devices other than ASUS ViVoStick (TS10).

変更サマリ

差分

--- a/init.sh
+++ b/init.sh
@@ -32,6 +32,10 @@ function init_hal_audio()
3232 *)
3333 ;;
3434 esac
35+
36+ if [ "`cat /proc/asound/card0/id`" = "IntelHDMI" ]; then
37+ [ -d /proc/asound/card1 ] || set_property ro.hardware.audio.primary hdmi
38+ fi
3539 }
3640
3741 function init_hal_bluetooth()