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.
937 void snd_emux_lock_voice(struct snd_emux *emu, int voice)
942 if (emu->voices[voice].state == SNDRV_EMUX_ST_OFF)
943 emu->voices[voice].state = SNDRV_EMUX_ST_LOCKED;
946 "invalid voice for lock %d (state = %x)\n",
947 voice, emu->voices[voice].state);
955 void snd_emux_unlock_voice(struct snd_emux *emu, int voice)
960 if (emu->voices[voice].state == SNDRV_EMUX_ST_LOCKED)
961 emu->voices[voice].state = SNDRV_EMUX_ST_OFF;
964 "invalid voice for unlock %d (state = %x)\n",
965 voice, emu->voices[voice].state);