0
0

hi,
im using visual c++ and try to add some eq fx to a loaded sample.

i tryed it with the fsound fx api tutorial and searched the forum, but nothing works.

maybe someone can help me by giving me some code that plays a sample with some fx.
or ,, what code do i have to add that the code of the tutorial works …

sorry for this , but im a newbie
thanx,, holk

  • You must to post comments
0
0

sorry , i didnt get it …

here is my code ,,,,… :::

FSOUND_SAMPLE *file1 = NULL;

file1 = FSOUND_Sample_Load(FSOUND_UNMANAGED,”wav/3.wav”, FSOUND_NORMAL, 0,0);

int channel, echoid, echoid2;

channel = FSOUND_PlaySoundEx(FSOUND_FREE,file1 ,0, TRUE);

FSOUND_SetPaused(channel,true);

echoid = FSOUND_FX_Enable(FSOUND_SYSTEMCHANNEL, FSOUND_FX_ECHO);
echoid2 = FSOUND_FX_Enable(channel, FSOUND_FX_ECHO);

FSOUND_FX_Enable(channel, FSOUND_FX_FLANGER);

FSOUND_SetPaused(channel, FALSE);

FSOUND_FX_SetEcho(echoid, 80.0f, 70.0f, 100.0f, 100.0f, TRUE);

  • You must to post comments
Showing 1 result
Your Answer

Please first to submit.