Lines Matching defs:voices
271 * Initializes all voices.
285 memset(opl4->voices, 0, sizeof(opl4->voices));
287 opl4->voices[i].number = i;
288 list_add_tail(&opl4->voices[i].list, &opl4->off_voices);
295 * Shuts down all voices.
305 opl4->voices[i].reg_misc & ~OPL4_KEY_ON_BIT);
310 * Executes the callback for all voices playing the specified note.
321 voice = &opl4->voices[i];
330 * Executes the callback for all voices of to the specified channel.
342 voice = &opl4->voices[i];
351 * Executes the callback for all active voices.
362 voice = &opl4->voices[i];
488 int voices = 0, i;
491 /* determine the number of voices and voice parameters */
497 sound[voices] = ®ions->regions[i].sound;
498 if (++voices >= 2)
503 /* allocate and initialize the needed voices */
505 for (i = 0; i < voices; i++) {
516 for (i = 0; i < voices; i++) {
526 for (i = 0; i < voices; i++) {
540 for (i = 0; i < voices; i++) {
546 /* finally, switch on all voices */
547 for (i = 0; i < voices; i++) {