hardware/libaudio
リビジョン | f2ca20dae03c006a15c74f96f2709d2a99d40f7d (tree) |
---|---|
日時 | 2018-04-10 18:02:56 |
作者 | Chih-Wei Huang <cwhuang@linu...> |
コミッター | Chih-Wei Huang |
audio_hw: ignore HdmiLpeAudio nodes
@@ -213,7 +213,7 @@ struct snd_pcm_info *select_card(unsigned int device, unsigned int flags) | ||
213 | 213 | d ? "in" : "out", path, |
214 | 214 | info->card, info->device, info->id, |
215 | 215 | 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; | |
217 | 217 | if (cached_info[d + hdmi]) { |
218 | 218 | ALOGD("ignore %s", de->d_name); |
219 | 219 | free(info); |