Hi again,
firstly, thanks for having a look at creating
a way to achieve CallBack functions in DB pro, appreciate it!
I don't understand your cammands in the code snippet
RE:
CALL FUNCTION PTR MyFN2_ptr
MyFN_ptr = GET CALLING FN()
both the above seem to throw errors out, are you just
looking at the logic?
Just a thought, since the CallBack functions are mainly
for Fmod or Bass to do you own DSP stuff on samples, I
suppose you could write it in assembler, load the code
into a memblock with pointers to the DSP buffers at the
start or the end of the code and just index into the
buffers as required to adjust and maniplate the samples,
the memblock buffers are accessible within DB pro so, should
have no trouble I think. I'm also sure this way would work
with Fmod, not sure about Bass only heard of the Bass sound engine since getting DB pro but hey! They both seem to be very similar from what I've read.
Regards Leo