Home
last modified time | relevance | path

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

/hardware/qcom/audio/hal/audio_extn/
Dusb.c336 char *bit_width_str = NULL; in usb_get_capability() local
429 if ((bit_width_str = (char *)malloc(size + 1)) == NULL) { in usb_get_capability()
436 memcpy(bit_width_str, bit_width_start, size); in usb_get_capability()
437 bit_width_str[size] = '\0'; in usb_get_capability()
438 if (strstr(bit_width_str, "S16_LE")) in usb_get_capability()
440 else if (strstr(bit_width_str, "S24_LE")) in usb_get_capability()
442 else if (strstr(bit_width_str, "S24_3LE")) in usb_get_capability()
444 else if (strstr(bit_width_str, "S32_LE")) in usb_get_capability()
447 if (bit_width_str) in usb_get_capability()
448 free(bit_width_str); in usb_get_capability()