|
From: Jeff W. <jww...@ya...> - 2004-09-29 00:07:24
|
During this past week I started working on drivers for
the Alesis DM5 and I've run into an issue. It happens
when I try to do a Get on one of the patches. The DM5
has five different patch types (so I need five
drivers). The problem is the Get works on all of them
except for one. At first I thought there was a problem
with the driver for that particular patch so I tried
to use my debugger to figure out the problem. But I
couldn't get it to stop at any of my breakpoints.
Finally, I set up breakpoints for a different driver
that works and I worked my way up the call stack. What
I found was in the method
SysexGetDialog.pasteIntoSelectedFrame. The first two
lines in that method are:
if (sysexSize < 20)
return;
pasteIntoSelectedFrame won't do anything if the patch
is less than 20 bytes. The driver that I'm having the
problem with is for the system info patch for the DM5,
which is only 11 bytes long (including the header and
eox byte). Why does pasteIntoSelectedFrame ignore
patches that are less than 20 bytes? Can anyone
suggest a workaround?
Thanks,
Jeff
__________________________________
Do you Yahoo!?
New and Improved Yahoo! Mail - 100MB free storage!
http://promotions.yahoo.com/new_mail
|