Lines Matching defs:voice
82 /* set up each voice parameter */
83 /* at this stage, we don't trigger the voice yet. */
129 /* clear voice position for the next note on this channel */
349 * terminate note - if free flag is true, free the terminated voice
469 * terminate a voice
488 * Modulate the voice
522 * Sets up the voice structure by calculating some values that
717 * voice and channels parameters.
915 void snd_emux_lock_voice(struct snd_emux *emu, int voice)
918 if (emu->voices[voice].state == SNDRV_EMUX_ST_OFF)
919 emu->voices[voice].state = SNDRV_EMUX_ST_LOCKED;
922 "invalid voice for lock %d (state = %x)\n",
923 voice, emu->voices[voice].state);
930 void snd_emux_unlock_voice(struct snd_emux *emu, int voice)
933 if (emu->voices[voice].state == SNDRV_EMUX_ST_LOCKED)
934 emu->voices[voice].state = SNDRV_EMUX_ST_OFF;
937 "invalid voice for unlock %d (state = %x)\n",
938 voice, emu->voices[voice].state);