Home
last modified time | relevance | path

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

/system/extras/tests/audio/alsa/
Dpcmtest.cpp48 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()
[all …]