source-engine/game/client/c_soundscape.h

28 lines
649 B
C
Raw Permalink Normal View History

2020-04-22 16:56:21 +00:00
//========= Copyright Valve Corporation, All rights reserved. ============//
//
// Purpose:
//
// $NoKeywords: $
//=============================================================================//
#ifndef C_SOUNDSCAPE_H
#define C_SOUNDSCAPE_H
#ifdef _WIN32
#pragma once
#endif
class IGameSystem;
struct audioparams_t;
extern IGameSystem *ClientSoundscapeSystem();
// call when audio params may have changed
extern void Soundscape_Update( audioparams_t &audio );
// Called on round restart, otherwise the soundscape system thinks all its
// sounds are still playing when they're not.
void Soundscape_OnStopAllSounds();
#endif // C_SOUNDSCAPE_H