Well if i understood, i have to do this call:
MyDSPUnit = FSOUND_DSP_Create(&MyDSP_Callback,FSOUND_DSP_DEFAULTPRIORITY_USER+20, 0);
then in the
void * F_CALLBACKAPI MyDSP_Callback(void *originalbuffer, void *newbuffer, int length, int param)
short *myRawData = (short *)newbuffer;
will this schema works? i’ll work with 8bit mono samples, but i’m sure where in the DSP chain put my callback ….. FSOUND_DSP_DEFAULTPRIORITY_USER+20 is a good choice???
For 8bit mono samples a cast to short * is safe? nad ho to get the dimension in byte of new buffer???? 😥
I hope i not disturb u….
Please login first to submit.