🎉 Celebrating 25 Years of GameDev.net! 🎉

Not many can claim 25 years on the Internet! Join us in celebrating this milestone. Learn more about our history, and thank you for being a part of our community!

Problems with gargle-effect!

Started by
-1 comments, last by peter86 22 years, 3 months ago
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:
  
DSFXGargle	dsfxGargle;

dsfxGargle.dwRateHz = gargle;
dsfxGargle.dwWaveShape = DSFXGARGLE_WAVE_SQUARE;

if (g_pIGargle && g_pSound)
	g_pIGargle->SetAllParameters( &dsfxGargle );
  
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