git://git.onelab.eu
/
linux-2.6.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
vserver 1.9.5.x5
[linux-2.6.git]
/
sound
/
isa
/
sb
/
emu8000_callback.c
diff --git
a/sound/isa/sb/emu8000_callback.c
b/sound/isa/sb/emu8000_callback.c
index
05565f3
..
1cc4101
100644
(file)
--- a/
sound/isa/sb/emu8000_callback.c
+++ b/
sound/isa/sb/emu8000_callback.c
@@
-528,6
+528,10
@@
load_fx(snd_emux_t *emu, int type, int mode, const void __user *buf, long len)
emu8000_t *hw;
hw = emu->hw;
+ /* skip header */
+ buf += 16;
+ len -= 16;
+
switch (type) {
case SNDRV_EMU8000_LOAD_CHORUS_FX:
return snd_emu8000_load_chorus_fx(hw, mode, buf, len);