void * F_CALLBACKAPI FSOUND_DSPCALLBACK(
void *originalbuffer,
void *newbuffer,
int length,
void *userdata
);
originalbuffer | This is the pointer to the original buffer passed into the first DSP unit. This is useful if you want the clean, original data, and you have been returning new modified buffers for the DSP chain to use. |
newbuffer | This is a pointer to the previous DSP buffer that *it* returned. This buffer that this DSP returns will be passed into the newbuffer parameter of the NEXT unit in the DSP chain. |
length | The length of the buffer provided in SAMPLES, not bytes. |
param | A user data value specified in FSOUND_DSP_Create. |