Lines Matching defs:voice
92 /* set up each voice parameter */
93 /* at this stage, we don't trigger the voice yet. */
140 /* clear voice position for the next note on this channel */
364 * terminate note - if free flag is true, free the terminated voice
490 * terminate a voice
509 * Modulate the voice
536 * Sets up the voice structure by calculating some values that
725 * voice and channels parameters.
924 void snd_emux_lock_voice(struct snd_emux *emu, int voice)
929 if (emu->voices[voice].state == SNDRV_EMUX_ST_OFF)
930 emu->voices[voice].state = SNDRV_EMUX_ST_LOCKED;
932 snd_printk("invalid voice for lock %d (state = %x)\n",
933 voice, emu->voices[voice].state);
941 void snd_emux_unlock_voice(struct snd_emux *emu, int voice)
946 if (emu->voices[voice].state == SNDRV_EMUX_ST_LOCKED)
947 emu->voices[voice].state = SNDRV_EMUX_ST_OFF;
949 snd_printk("invalid voice for unlock %d (state = %x)\n",
950 voice, emu->voices[voice].state);