Team Fortress 2 Source Code as on 22/4/2020
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

27 lines
649 B

  1. //========= Copyright Valve Corporation, All rights reserved. ============//
  2. //
  3. // Purpose:
  4. //
  5. // $NoKeywords: $
  6. //=============================================================================//
  7. #ifndef C_SOUNDSCAPE_H
  8. #define C_SOUNDSCAPE_H
  9. #ifdef _WIN32
  10. #pragma once
  11. #endif
  12. class IGameSystem;
  13. struct audioparams_t;
  14. extern IGameSystem *ClientSoundscapeSystem();
  15. // call when audio params may have changed
  16. extern void Soundscape_Update( audioparams_t &audio );
  17. // Called on round restart, otherwise the soundscape system thinks all its
  18. // sounds are still playing when they're not.
  19. void Soundscape_OnStopAllSounds();
  20. #endif // C_SOUNDSCAPE_H