Hi every one
Ian told me to implement DSPProc in order to fade while encoding.
It is very simple : a buffer pointer is passed to the DSPProc for it to modify the values before they are sent to the encoder.
But, as it is really simple in C, because C easily deals with pointers, when you try to code it in VB, there is something lacking : pointers
So I tried to implement memory copy calls with Windows API ...
It doesn't work, surely because of time taken, for I may not do anything else than copy a pair of samples from buffer, multiply their value with the actual FadeVol value and then copy them back to the buffer, and iterate through the length of the buffer.
Has anyone got DSPProc working in VB ?
Is there a solution mixing C and VB, if yes, how did you manage to make this work ?
Thank you for any help.