Home
last modified time | relevance | path

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

/hardware/qcom/audio/msm8909/hal/audio_extn/
Dusb.c169 int *rates_supported = NULL; in usb_get_capability() local
284 rates_supported = (int *)malloc(sizeof(int) * size); in usb_get_capability()
286 if (!rates_supported) { in usb_get_capability()
299 rates_supported[0] = atoi(next_sr_string); in usb_get_capability()
301 __func__, rates_supported[0]); in usb_get_capability()
305 rates_supported[i] = -1; // fill in an invalid sr for the rest in usb_get_capability()
308 rates_supported[i] = atoi(next_sr_string); in usb_get_capability()
309 ALOGD("rates_supported[%d] for playback: %d",i, rates_supported[i]); in usb_get_capability()
313 if ((rates_supported[i] > *sample_rate) && in usb_get_capability()
314 (rates_supported[i] <= 48000)) { in usb_get_capability()
[all …]