Lines Matching defs:voices
271 * Initializes all voices.
284 memset(opl4->voices, 0, sizeof(opl4->voices));
286 opl4->voices[i].number = i;
287 list_add_tail(&opl4->voices[i].list, &opl4->off_voices);
294 * Shuts down all voices.
303 opl4->voices[i].reg_misc & ~OPL4_KEY_ON_BIT);
307 * Executes the callback for all voices playing the specified note.
317 voice = &opl4->voices[i];
325 * Executes the callback for all voices of to the specified channel.
336 voice = &opl4->voices[i];
344 * Executes the callback for all active voices.
354 voice = &opl4->voices[i];
479 int voices = 0, i;
481 /* determine the number of voices and voice parameters */
487 sound[voices] = ®ions->regions[i].sound;
488 if (++voices >= 2)
493 /* allocate and initialize the needed voices */
495 for (i = 0; i < voices; i++) {
505 for (i = 0; i < voices; i++) {
515 for (i = 0; i < voices; i++) {
529 for (i = 0; i < voices; i++) {
535 /* finally, switch on all voices */
536 for (i = 0; i < voices; i++) {