Lines Matching defs:voice
83 /* set up each voice parameter */
84 /* at this stage, we don't trigger the voice yet. */
131 /* clear voice position for the next note on this channel */
361 * terminate note - if free flag is true, free the terminated voice
489 * terminate a voice
508 * Modulate the voice
542 * Sets up the voice structure by calculating some values that
737 * voice and channels parameters.
936 void snd_emux_lock_voice(struct snd_emux *emu, int voice)
941 if (emu->voices[voice].state == SNDRV_EMUX_ST_OFF)
942 emu->voices[voice].state = SNDRV_EMUX_ST_LOCKED;
945 "invalid voice for lock %d (state = %x)\n",
946 voice, emu->voices[voice].state);
954 void snd_emux_unlock_voice(struct snd_emux *emu, int voice)
959 if (emu->voices[voice].state == SNDRV_EMUX_ST_LOCKED)
960 emu->voices[voice].state = SNDRV_EMUX_ST_OFF;
963 "invalid voice for unlock %d (state = %x)\n",
964 voice, emu->voices[voice].state);