]> git.baikalelectronics.ru Git - kernel.git/commit
[ALSA] emux midi synthesizer doesn't honor SOFT_PEDAL-release event
authormaximilian attems <max@stro.at>
Fri, 9 May 2008 11:43:09 +0000 (13:43 +0200)
committerTakashi Iwai <tiwai@suse.de>
Tue, 13 May 2008 12:47:43 +0000 (14:47 +0200)
commitfc89dfc81f2a12241b81b1edd6231d1a17c7f945
treece935acdf57873608f1edf82670b8ec4da97140c
parentcc5faa2d20cfcb90cfc2d6f42d09981f4e24edce
[ALSA] emux midi synthesizer doesn't honor SOFT_PEDAL-release event

When the hardware wavetable synthesizer of an Creative SB Audigy or SB
Live! card (with emu10k chip) receives the MIDI SOFT_PEADAL-press event
(?? 67 127) the appropriate voice is attenuted. Unfortunately when the
pedal is released (event ?? 67 0) the voice does not get it's original
volume again.

Boolean MIDI controls should interpret 0..63 as false and 64..127 as true.
Thanks to Clemens Ladisch for review and correction.

Original patch from "Uwe Kraeger" <uwe_debbug@arcor.de>
Submitted to http://bugs.debian.org/474312

Signed-off-by: maximilian attems <max@stro.at>
Cc: uwe_debbug@arcor.de
Cc: Clemens Ladisch <clemens@ladisch.de>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/synth/emux/emux_synth.c