Home
last modified time | relevance | path

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

/system/media/audio/include/system/
Daudio.h651 unsigned int num_sample_rates; /* number of sampling rates in following array */ member
686 unsigned int num_sample_rates; /* number of sampling rates in following array */ member
735 portV7->audio_profiles[i].num_sample_rates = port->num_sample_rates; in audio_populate_audio_port_v7()
737 port->num_sample_rates * sizeof(unsigned int)); in audio_populate_audio_port_v7()
765 port->num_sample_rates = 0; in audio_populate_audio_port()
769 for (size_t j = 0; j < portV7->audio_profiles[i].num_sample_rates; ++j) { in audio_populate_audio_port()
771 for (; k < port->num_sample_rates; ++k) { in audio_populate_audio_port()
776 if (k == port->num_sample_rates) { in audio_populate_audio_port()
777 if (port->num_sample_rates >= AUDIO_PORT_MAX_SAMPLING_RATES) { in audio_populate_audio_port()
781 port->sample_rates[port->num_sample_rates++] = in audio_populate_audio_port()
[all …]
/system/media/tests/
Dsystemaudio_tests.cpp546 audioPort->num_sample_rates = AUDIO_PORT_MAX_SAMPLING_RATES; in fillFakeAudioPortInfo()
547 for (size_t i = 0; i < audioPort->num_sample_rates; ++i) { in fillFakeAudioPortInfo()
568 portV7->audio_profiles[i].num_sample_rates = AUDIO_PORT_MAX_SAMPLING_RATES; in fillFakeAudioPortV7Info()
569 for (size_t j = 0; j < portV7->audio_profiles[i].num_sample_rates; ++j) { in fillFakeAudioPortV7Info()
712 testAudioPortCapabilityArraysEquivalent(lhs.sample_rates, lhs.num_sample_rates, in TEST_P()
729 firstProfile.num_sample_rates, (unsigned int) 0 /*replacedValue*/, in TEST_P()