summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--audio_hw.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/audio_hw.c b/audio_hw.c
index a83353a..b683c67 100644
--- a/audio_hw.c
+++ b/audio_hw.c
@@ -213,7 +213,7 @@ struct snd_pcm_info *select_card(unsigned int device, unsigned int flags)
d ? "in" : "out", path,
info->card, info->device, info->id,
info->name, info->subname, info->stream);
- int hdmi = (!!strstr((const char *)info->id, "HDMI")) * 2;
+ int hdmi = (!!strcasestr((const char *)info->id, "HDMI")) * 2;
if (cached_info[d + hdmi]) {
ALOGD("ignore %s", de->d_name);
free(info);