Searched refs:supported_sample_rates (Results 1 – 4 of 4) sorted by relevance
/hardware/qcom/audio/hal/audio_extn/ |
D | usb.c | 48 static uint32_t supported_sample_rates[] = variable 52 (sizeof(supported_sample_rates)/sizeof(supported_sample_rates[0])); 251 if (supported_sample_rates[i] >= min_sr && in usb_get_sample_rates() 252 supported_sample_rates[i] <= max_sr) { in usb_get_sample_rates() 253 config->rates[sr_size++] = supported_sample_rates[i]; in usb_get_sample_rates() 257 __func__, i, supported_sample_rates[i]); in usb_get_sample_rates() 264 if (supported_sample_rates[i] == sr) { in usb_get_sample_rates() 267 __func__, sr, i, supported_sample_rates[i]); in usb_get_sample_rates() 268 config->rates[sr_size++] = supported_sample_rates[i]; in usb_get_sample_rates() 1023 sample_rates[i++] = supported_sample_rates[idx]; in audio_extn_usb_sup_sample_rates()
|
/hardware/qcom/audio/hal/ |
D | audio_hw.h | 203 uint32_t supported_sample_rates[MAX_SUPPORTED_SAMPLE_RATES + 1]; member 268 uint32_t supported_sample_rates[MAX_SUPPORTED_SAMPLE_RATES + 1]; member
|
D | audio_hw.c | 1078 uint32_t *supported_sample_rates, in read_usb_sup_sample_rates() argument 1082 supported_sample_rates, in read_usb_sup_sample_rates() 1087 supported_sample_rates[i]); in read_usb_sup_sample_rates() 1167 uint32_t *supported_sample_rates, in read_usb_sup_params_and_compare() argument 1181 supported_sample_rates, max_rates); in read_usb_sup_params_and_compare() 1189 LUT(supported_sample_rates, num_rates, *rate, 0); in read_usb_sup_params_and_compare() 2276 uint32_t supported_sample_rates[static MAX_SUPPORTED_SAMPLE_RATES]) { in register_sample_rate() 2277 ALOGE_IF(!register_uint(sample_rate, supported_sample_rates, MAX_SUPPORTED_SAMPLE_RATES), in register_sample_rate() 2740 uint32_t *supported_sample_rates) { in stream_get_parameter_rates() argument 2750 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()
|