Lines Matching defs:dir
70 int dir;
301 auchan_init(kobj_t obj, void *devinfo, struct snd_dbuf *b, struct pcm_channel *c, int dir)
304 struct au_chinfo *ch = (dir == PCMDIR_PLAY)? &au->pch : NULL;
309 ch->dir = dir;
320 if (ch->dir == PCMDIR_PLAY) au_prepareoutput(ch, format);
328 if (ch->dir == PCMDIR_PLAY) {
349 if (ch->dir == PCMDIR_PLAY) {
367 if (ch->dir == PCMDIR_PLAY) {
378 return (ch->dir == PCMDIR_PLAY)? &au_playcaps : &au_reccaps;