summaryrefslogtreecommitdiff
path: root/sound/synth/emux
diff options
context:
space:
mode:
authorTim <tedon@rogers.com>2005-10-25 11:10:55 +0200
committerJaroslav Kysela <perex@suse.cz>2005-11-04 13:20:13 +0100
commitfc20773329c993ec7d1b2c65618351f057d9d679 (patch)
tree0a3159b9d7017e932dbd976338f29d34d4b9e8ad /sound/synth/emux
parentaa92c4af15224d8a96343286cdcf7c73b2ad3809 (diff)
downloadlinux-3.10-fc20773329c993ec7d1b2c65618351f057d9d679.tar.gz
linux-3.10-fc20773329c993ec7d1b2c65618351f057d9d679.tar.bz2
linux-3.10-fc20773329c993ec7d1b2c65618351f057d9d679.zip
[ALSA] Fix emu10k1 synth problems.
Modules: EMU10K1/EMU10K2 driver,Common EMU synth This patch fixes problems with voices cutting off or not sounding at all. Signed-off-by: Tim <tedon@rogers.com> Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'sound/synth/emux')
-rw-r--r--sound/synth/emux/emux_synth.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/sound/synth/emux/emux_synth.c b/sound/synth/emux/emux_synth.c
index 751bf1272af..bd71b73be65 100644
--- a/sound/synth/emux/emux_synth.c
+++ b/sound/synth/emux/emux_synth.c
@@ -171,7 +171,6 @@ snd_emux_note_off(void *p, int note, int vel, snd_midi_channel_t *chan)
vp = &emu->voices[ch];
if (STATE_IS_PLAYING(vp->state) &&
vp->chan == chan && vp->key == note) {
- vp->time = emu->use_time++;
vp->state = SNDRV_EMUX_ST_RELEASED;
if (vp->ontime == jiffies) {
/* if note-off is sent too shortly after