Searched refs:mtc (Results 1 – 6 of 6) sorted by relevance
| /openbsd-src/usr.bin/sndiod/ |
| H A D | dev.c | 87 struct mtc mtc_array[1] = { 191 mtc_midi_qfr(struct mtc *mtc, int delta) 197 mtc->delta += delta * MTC_SEC; in zomb_exit() 198 qfrlen = mtc->dev->rate * (MTC_SEC / (4 * mtc->fps)); in zomb_exit() 199 while (mtc->delta >= qfrlen) { in zomb_exit() 200 switch (mtc->qfr) { in zomb_exit() 202 data = mtc->fr & 0xf; in zomb_exit() 205 data = mtc 223 mtc_midi_qfr(struct mtc * mtc,int delta) mtc_midi_qfr() argument 293 mtc_midi_full(struct mtc * mtc) mtc_midi_full() argument 1407 mtc_trigger(struct mtc * mtc) mtc_trigger() argument 1451 mtc_start(struct mtc * mtc) mtc_start() argument 1470 mtc_stop(struct mtc * mtc) mtc_stop() argument 1495 mtc_loc(struct mtc * mtc,unsigned int origin) mtc_loc() argument 1514 mtc_setdev(struct mtc * mtc,struct dev * d) mtc_setdev() argument [all...] |
| H A D | dev.h | 188 struct mtc { struct 288 extern struct mtc mtc_array[1]; 324 void mtc_midi_qfr(struct mtc *, int); 325 void mtc_midi_full(struct mtc *); 326 void mtc_trigger(struct mtc *); 327 void mtc_start(struct mtc *); 328 void mtc_stop(struct mtc *); 329 void mtc_loc(struct mtc *, unsigned int); 330 void mtc_setdev(struct mtc *, struct dev *); 195 tstatemtc global() argument 196 devmtc global() argument 198 originmtc global() argument 199 fpsmtc global() argument 203 fps_idmtc global() argument 204 hrmtc global() argument 205 minmtc global() argument 206 secmtc global() argument 207 frmtc global() argument 208 qfrmtc global() argument 209 deltamtc global() argument 210 refsmtc global() argument
|
| H A D | opt.c | 90 if (o->mtc == NULL) in opt_midi_omsg() 92 mtc_setdev(o->mtc, o->dev); in opt_midi_omsg() 94 mtc_stop(o->mtc); in opt_midi_omsg() 99 if (o->mtc == NULL) in opt_midi_omsg() 101 mtc_setdev(o->mtc, o->dev); in opt_midi_omsg() 103 mtc_start(o->mtc); in opt_midi_omsg() 110 if (o->mtc == NULL) in opt_midi_omsg() 112 mtc_setdev(o->mtc, o->dev); in opt_midi_omsg() 124 mtc_stop(o->mtc); in opt_midi_omsg() 127 mtc_loc(o->mtc, in opt_midi_omsg() [all...] |
| H A D | opt.h | 28 struct mtc *mtc; /* if set, MMC-controlled MTC source */ member
|
| H A D | sndiod.c | 735 o->maxweight, o->mtc != NULL, o->dup, o->mode) == NULL) in main()
|
| H A D | sock.c | 641 if (s->opt->mtc != NULL && s->xrun == XRUN_IGNORE) in sock_wdata()
|