Lines Matching refs:pcms
51 static unsigned int pcms; variable
87 pcms = 0; in getSndDev()
95 EXPECT_LE(pcms, pcmdevs) << "Too many PCMs"; in getSndDev()
96 if (pcms >= pcmdevs) in getSndDev()
98 sscanf(de->d_name, PCM_PREFIX "C%uD%u", &(pcmnodes[pcms].card), in getSndDev()
99 &(pcmnodes[pcms].device)); in getSndDev()
102 pcmnodes[pcms].flags = PCM_IN; in getSndDev()
104 pcmnodes[pcms].flags = PCM_OUT; in getSndDev()
106 pcmnodes[pcms].flags = -1; in getSndDev()
109 if (prevcard != pcmnodes[pcms].card) in getSndDev()
111 prevcard = pcmnodes[pcms].card; in getSndDev()
112 pcms++; in getSndDev()
167 pcms = getPcmNodes(); in TEST()
168 ASSERT_GT(pcms, 0U); in TEST()
172 int err = getSndDev(pcms); in TEST()
174 pcms, cards, mixers, timers); in TEST()
179 ASSERT_NE(0U, pcms); in TEST()
183 EXPECT_NE(1U, pcms % 2); in TEST()
200 for (unsigned int i = 0; i < pcms; i++) { in TEST()