Home
last modified time | relevance | path

Searched refs:rd_buf (Results 1 – 1 of 1) sorted by relevance

/hardware/qcom/audio/hal/audio_extn/
Dsndmonitor.c406 char rd_buf[9]={0}; in on_sndcard_state_update() local
409 if (read(s->fd, rd_buf, 8) <= 0) in on_sndcard_state_update()
412 rd_buf[8] = '\0'; in on_sndcard_state_update()
415 ALOGV("card num %d, new state %s", s->card, rd_buf); in on_sndcard_state_update()
417 if (strstr(rd_buf, "OFFLINE")) in on_sndcard_state_update()
419 else if (strstr(rd_buf, "ONLINE")) in on_sndcard_state_update()