sound distortion

  • Thread starter Thread starter dafis
  • Start date Start date
D

dafis

Guest
Hi guys !

I'm trying to distord the ambient sound in my hl2 mod but I don't find any solution. I have only found a way to add some effects using SetPlayerDSP but I don't find any help about the 2nd parameter (effect) too...

int effect = random->RandomInt( 35, 37 );
CSingleUserRecipientFilter user( this );
enginesound->SetPlayerDSP( user, effect, false );

So, does anybody know how to distord the ambient sound ?

Thank you very much !
 
Back
Top