Home
last modified time | relevance | path

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

/system/media/audio/include/system/
Daudio.h1166 unsigned int num_sources; /* number of sources in following array */ member
2079 for (unsigned int i = 0; i < patch->num_sources; ++i) { in audio_patch_has_hw_av_sync()
2090 return patch->num_sources != 0 && patch->num_sources <= AUDIO_PATCH_PORTS_MAX && in audio_patch_is_valid()
2099 if (lhs->num_sources != rhs->num_sources || lhs->num_sinks != rhs->num_sinks) return false; in audio_patches_are_equal()
2100 for (unsigned int i = 0; i < lhs->num_sources; ++i) { in audio_patches_are_equal()
/system/media/tests/
Dsystemaudio_tests.cpp36 patch.num_sources = AUDIO_PATCH_PORTS_MAX + 1; in TEST()
39 patch.num_sources = 1; in TEST()
42 patch.num_sources = 0; in TEST()