Home
last modified time | relevance | path

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

/hardware/libhardware/modules/usbaudio/
Daudio_hal.c67 uint32_t device_sample_rate; // this should be a rate that is common to both input & output member
875 out->adev->device_sample_rate = config->sample_rate; in adev_open_output_stream()
967 out->adev->device_sample_rate = 0; in adev_close_output_stream()
1333 if (in->adev->device_sample_rate != 0 && /* we are playing, so lock the rate if possible */ in adev_open_input_stream()
1334 in->adev->device_sample_rate >= RATELOCK_THRESHOLD) {/* but only for high sample rates */ in adev_open_input_stream()
1335 if (config->sample_rate != in->adev->device_sample_rate) { in adev_open_input_stream()
1341 min(highest_rate, in->adev->device_sample_rate); in adev_open_input_stream()