Lines Matching defs:pcm_channel
49 struct pcm_channel;
76 struct pcm_channel *ch;
83 struct pcm_channel {
102 struct pcm_channel *parentchannel;
146 SLIST_HEAD(, pcm_channel) head;
147 SLIST_ENTRY(pcm_channel) link;
149 SLIST_HEAD(, pcm_channel) head;
150 SLIST_ENTRY(pcm_channel) link;
156 SLIST_ENTRY(pcm_channel) link;
158 SLIST_ENTRY(pcm_channel) link;
161 SLIST_ENTRY(pcm_channel) link;
193 struct pcm_channel *t = NULL; \
203 struct pcm_channel *t = NULL; \
216 struct pcm_channel *t = NULL; \
227 struct pcm_channel *t, *a = NULL; \
251 int chn_reinit(struct pcm_channel *c);
252 int chn_write(struct pcm_channel *c, struct uio *buf);
253 int chn_read(struct pcm_channel *c, struct uio *buf);
254 u_int32_t chn_start(struct pcm_channel *c, int force);
255 int chn_sync(struct pcm_channel *c, int threshold);
256 int chn_flush(struct pcm_channel *c);
257 int chn_poll(struct pcm_channel *c, int ev, struct thread *td);
259 char *chn_mkname(char *buf, size_t len, struct pcm_channel *c);
260 struct pcm_channel *chn_init(struct snddev_info *d, struct pcm_channel *parent,
262 void chn_kill(struct pcm_channel *c);
263 void chn_shutdown(struct pcm_channel *c);
264 int chn_release(struct pcm_channel *c);
265 int chn_reset(struct pcm_channel *c, u_int32_t fmt, u_int32_t spd);
266 int chn_setvolume_multi(struct pcm_channel *c, int vc, int left, int right,
268 int chn_setvolume_matrix(struct pcm_channel *c, int vc, int vt, int val);
269 int chn_getvolume_matrix(struct pcm_channel *c, int vc, int vt);
270 int chn_setmute_multi(struct pcm_channel *c, int vc, int mute);
271 int chn_setmute_matrix(struct pcm_channel *c, int vc, int vt, int mute);
272 int chn_getmute_matrix(struct pcm_channel *c, int vc, int vt);
273 void chn_vpc_reset(struct pcm_channel *c, int vc, int force);
274 int chn_setparam(struct pcm_channel *c, uint32_t format, uint32_t speed);
275 int chn_setspeed(struct pcm_channel *c, uint32_t speed);
276 int chn_setformat(struct pcm_channel *c, uint32_t format);
277 int chn_setblocksize(struct pcm_channel *c, int blkcnt, int blksz);
278 int chn_setlatency(struct pcm_channel *c, int latency);
279 void chn_syncstate(struct pcm_channel *c);
280 int chn_trigger(struct pcm_channel *c, int go);
281 int chn_getptr(struct pcm_channel *c);
282 struct pcmchan_caps *chn_getcaps(struct pcm_channel *c);
283 u_int32_t chn_getformats(struct pcm_channel *c);
285 struct pcmchan_matrix *chn_getmatrix(struct pcm_channel *);
286 int chn_setmatrix(struct pcm_channel *, struct pcmchan_matrix *);
288 int chn_oss_getorder(struct pcm_channel *, unsigned long long *);
289 int chn_oss_setorder(struct pcm_channel *, unsigned long long *);
290 int chn_oss_getmask(struct pcm_channel *, uint32_t *);
292 void chn_resetbuf(struct pcm_channel *c);
293 void chn_intr_locked(struct pcm_channel *c);
294 void chn_intr(struct pcm_channel *c);
295 int chn_abort(struct pcm_channel *c);
297 int chn_notify(struct pcm_channel *c, u_int32_t flags);
299 int chn_getrates(struct pcm_channel *c, int **rates);
300 int chn_syncdestroy(struct pcm_channel *c);
312 int chn_getpeaks(struct pcm_channel *c, int *lpeak, int *rpeak);