vserver 1.9.5.x5
[linux-2.6.git] / sound / isa / sb / emu8000_callback.c
index 05565f3..1cc4101 100644 (file)
@@ -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);