Lines Matching refs:pcaps
42 int pa_oss_open(const char *device, int *mode, int* pcaps) { in pa_oss_open() argument
51 if (!pcaps) in pa_oss_open()
52 pcaps = ∩︀ in pa_oss_open()
58 if (ioctl(fd, SNDCTL_DSP_GETCAPS, pcaps) < 0) { in pa_oss_open()
63 if (*pcaps & DSP_CAP_DUPLEX) in pa_oss_open()
84 *pcaps = 0; in pa_oss_open()
86 if (ioctl(fd, SNDCTL_DSP_GETCAPS, pcaps) < 0) { in pa_oss_open()
95 *pcaps & DSP_CAP_BATCH ? " BATCH" : "", in pa_oss_open()
97 *pcaps & DSP_CAP_BIND ? " BIND" : "", in pa_oss_open()
101 *pcaps & DSP_CAP_COPROC ? " COPROC" : "", in pa_oss_open()
102 *pcaps & DSP_CAP_DUPLEX ? " DUPLEX" : "", in pa_oss_open()
104 *pcaps & DSP_CAP_FREERATE ? " FREERATE" : "", in pa_oss_open()
109 *pcaps & DSP_CAP_INPUT ? " INPUT" : "", in pa_oss_open()
113 *pcaps & DSP_CAP_MMAP ? " MMAP" : "", in pa_oss_open()
115 *pcaps & DSP_CAP_MODEM ? " MODEM" : "", in pa_oss_open()
120 *pcaps & DSP_CAP_MULTI ? " MULTI" : "", in pa_oss_open()
125 *pcaps & DSP_CAP_OUTPUT ? " OUTPUT" : "", in pa_oss_open()
129 *pcaps & DSP_CAP_REALTIME ? " REALTIME" : "", in pa_oss_open()
131 *pcaps & DSP_CAP_SHADOW ? " SHADOW" : "", in pa_oss_open()
136 *pcaps & DSP_CAP_VIRTUAL ? " VIRTUAL" : "", in pa_oss_open()
140 *pcaps & DSP_CAP_TRIGGER ? " TRIGGER" : ""); in pa_oss_open()