Home
last modified time | relevance | path

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

/frameworks/av/services/audiopolicy/common/managerdefinitions/src/
DAudioPort.cpp74 SampleRateVector flatenedRates; in toAudioPort() local
87 if (flatenedRates.indexOf(rate) < 0) { in toAudioPort()
88 flatenedRates.add(rate); in toAudioPort()
97 if (flatenedRates.size() > AUDIO_PORT_MAX_SAMPLING_RATES || in toAudioPort()
108 port->num_sample_rates = flatenedRates.size(); in toAudioPort()
111 for (size_t i = 0; i < flatenedRates.size(); i++) { in toAudioPort()
112 port->sample_rates[i] = flatenedRates[i]; in toAudioPort()