csgo-2018-source/game/client/c_soundscape.h
2021-07-24 21:11:47 -07:00

28 lines
662 B
C++

//========= Copyright © 1996-2005, 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