Searched refs:supported_sample_rates (Results 1 – 4 of 4) sorted by relevance
/hardware/qcom/audio/hal/audio_extn/ |
D | usb.c | 49 static uint32_t supported_sample_rates[] = variable 53 (sizeof(supported_sample_rates)/sizeof(supported_sample_rates[0])); 253 if (supported_sample_rates[i] >= min_sr && in usb_get_sample_rates() 254 supported_sample_rates[i] <= max_sr) { in usb_get_sample_rates() 255 config->rates[sr_size++] = supported_sample_rates[i]; in usb_get_sample_rates() 259 __func__, i, supported_sample_rates[i]); in usb_get_sample_rates() 266 if (supported_sample_rates[i] == sr) { in usb_get_sample_rates() 269 __func__, sr, i, supported_sample_rates[i]); in usb_get_sample_rates() 270 config->rates[sr_size++] = supported_sample_rates[i]; in usb_get_sample_rates() 1067 sample_rates[i++] = supported_sample_rates[idx]; in audio_extn_usb_sup_sample_rates()
|
/hardware/qcom/audio/hal/ |
D | audio_hw.h | 233 uint32_t supported_sample_rates[MAX_SUPPORTED_SAMPLE_RATES + 1]; member 318 uint32_t supported_sample_rates[MAX_SUPPORTED_SAMPLE_RATES + 1]; member
|
D | audio_hw.c | 1316 uint32_t *supported_sample_rates, in read_usb_sup_sample_rates() argument 1320 supported_sample_rates, in read_usb_sup_sample_rates() 1325 supported_sample_rates[i]); in read_usb_sup_sample_rates() 1410 uint32_t *supported_sample_rates, in read_usb_sup_params_and_compare() argument 1424 supported_sample_rates, max_rates); in read_usb_sup_params_and_compare() 1432 LUT(supported_sample_rates, num_rates, *rate, 0); in read_usb_sup_params_and_compare() 2715 uint32_t supported_sample_rates[static MAX_SUPPORTED_SAMPLE_RATES]) { in register_sample_rate() 2716 ALOGE_IF(!register_uint(sample_rate, supported_sample_rates, MAX_SUPPORTED_SAMPLE_RATES), in register_sample_rate() 3213 uint32_t *supported_sample_rates) { in stream_get_parameter_rates() argument 3223 while (supported_sample_rates[i]) { in stream_get_parameter_rates() [all …]
|
/hardware/libhardware/modules/audio_remote_submix/ |
D | audio_hw.cpp | 215 static const unsigned int supported_sample_rates[] = { in sample_rate_supported() local 219 SUBMIX_VALUE_IN_SET(sample_rate, supported_sample_rates, &return_value); in sample_rate_supported()
|