Home | History | Annotate | Download | only in dev

Lines Matching refs:voices

204 	 * and could probably be reduced by different management of voices and
244 if (ms->voices[v].chan_note == cn && ms->voices[v].inuse)
261 ms->voices = kmem_zalloc(ms->nvoice * sizeof(struct voice),
287 ms->voices[voice].inuse = 0;
300 bestseq = ms->voices[0].seqno + (ms->voices[0].inuse ? 0x40000000 : 0);
302 s = ms->voices[v].seqno;
303 if (ms->voices[v].inuse)
311 bestv, ms->voices[bestv].seqno,
312 ms->voices[bestv].chan_note,
313 ms->voices[bestv].inuse));
315 if (ms->voices[bestv].inuse)
317 ms->voices[bestv].chan_note));
319 ms->voices[bestv].chan_note = MS_CHANNOTE(chan, note);
320 ms->voices[bestv].seqno = ms->seqno++;
321 ms->voices[bestv].inuse = 1;
333 ms->voices[voice].velcB = midisyn_vol2cB((uint_fast16_t)vel << 7);
334 ms->mets->attackv(ms, voice, mp, level_cB + ms->voices[voice].velcB);
383 ms->voices[voice].velcB = 0; /* assume driver handles vel */
421 * driver has a repitchv method for voices already sounding, so
493 /* releasev all voices sounding on chan; use normal vel 64 */
499 /* releasev all voices sounding on chan; use max vel 127 */
525 * to notes subsequently struck, and must remember which voices
624 for (vp=(ms)->voices,_end_##vp=vp+(ms)->nvoice; \
641 ms->mets->releasev(ms, vp - ms->voices, vel);
642 midisyn_freevoice(ms, vp - ms->voices);
664 ms->mets->relevelv(ms, vp - ms->voices,
685 ms->mets->repitchv(ms, vp - ms->voices,