Lines Matching refs:prinfo
82 struct audio_prinfo *prinfo; in audio__setplayhdr() local
86 prinfo = &info.play; in audio__setplayhdr()
88 prinfo = &info.record; in audio__setplayhdr()
95 prinfo->sample_rate = hdrp->sample_rate; in audio__setplayhdr()
96 prinfo->channels = hdrp->channels; in audio__setplayhdr()
97 prinfo->encoding = hdrp->encoding; in audio__setplayhdr()
98 prinfo->precision = hdrp->bytes_per_unit * 8; in audio__setplayhdr()
109 hdrp->sample_rate = prinfo->sample_rate; in audio__setplayhdr()
110 hdrp->channels = prinfo->channels; in audio__setplayhdr()
112 hdrp->encoding = prinfo->encoding; in audio__setplayhdr()
119 hdrp->bytes_per_unit = prinfo->precision / 8; in audio__setplayhdr()
150 struct audio_prinfo *prinfo; in audio__setval() local
157 prinfo = &info.play; in audio__setval()
159 prinfo = &info.record; in audio__setval()
166 up = &prinfo->port; break; in audio__setval()
168 up = &prinfo->samples; break; in audio__setval()
170 cp = &prinfo->error; break; in audio__setval()
172 up = &prinfo->eof; break; in audio__setval()
174 cp = &prinfo->open; break; in audio__setval()
176 cp = &prinfo->active; break; in audio__setval()
178 cp = &prinfo->waiting; break; in audio__setval()
180 up = &prinfo->gain; break; in audio__setval()
184 cp = &prinfo->balance; break; in audio__setval()