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.cpp69 SampleRateVector flatenedRates; in toAudioPort() local
82 if (flatenedRates.indexOf(rate) < 0) { in toAudioPort()
83 flatenedRates.add(rate); in toAudioPort()
92 if (flatenedRates.size() > AUDIO_PORT_MAX_SAMPLING_RATES || in toAudioPort()
103 port->num_sample_rates = flatenedRates.size(); in toAudioPort()
106 for (size_t i = 0; i < flatenedRates.size(); i++) { in toAudioPort()
107 port->sample_rates[i] = flatenedRates[i]; in toAudioPort()