0
0

I want make a equalizer for my mp3 player but i don’t know how make a dspcallback. I must use that to use FSOUND_DSP_Create. Someone can help me please ?
ps: i don’t speak english 😛

  • You must to post comments
0
0

wich language do you program??

Delphi:
[code:da71k52k]
function ADSPCallBack(OriginalBuffer: Pointer; NewBuffer: Pointer; Length, Param: Integer): Pointer; stdcall;
begin
result := NewBuffer; //return your modified buffer
end;
[/code:da71k52k]

then create and activate the callback:
[code:da71k52k]
APOINTER := FSOUND_DSP_Create(@ADSPCallBack, FSOUND_DSP_DEFAULTPRIORITY_USER, 0);
FSOUND_DSP_SetActive(APOINTER , true);

[/code:da71k52k]

i don’t know c/c++ very good but i think it’s something like this
[code:da71k52k]
void * F_CALLBACKAPI ADSPCallBack(void *originalbuffer, void *newbuffer, int length, int param);
{
return newbuffer;
}
[/code:da71k52k]

  • You must to post comments
0
0

I want make 1 graphics EQ (with get_spectrum).
I know use this this fonction (with the pointer on some float) but I don’t how make for can use it… the FX tutorial not help me…

  • You must to post comments
0
0

how I can use FSOUND_DSP_GetSpectrum with the FX event?
I don’t understand good the function FSOUND_FX_Enable.
Thanks for a quick answer.

  • You must to post comments
0
0

there’s a whole tutorial in the doc’s about the FX API (under DX8 FX Support) and how to use it with DSP

  • You must to post comments
0
0

Yes I know but I don’t know how use FSOUND_DSP_GetSpectrum with FSOUND_FX_Enable…
I use FSOUND_SetPaused but I don’t now how use FSOUND_FX_Enable for can use FSOUND_DSP_GetSpectrum for return a pointer of some float (for make a graphics equalizer).
Please anwer me quickly because I must make that for the end of the next week.
thanks.

  • You must to post comments
0
0

It’s ready, I have got succeeded, thanks for all and ++

  • You must to post comments
Showing 6 results
Your Answer

Please first to submit.