Lines Matching refs:which
76 audio__setplayhdr(int fd, Audio_hdr *hdrp, unsigned int which) in audio__setplayhdr() argument
83 if (which & AUDIO__PLAY) in audio__setplayhdr()
85 else if (which & AUDIO__RECORD) in audio__setplayhdr()
90 if (which & AUDIO__SET) { in audio__setplayhdr()
123 if (which & AUDIO__SET) { in audio__setplayhdr()
145 audio__setval(int fd, unsigned int *valp, unsigned int which) in audio__setval() argument
154 if (which & AUDIO__PLAY) in audio__setval()
156 else if (which & AUDIO__RECORD) in audio__setval()
158 else if ((which & AUDIO__SETVAL_MASK) != AUDIO__MONGAIN) in audio__setval()
162 switch (which & AUDIO__SETVAL_MASK) { in audio__setval()
187 if (which & AUDIO__SET) { in audio__setval()
213 audio__setgain(int fd, double *valp, unsigned int which) in audio__setgain() argument
218 if (which & AUDIO__SET) { in audio__setgain()
228 err = audio__setval(fd, &x, which); in audio__setgain()
242 audio__setpause(int fd, unsigned int which) in audio__setpause() argument
250 if ((which & AUDIO__SETVAL_MASK) == AUDIO__PAUSE) { in audio__setpause()
252 } else if ((which & AUDIO__SETVAL_MASK) == AUDIO__RESUME) { in audio__setpause()
258 if (which & AUDIO__PLAY) { in audio__setpause()
261 if (which & AUDIO__RECORD) { in audio__setpause()
270 if (((which & AUDIO__PLAY) && (info.play.pause != x)) || in audio__setpause()
271 ((which & AUDIO__RECORD) && (info.record.pause != x))) in audio__setpause()
282 audio__flush(int fd, unsigned int which) in audio__flush() argument
286 flag = (which & AUDIO__PLAY) ? FLUSHW : 0; in audio__flush()
287 flag |= (which & AUDIO__RECORD) ? FLUSHR : 0; in audio__flush()