Home
last modified time | relevance | path

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

/hardware/qcom/audio/hal/audio_extn/
Dusb.c49 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/
Daudio_hw.h233 uint32_t supported_sample_rates[MAX_SUPPORTED_SAMPLE_RATES + 1]; member
320 uint32_t supported_sample_rates[MAX_SUPPORTED_SAMPLE_RATES + 1]; member
Daudio_hw.c1330 uint32_t *supported_sample_rates, in read_usb_sup_sample_rates() argument
1334 supported_sample_rates, in read_usb_sup_sample_rates()
1339 supported_sample_rates[i]); in read_usb_sup_sample_rates()
1424 uint32_t *supported_sample_rates, in read_usb_sup_params_and_compare() argument
1438 supported_sample_rates, max_rates); in read_usb_sup_params_and_compare()
1446 LUT(supported_sample_rates, num_rates, *rate, 0); in read_usb_sup_params_and_compare()
2738 uint32_t supported_sample_rates[static MAX_SUPPORTED_SAMPLE_RATES]) { in register_sample_rate()
2739 ALOGE_IF(!register_uint(sample_rate, supported_sample_rates, MAX_SUPPORTED_SAMPLE_RATES), in register_sample_rate()
3259 uint32_t *supported_sample_rates) { in stream_get_parameter_rates() argument
3269 while (supported_sample_rates[i]) { in stream_get_parameter_rates()
[all …]
/hardware/libhardware/modules/audio_remote_submix/
Daudio_hw.cpp202 static const unsigned int supported_sample_rates[] = { in sample_rate_supported() local
207 SUBMIX_VALUE_IN_SET(sample_rate, supported_sample_rates, &return_value); in sample_rate_supported()