Searched refs:num_sources (Results 1 – 2 of 2) sorted by relevance
1166 unsigned int num_sources; /* number of sources in following array */ member2079 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()
36 patch.num_sources = AUDIO_PATCH_PORTS_MAX + 1; in TEST()39 patch.num_sources = 1; in TEST()42 patch.num_sources = 0; in TEST()