DSFXGargle dsfxGargle;
dsfxGargle.dwRateHz = gargle;
dsfxGargle.dwWaveShape = DSFXGARGLE_WAVE_SQUARE;
if (g_pIGargle && g_pSound)
g_pIGargle->SetAllParameters( &dsfxGargle );
Problems with gargle-effect!
I´ve loaded a sound-file and all that basic stuff works, but the application crashes if I try to use gargle effect. I wrote:
If I don´t call SetAllParameters( &dsfxGargle ) then the appliction runs, but it dosen´t work. What´s wrong?
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement