Lines Matching refs:pcms
48 static unsigned int pcms; variable
84 pcms = 0; in getSndDev()
92 EXPECT_LE(pcms, pcmdevs) << "Too many PCMs"; in getSndDev()
93 if (pcms >= pcmdevs) in getSndDev()
95 sscanf(de->d_name, PCM_PREFIX "C%uD%u", &(pcmnodes[pcms].card), in getSndDev()
96 &(pcmnodes[pcms].device)); in getSndDev()
99 pcmnodes[pcms].flags = PCM_IN; in getSndDev()
101 pcmnodes[pcms].flags = PCM_OUT; in getSndDev()
103 pcmnodes[pcms].flags = -1; in getSndDev()
106 if (prevcard != pcmnodes[pcms].card) in getSndDev()
108 prevcard = pcmnodes[pcms].card; in getSndDev()
109 pcms++; in getSndDev()
164 pcms = getPcmNodes(); in TEST()
165 ASSERT_GT(pcms, 0U); in TEST()
169 int err = getSndDev(pcms); in TEST()
171 pcms, cards, mixers, timers); in TEST()
176 ASSERT_NE(0U, pcms); in TEST()
180 EXPECT_NE(1U, pcms % 2); in TEST()
197 for (unsigned int i = 0; i < pcms; i++) { in TEST()