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.cpp63 SampleRateVector flatenedRates; in toAudioPort() local
76 if (flatenedRates.indexOf(rate) < 0) { in toAudioPort()
77 flatenedRates.add(rate); in toAudioPort()
86 if (flatenedRates.size() > AUDIO_PORT_MAX_SAMPLING_RATES || in toAudioPort()
97 port->num_sample_rates = flatenedRates.size(); in toAudioPort()
100 for (size_t i = 0; i < flatenedRates.size(); i++) { in toAudioPort()
101 port->sample_rates[i] = flatenedRates[i]; in toAudioPort()