mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-30 11:41:38 -04:00
[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 <[email protected]> Signed-off-by: Takashi Iwai <[email protected]>
This commit is contained in:
parent
aa92c4af15
commit
fc20773329
2 changed files with 2 additions and 3 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in a new issue