Home | History | Annotate | Download | only in alsa

Lines Matching full:pcms

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