• R/O
  • HTTP
  • SSH
  • HTTPS

Commit

Tags
Aucun tag

Frequently used words (click to add to your profile)

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

hardware/libaudio


Commit MetaInfo

Révisionf2ca20dae03c006a15c74f96f2709d2a99d40f7d (tree)
l'heure2018-04-10 18:02:56
AuteurChih-Wei Huang <cwhuang@linu...>
CommiterChih-Wei Huang

Message de Log

audio_hw: ignore HdmiLpeAudio nodes

Change Summary

Modification

--- a/audio_hw.c
+++ b/audio_hw.c
@@ -213,7 +213,7 @@ struct snd_pcm_info *select_card(unsigned int device, unsigned int flags)
213213 d ? "in" : "out", path,
214214 info->card, info->device, info->id,
215215 info->name, info->subname, info->stream);
216- int hdmi = (!!strstr((const char *)info->id, "HDMI")) * 2;
216+ int hdmi = (!!strcasestr((const char *)info->id, "HDMI")) * 2;
217217 if (cached_info[d + hdmi]) {
218218 ALOGD("ignore %s", de->d_name);
219219 free(info);